You are designing the container compute infrastructure for a new retail analytics platform. The platform includes the following two workloads:
- A message-processing service that reads tasks from an Azure Service Bus queue and must scale dynamically based on the queue depth, including scaling down to zero instances.
- A daily reporting job that aggregates transactional data, runs for up to three hours per execution, and must execute to completion.
You need to recommend a containerized hosting solution for both workloads. The solution must minimize administrative effort.
Which two Azure container hosting options should you recommend?
- Azure Container Apps to host the message-processing serviceCevap
- Azure Container Apps Jobs to host the daily reporting jobCevap
- CAzure Kubernetes Service (AKS) to host both workloads
- DAzure Functions on a Consumption plan to host the daily reporting job
Cevap
Azure Container Apps to host the message-processing service and Azure Container Apps Jobs to host the daily reporting job.
The correct recommendation is to use Azure Container Apps to host the message-processing service and Azure Container Apps Jobs to host the daily reporting job. Azure Container Apps manages event-driven scaling (KEDA) and supports scaling to zero, satisfying the requirements of the message-processing service. Azure Container Apps Jobs provides a serverless execution environment designed for run-to-completion tasks, supporting long-running executions of up to 24 hours, which accommodates the three-hour daily reporting job. Both services are fully managed, meeting the goal of minimizing administrative effort.
Adım Adım Çözüm
Anahtar Kavram
Selecting the optimal Azure container hosting option based on scaling needs, execution duration, and administrative overhead constraints.