Microsoft Certified: Azure Developer Associate (AZ-204)Develop Azure compute solutionsMedium
A company is designing a new microservices application that will be deployed to Azure. Each microservice is stateless and needs to scale independently based on demand. The team wants to use a serverless container platform that handles infrastructure management, integrates with HTTP-based event sources, and supports custom domains. Which Azure compute solution meets these requirements?
- AAzure App Service
- BAzure Container Instances (ACI)
- CAzure Kubernetes Service (AKS)
- DAzure Container Apps
Show answer & explanationAnswer & explanation
Correct answer: D. Azure Container Apps
Azure Container Apps is a purpose-built serverless container service for microservices. It provides automatic scaling, supports event-driven architectures (like HTTP), allows custom domains, and abstracts away Kubernetes infrastructure management, aligning perfectly with the requirements.
Why the other options are wrong
- A. Azure App Service is primarily for web apps and APIs, not designed specifically for serverless microservices orchestrated as containers with event-driven scaling beyond HTTP.
- B. ACI runs single containers but lacks inherent microservices orchestration, event-driven scaling, and custom domain management features.
- C. AKS offers full Kubernetes control but requires managing the cluster and is not considered 'serverless' in the same way Container Apps is, as it involves node management (even if managed control plane).
Azure Container Apps
A serverless platform for building and deploying modern applications and microservices using containers, abstracting away Kubernetes complexities.
- Ideal for microservices and event-driven architectures.
- Built on Kubernetes and Dapr, but fully managed.
- Supports HTTP/HTTPS, custom domains, and KEDA-based scaling.
Memory trick: Container Apps: Serverless microservices, Event-driven scaling, Domain support.