Soru

Zorluk: OrtaServerless and Web Application Hosting

A company is designing a serverless solution to process daily large-scale data exports from an on-premises ERP system. The processing job runs once per day, takes approximately 1515 minutes to complete, and requires a custom Python environment with specific system-level dependencies. The solution must minimize administrative overhead and ensure that compute resources are billed only during the execution of the job. Which Azure compute solution should you recommend?

  1. Azure Container Apps jobs to run the containerized processing scriptCevap
  2. B
    Azure Functions on a Consumption plan running the script as a function
  3. C
    An Azure Kubernetes Service (AKS) cluster to run the job as a Kubernetes CronJob
  4. D
    An Azure Virtual Machine Scale Set utilizing Spot VMs to run the script

Cevap

Azure Container Apps jobs to run the containerized processing script
Azure Container Apps jobs are optimized for run-to-completion tasks, support custom container environments, scale dynamically, and charge only for the execution duration, avoiding the timeout limit of standard consumption functions.

Adım Adım Çözüm

1
Analyze the execution duration and environment requirements
The job takes 1515 minutes, exceeding the 1010-minute limit of some serverless offerings, and requires custom system-level Python dependencies.
This rules out basic Azure Functions Consumption plans due to the timeout limitation.
2
Evaluate the administrative overhead and pricing model requirements
The solution must minimize administrative overhead and only bill for execution time.
This rules out AKS due to management overhead and VM scale sets/App Service plans due to continuous idle costs.
3
Select the optimal serverless option for run-to-completion containerized tasks
Azure Container Apps jobs satisfy the custom environment (via containers), run-to-completion execution without a 1010-minute limit, minimal overhead, and scale-to-zero billing model.
It matches all constraints perfectly.

Anahtar Kavram

Selecting serverless compute services based on execution duration, custom dependencies, and hosting requirements.
Bu soruyu puanla