Soru

Zorluk: KolayServerless and Web Application Hosting

You are designing a serverless background processing solution in Azure. The solution must run a data import job once daily. The job takes approximately 25 minutes to complete. You need to select an Azure Functions hosting option that supports this execution duration while minimizing cost and management overhead. Which hosting plan should you recommend?

  1. Azure Functions Premium planCevap
  2. B
    Azure Functions Consumption plan
  3. C
    Azure Kubernetes Service (AKS) with system node pools
  4. D
    Azure Virtual Machines using Spot instances

Cevap

Azure Functions Premium plan
The Azure Functions Premium plan is the correct choice because it supports a default execution duration of 30 minutes (which can be customized to be unlimited), satisfying the 25-minute requirement. It also offers dynamic scaling and avoids the administrative overhead of managing full virtual machines or Kubernetes clusters.

Adım Adım Çözüm

1
Analyze the execution duration requirement of the background job.
The job requires 25 minutes of continuous execution.
This establishes the minimum execution timeout requirement for the hosting service.
2
Evaluate the execution limits of serverless compute options in Azure.
The Consumption plan limits execution to a maximum of 10 minutes, whereas the Premium plan allows 30 minutes by default and can be configured to run indefinitely.
Choosing the Consumption plan would lead to job failures due to timeouts, so the Premium plan is required for serverless execution.
3
Assess administrative overhead and cost-efficiency requirements.
Kubernetes and dedicated virtual machines introduce high setup and maintenance costs, whereas Azure Functions Premium scales down when idle.
The Premium plan minimizes operational overhead and optimizes costs compared to running dedicated infrastructure.

Anahtar Kavram

Selecting appropriate Azure serverless compute options based on execution timeout and scaling requirements.
Bu soruyu puanla