Soru

Zorluk: OrtaServerless and Web Application Hosting

A media streaming company is designing a serverless backend solution to transcode user-uploaded video files. The transcoding utility is packaged as a custom Docker container image. The transcoding process is event-driven, triggered by new files arriving in an Azure Blob Storage container. Each transcoding operation takes approximately 15 minutes to complete. The company requires a solution that minimizes administrative overhead, scales automatically, and incurs no costs when no video files are being processed. Which Azure 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 on a Dedicated plan

Cevap

Azure Container Apps Jobs is the recommended service because it runs containerized batch workloads to completion, scales to zero to avoid idle costs, and does not impose the 10-minute timeout constraint found in Azure Functions Consumption plans.
Azure Container Apps Jobs is the ideal option because it is built for run-to-completion, containerized event-driven tasks. It supports custom container images, scales to zero when no executions are triggered, and allows jobs to run for up to 24 hours, comfortably accommodating the 15-minute runtime requirement.

Adım Adım Çözüm

1
Analyze the execution duration requirement.
The transcoding process requires 15 minutes of execution time.
This exceeds the maximum 10-minute execution limit of the Azure Functions Consumption plan, ruling it out.
2
Evaluate cost and scaling requirements.
The solution must scale to zero and incur zero costs when idle.
This eliminates Dedicated App Service plans and Azure Functions Premium plans, both of which require minimum running instances and incur base fees when idle.
3
Analyze containerization and administrative overhead.
The utility is a custom container image and needs minimal management overhead.
Azure Container Apps Jobs is fully managed, supports custom containers, runs containerized tasks to completion (up to 24 hours), and scales to zero, meeting all criteria without the complexity of managing an AKS cluster.

Anahtar Kavram

Selecting serverless hosting options for event-driven, containerized, run-to-completion tasks that exceed standard function timeouts.
Bu soruyu puanla