An organization needs to host a containerized background processing application in Azure. The application retrieves items from an Azure Queue Storage queue and processes them. The processing time for a single queue item is consistently minutes. The architecture team requires that the solution automatically scales based on the number of queue messages, minimizes management effort, and avoids paying for compute resources when the queue is empty. Which Azure compute solution should you recommend?
- Azure Container AppsAnswer
- BAzure Functions deployed with a Consumption-based hosting model
- CAzure Kubernetes Service (AKS)
- DAzure Spot Virtual Machine Scale Sets
Answer
Azure Container Apps
Azure Container Apps is the correct recommendation. It is a serverless container hosting service that automatically scales to zero when no messages are in the queue (leveraging KEDA event-driven scaling), manages the underlying infrastructure to minimize administrative overhead, and does not enforce a strict 10-minute timeout limit, allowing the 15-minute executions to complete successfully.
Step-by-Step Solution
Key Concept
Selecting serverless container compute based on execution timeouts and management overhead
Estimated Time:1m 0s