You are designing the serverless compute architecture for a reporting system that consists of two distinct workloads:
* Workload 1: A data processing service that runs in response to file uploads. Each execution takes up to 25 minutes to complete. The service requires access to an Azure Files share.
* Workload 2: A microservice that processes messages from an Azure Service Bus queue. The service must scale down to zero instances when no messages are present in the queue, and must scale out rapidly during peak loads. The application has no existing Kubernetes configuration, and you must minimize operational and infrastructure overhead.
Which two compute configurations should you recommend?
- For Workload 1, deploy an Azure Container Apps Job.Cevap
- For Workload 2, deploy an Azure Container App.Cevap
- CFor Workload 1, deploy an Azure Function on a Consumption plan.
- DFor Workload 2, deploy an Azure Kubernetes Service (AKS) cluster.
- EFor Workload 2, deploy an Azure Kubernetes Service (AKS) cluster configured with virtual nodes.
Cevap
Deploy an Azure Container Apps Job for Workload 1 and an Azure Container App for Workload 2.
The correct architecture uses an Azure Container Apps Job for Workload 1 and an Azure Container App for Workload 2. An Azure Container Apps Job is designed for run-to-completion containerized tasks, supports execution times beyond 10 minutes (up to 24 hours), and supports mounting Azure Files shares. An Azure Container App is designed for microservices, supports scaling to zero based on Service Bus queue length via KEDA, and provides a serverless model that minimizes operational overhead, avoiding the infrastructure management required by Azure Kubernetes Service (AKS).
Adım Adım Çözüm
Anahtar Kavram
Azure serverless and container hosting options require matching workload runtime limits, storage integrations, and scaling requirements to the appropriate service while minimizing operational overhead.