Question

Difficulty: MediumContainer-Based Workloads

A logistics enterprise is designing a containerized system to process real-time shipping telemetry data. The system must meet the following requirements:

* Host containerized microservices that process messages from an Azure Service Bus queue.
* Scale compute instances dynamically down to zero when no messages are in the queue.
* Support long-running background tasks that run continuously for up to 20 minutes to aggregate data.
* Minimize administrative and operational overhead, as the development team has no experience managing container orchestrators.
* Ensure high availability for steady-state production workloads without the risk of infrastructure eviction.

Which Azure compute service should you recommend to host this containerized system?

  1. Azure Container AppsAnswer
  2. B
    Azure Kubernetes Service (AKS)
  3. C
    Azure Functions on a Consumption plan
  4. D
    Azure Spot Virtual Machine Scale Sets

Answer

Azure Container Apps
Azure Container Apps is a serverless container platform that allows hosting microservices and background tasks without the operational burden of managing Kubernetes infrastructure. It natively supports scaling to zero based on event queues (using KEDA) and allows background workloads to execute beyond 10 minutes, making it the ideal solution for this scenario.

Step-by-Step Solution

1
Evaluate the management and operational overhead constraints.
The requirement to minimize administrative overhead and the team's lack of container orchestration experience rules out solutions like Azure Kubernetes Service (AKS) which require manual cluster and infrastructure management.
Managed serverless offerings are preferred when team expertise in Kubernetes is low and operational overhead must be minimized.
2
Assess scaling and execution duration limits.
The workload must scale to zero when idle but requires up to 20 minutes of continuous execution for background aggregation.
This rules out Azure Functions on a Consumption plan because it enforces a hard 10-minute execution timeout limit.
3
Verify eviction and availability requirements.
Steady-state production workloads requiring high availability cannot use Spot instances.
This rules out Azure Spot Virtual Machine Scale Sets due to their interruptible nature and potential for sudden eviction.

Key Concept

Selecting Azure container compute services based on operational overhead, scaling, and execution duration requirements.
Estimated Time:1m 30s
Rate this question