An organization is designing a serverless backend solution to process data analysis batches. Each batch job takes up to 25 minutes to complete. The solution must auto-scale to meet demand, minimize cost when idle, and require minimal management overhead.
Which two Azure compute options should you recommend for hosting the batch jobs?
- Azure Functions on a Premium planAnswer
- Azure Container Apps jobsAnswer
- CAzure Functions on a Consumption plan
- DAzure Kubernetes Service (AKS)
Answer
Azure Functions on a Premium plan and Azure Container Apps jobs are the recommended choices.
The correct options are Azure Functions on a Premium plan and Azure Container Apps jobs. Azure Functions on a Premium plan allows execution times up to 30 minutes (and can be configured to be unbounded) and scales dynamically, avoiding the strict 10-minute timeout limit of the Consumption plan. Azure Container Apps jobs are built specifically for processing containerized, run-to-completion batch tasks without a strict 10-minute timeout constraint, scaling to zero when no jobs are running. Both options offer a serverless model that minimizes management overhead and cost when idle.
Step-by-Step Solution
Key Concept
Selecting serverless hosting options based on execution duration limits, scaling behavior, and operational overhead.
Estimated Time:2m 0s