A logistics company is designing an event-driven processing workflow for shipping manifests uploaded to Azure Blob Storage. Each manifest triggers a processing task that parses the file, cross-references international customs databases, and generates a compliance report. The task takes approximately 12 minutes to complete and runs sporadically throughout the day. You need to recommend a serverless compute option that supports this execution duration while minimizing costs by scaling to zero instances when no manifests are being processed. Which solution should you recommend?
- An Azure Container Apps jobAnswer
- BAn Azure Function hosted on a Consumption plan
- CAn Azure Kubernetes Service (AKS) cluster using virtual nodes
- DAn Azure Virtual Machine Scale Set utilizing Spot virtual machines
Answer
An Azure Container Apps job
The correct answer is the option specifying an Azure Container Apps job. This service is designed for run-to-completion, event-driven tasks that can execute for hours. It scales down to zero instances when idle, ensuring that costs are minimized, while avoiding the operational overhead associated with managing a full Kubernetes cluster.
Step-by-Step Solution
Key Concept
Selecting serverless compute services based on execution duration limits, operational overhead, and scale-to-zero requirements.
Estimated Time:1m 30s