Question

Difficulty: MediumServerless and Web Application Hosting

A logistics company is designing an event-driven system to generate end-of-day shipping manifests. The generation process reads transaction logs, formats reports, and takes between 12 and 18 minutes to complete per run. The process is triggered by a scheduler message in an Azure Service Bus queue. The company requires a compute solution that minimizes operational overhead and incurs costs only when executing. Which compute option should you recommend?

  1. Azure Container Apps JobsAnswer
  2. B
    Azure Functions on a Consumption plan
  3. C
    Azure Kubernetes Service (AKS)
  4. D
    Azure Functions on a Dedicated (App Service) plan

Answer

Azure Container Apps Jobs
Azure Container Apps Jobs are designed specifically for tasks that run to completion, support executions up to 24 hours, scale to zero when idle, and run as serverless resources with minimal operational overhead.

Step-by-Step Solution

1
Analyze the execution duration requirement.
The workload runs for 12 to 18 minutes, which exceeds the 10-minute maximum execution timeout limit of the Azure Functions Consumption plan.
This rules out standard consumption-based Azure Functions.
2
Evaluate the cost and scaling requirements.
The solution must scale to zero and incur costs only during execution. Dedicated hosting plans are billed continuously and do not meet this constraint.
This rules out App Service plans and Dedicated Function plans.
3
Assess the operational overhead constraints.
Azure Container Apps Jobs manage container orchestration automatically and support long-running event-driven tasks, whereas Azure Kubernetes Service (AKS) requires managing nodes, clusters, and complex configurations.
This identifies Azure Container Apps Jobs as the option that minimizes operational overhead while meeting all timeout and cost requirements.

Key Concept

Selecting serverless compute hosting options based on execution timeout, scaling characteristics, and operational overhead constraints.
Estimated Time:1m 30s
Rate this question