Soru

Zorluk: OrtaServerless and Web Application Hosting

A digital publishing company is designing a serverless solution to generate quarterly PDF reports for subscribers. The report generation process runs on demand, takes approximately 12 to 15 minutes to compile each document, and requires a custom Linux environment with specific PDF compilation libraries. The workload is highly irregular, and the company wants to ensure that they do not pay for compute resources when no reports are being generated.

Which compute service should you recommend?

  1. Azure Container Apps JobsCevap
  2. B
    Azure Functions on a Consumption plan
  3. C
    Azure Kubernetes Service (AKS) with virtual nodes
  4. D
    Azure App Service (Web App for Containers) on a Dedicated Premium v3 plan

Cevap

Azure Container Apps Jobs
The correct option is Azure Container Apps Jobs because it supports running custom Linux container environments for run-to-completion tasks, scales to zero when no jobs are running to avoid idle costs, and does not have the 10-minute execution limit that affects Azure Functions on a Consumption plan.

Adım Adım Çözüm

1
Analyze the execution duration requirement
The workload runs for 12 to 15 minutes, which rules out options with a strict 10-minute timeout limit.
Establishing execution boundaries is critical for selecting the correct serverless hosting model.
2
Analyze the scaling and cost requirements
The system must scale to zero and incur no costs when idle, which rules out dedicated hosting plans.
Meeting the cost-efficiency constraint requires a serverless billing model.
3
Evaluate operational overhead and dependency requirements
Azure Container Apps Jobs supports custom containers and scales to zero without the operational complexity of managing an AKS cluster.
Choosing the service with the lowest operational overhead that fulfills all technical criteria.

Anahtar Kavram

Azure serverless compute selection based on execution duration, custom dependencies, and cost constraints.
Bu soruyu puanla