AZ-305 Question 150
Single answerA company is deploying a stateless .NET application that experiences unpredictable usage spikes and wants to run it in containers. They have limited container orchestration expertise and aim to keep management overhead minimal. The application needs to scale automatically and support both Windows and Linux containers without the complexity of managing Kubernetes. Which Azure compute option best meets these requirements?
- A
Deploy the application in Azure Web App for Containers
- B
Deploy the application using Azure Virtual Machine Scale Sets
- C
Set up Azure Kubernetes Service (AKS) for container orchestration
- D
Use Azure Container Instances without additional orchestration
Show answer and explanation
Correct answer: A
Explanation
Azure Web App for Containers simplifies container deployment by combining the benefits of a Platform as a Service (PaaS) with container flexibility. It provides built-in autoscaling, easy deployment, and minimal operational overhead, perfect for developers with limited orchestration skills and unpredictable workloads. See official documentation: https://learn.microsoft.com/azure/app-service/containers
- A. Correct.
Azure Web App for Containers (Option 1) is correct because it offers a fully managed platform for containerized applications, supports automatic scaling out of the box, and requires minimal infrastructure setup or container orchestration knowledge. This aligns well with the organization’s limited orchestration expertise and unpredictable traffic patterns.
- B. Incorrect.
Azure Virtual Machine Scale Sets (Option 2) can automatically scale VMs but requires more management overhead (VM maintenance, OS patching, load balancing configurations) compared to a PaaS solution like Web App for Containers. It's possible to run containers on VMs, but this would add complexity and is not the most efficient option for this scenario.
- C. Incorrect.
Azure Kubernetes Service (Option 3) is a robust container orchestration platform. However, setting up and managing an AKS cluster introduces a steeper learning curve and increased operational overhead compared to a PaaS solution. This is more than what the organization needs, given their simple stateless application and limited container orchestration expertise.
- D. Incorrect.
Azure Container Instances (Option 4) is suitable for running individual containers or batch jobs quickly but does not provide a built-in, automatic scaling framework for production web applications. It lacks some of the scaling and deployment features that a fully managed PaaS solution offers.