An enterprise plans to migrate a legacy batch processing utility to Azure. The utility is currently packaged as a Linux container. The migrated workload must meet the following requirements:
- It must execute once a day, triggered by a message in an Azure Queue Storage queue.
- Each execution takes between 25 and 45 minutes to complete.
- It must securely access an Azure SQL Database that is restricted to a private endpoint within a virtual network.
- To minimize costs, no compute charges must be incurred when the utility is idle.
- Administrative and infrastructure management overhead must be minimized.
Which Azure compute solution should you recommend?
- An Azure Container Apps job deployed in a custom virtual networkCevap
- BAn Azure Function app deployed to a Consumption plan
- CAn Azure Function app deployed to a Premium plan
- DAn Azure Kubernetes Service (AKS) cluster utilizing virtual nodes
Cevap
An Azure Container Apps job deployed in a custom virtual network
The correct answer is the solution specifying Azure Container Apps jobs. Azure Container Apps jobs are purpose-built for executing containerized tasks that run to completion. They support long-running processes (exceeding the 10-minute serverless function limit), can be triggered by queue messages, support virtual network integration to secure connection to the database private endpoint, and scale down to zero instances when idle, ensuring no compute costs are incurred. This serverless container offering also requires very low administrative overhead.
Adım Adım Çözüm
Anahtar Kavram
Selecting serverless compute hosting options based on execution duration, cost limits, container support, and virtual network connectivity constraints.