Microsoft Certified: Azure Solutions Architect ExpertDesign infrastructure solutionsMedium

A company is designing a new microservices-based application. Each microservice should be independently deployable, scalable, and isolated. The development team prefers using Docker containers. The solution needs to support automatic scaling based on demand and integrate with Azure DevOps for CI/CD. Which Azure compute service is the most appropriate for hosting these microservices?

  1. AAzure Functions
  2. BAzure App Service
  3. CAzure Container Apps
  4. DAzure Virtual Machines
Show answer & explanation

Correct answer: C. Azure Container Apps

Azure Container Apps is specifically designed for hosting microservices and containerized applications. It supports automatic scaling (including scale-to-zero), integrates well with CI/CD pipelines, and provides a fully managed environment for containers, aligning perfectly with the requirements for independent deployment, scalability, and isolation for microservices.

Why the other options are wrong

  • A. Azure Functions is for event-driven serverless functions, not general-purpose microservices, though it can run containers, it lacks the full microservices feature set of ACA.
  • B. Azure App Service can host containers, but Azure Container Apps is purpose-built for microservices and offers more advanced features like Dapr integration and scale-to-zero for containerized microservices.
  • D. Azure Virtual Machines require significant administrative overhead for managing containers and scaling.

Azure Container Apps

A fully managed serverless container service for building and deploying modern apps and microservices at scale.

  • Optimized for microservices.
  • Supports HTTP/HTTPS, TCP, Dapr.
  • Automatic scaling (including scale-to-zero).
  • Integrates with Kubernetes Event-Driven Autoscaling (KEDA).

Memory trick: Container Apps are where microservices 'fit' best.

More Design infrastructure solutions questions