Soru

Zorluk: KolayServerless and Web Application Hosting

An organization needs to host a containerized background processing application in Azure. The application retrieves items from an Azure Queue Storage queue and processes them. The processing time for a single queue item is consistently 1515 minutes. The architecture team requires that the solution automatically scales based on the number of queue messages, minimizes management effort, and avoids paying for compute resources when the queue is empty. Which Azure compute solution should you recommend?

  1. Azure Container AppsCevap
  2. B
    Azure Functions deployed with a Consumption-based hosting model
  3. C
    Azure Kubernetes Service (AKS)
  4. D
    Azure Spot Virtual Machine Scale Sets

Cevap

Azure Container Apps
Azure Container Apps is the correct recommendation. It is a serverless container hosting service that automatically scales to zero when no messages are in the queue (leveraging KEDA event-driven scaling), manages the underlying infrastructure to minimize administrative overhead, and does not enforce a strict 10-minute timeout limit, allowing the 15-minute executions to complete successfully.

Adım Adım Çözüm

1
Analyze the execution duration constraint.
The background job takes 1515 minutes to process a single item.
This rules out serverless hosting plans that enforce a strict timeout limit below 1515 minutes.
2
Evaluate scale-to-zero and management overhead requirements.
The solution must scale to zero when idle to minimize costs, and minimize administrative overhead.
This rules out full orchestrators like Azure Kubernetes Service (AKS) due to high management overhead, and virtual machines which do not scale to zero automatically based on queue depth.
3
Compare the remaining options to select the optimal service.
Azure Container Apps supports containerized execution, scales to zero using KEDA based on queue length, has minimal management overhead, and supports execution times longer than 1010 minutes.
It fulfills all requirements: serverless scaling, no execution limits, container support, and low management overhead.

Anahtar Kavram

Selecting serverless container compute based on execution timeouts and management overhead
Tahmini Süre:1m 0s
Bu soruyu puanla