Question

Difficulty: EasyContainer-Based Workloads

A logistics company is designing a hosting solution for a new containerized web API. The API is packaged as a single Docker container. The workload must support scaling down to zero instances when idle to minimize costs, and the solution must require the lowest administrative overhead. Which service should you recommend?

  1. Azure Container AppsAnswer
  2. B
    Azure Kubernetes Service (AKS)
  3. C
    Azure Virtual Machines using Spot VMs
  4. D
    Azure Functions on a Consumption plan

Answer

Azure Container Apps
Azure Container Apps is the ideal solution because it provides a serverless platform designed for containerized microservices and APIs. It allows scaling down to zero instances during idle periods to eliminate compute costs, while removing the administrative burden of provisioning and managing clusters or virtual machines.

Step-by-Step Solution

1
Analyze the workload requirements
The application is a single containerized web API that requires request-driven scaling (including scaling to zero) and must be managed with minimal administrative effort.
Understanding the scaling pattern and management constraints helps narrow down the appropriate Azure container hosting options.
2
Evaluate Azure container hosting services against requirements
Azure Container Apps provides serverless container hosting, request-based scaling to zero, and low administrative overhead. Azure Kubernetes Service (AKS) requires cluster management and has high overhead. Azure Virtual Machines with Spot VMs cannot guarantee availability and do not scale to zero natively. Azure Functions introduces execution timeout limitations and code modification overhead.
Comparing the capabilities of each candidate service ensures the selected solution satisfies all design constraints.

Key Concept

Selecting the appropriate Azure container hosting service based on scaling requirements and administrative overhead
Rate this question