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

A company is developing a new microservices application. Each microservice is packaged as a Docker container. The application needs to be deployed rapidly to Azure with minimal infrastructure management overhead. The microservices are relatively independent but need to communicate with each other. The company wants to start with a simple, cost-effective solution for running containers without the complexity of a full orchestrator like Kubernetes, but still needs some level of container group management. Which Azure compute solution is most suitable?

  1. AAzure Virtual Machines (VMs)
  2. BAzure Container Instances (ACI)
  3. CAzure App Service (Containers)
  4. DAzure Functions (Custom Handlers)
Show answer & explanation

Correct answer: B. Azure Container Instances (ACI)

Azure Container Instances (ACI) provides a way to run individual Docker containers or small groups of containers in Azure without managing servers. It offers rapid deployment, per-second billing, and can be used for simpler containerized workloads that don't require the full orchestration capabilities of AKS, fitting the 'minimal overhead' and 'simple' requirements for container groups.

Why the other options are wrong

  • A. VMs require manual setup of Docker and orchestration, which is not 'minimal infrastructure management overhead'.
  • C. Azure App Service (Containers) is for hosting web apps/APIs and might be overkill or less flexible for general container group management compared to ACI.
  • D. Azure Functions (Custom Handlers) are for event-driven serverless functions, not for general-purpose container hosting and inter-container communication in a microservices context.

Azure Container Instances (ACI)

A service that enables you to run Docker containers on Azure without provisioning any virtual machines or managing a container orchestration service. It's ideal for simple, burstable, and event-driven workloads.

  • Fast startup times
  • Per-second billing
  • Supports Linux and Windows containers
  • Can run multi-container groups

Memory trick: ACI runs your containers fast, no VMs, costs are low, it lasts.

More Develop Azure compute solutions questions