1.1 Implement containerized solutions
1.You are designing a solution using Azure Container Apps. The application requires mutual TLS (mTLS) for encryption between services, distributed tracing, and state management abstraction. You want to minimize the code required to handle these cross-cutting concerns. What should you enable in your configuration?
- A.Azure Service Fabric Mesh
- B.Distributed Application Runtime (Dapr)
- C.Azure Application Gateway Ingress Controller
- D.Open Service Mesh (OSM)
Show answer & explanation
Correct answer: B — Distributed Application Runtime (Dapr)
- A. Incorrect. Azure Service Fabric Mesh was a managed microservices platform that is now effectively retired. It is not an integrated feature of Azure Container Apps and does not provide the specific building blocks for mTLS, distributed tracing, and state management abstraction.
- B. Correct. Distributed Application Runtime (Dapr) is a portable, event-driven runtime that simplifies building microservice applications. It provides functionalities as 'building blocks' through sidecars, including service-to-service invocation with mTLS, state management, and distributed tracing. Azure Container Apps has first-class, built-in support for Dapr, allowing you to enable these features through configuration, which directly meets the requirement to handle these cross-cutting concerns with minimal code.
- C. Incorrect. The Azure Application Gateway Ingress Controller (AGIC) is a tool specifically for Azure Kubernetes Service (AKS) that manages external ingress traffic. Its purpose is to handle Layer 7 routing and load balancing for traffic entering the cluster, not to provide internal service-to-service communication features like mTLS, distributed tracing, or state management.
- D. Incorrect. While Open Service Mesh (OSM) is a service mesh for Kubernetes that can provide features like mTLS and observability, it does not offer the same high-level, application-focused building blocks as Dapr for concerns like state management or pub/sub. Dapr is the more comprehensive and deeply integrated solution within Azure Container Apps to address all the specified requirements.