Microsoft Certified: Azure Developer Associate (AZ-204)Develop Azure compute solutionsMedium

A company is migrating a critical on-premises application to Azure. The application consists of several interconnected microservices, each packaged as a Docker container. The company requires robust container orchestration, automatic scaling based on demand, self-healing capabilities, and efficient resource utilization across a cluster of nodes. Which Azure compute solution is the most appropriate for this scenario?

  1. AAzure Virtual Machines (VMs)
  2. BAzure Functions
  3. CAzure Kubernetes Service (AKS)
  4. DAzure Container Instances (ACI)
Show answer & explanation

Correct answer: C. Azure Kubernetes Service (AKS)

AKS is a managed Kubernetes service that provides robust orchestration for containerized applications, offering features like automatic scaling, self-healing, and efficient resource utilization across a cluster, which are essential for complex microservice architectures.

Why the other options are wrong

  • A. VMs provide infrastructure but require manual setup and management of container runtime and orchestration, which is inefficient for microservices and doesn't offer built-in orchestration features.
  • B. Azure Functions are for serverless, event-driven code execution, not for hosting and orchestrating complex, interconnected containerized microservices.
  • D. ACI is suitable for single container deployments or simple tasks, but lacks the advanced orchestration, scaling, and self-healing features required for a complex microservices architecture.

Azure Kubernetes Service (AKS)

A managed container orchestration service that simplifies deploying, managing, and scaling containerized applications using Kubernetes.

  • Handles Kubernetes master node management
  • Supports automatic scaling of worker nodes and pods
  • Integrates with other Azure services like Azure Active Directory and Azure Monitor
  • Ideal for microservices architectures

Memory trick: Kubernetes Orchestrates Containers, ACI just runs one, Functions are event-driven, VMs are bare metal.

More Develop Azure compute solutions questions