Soru

Zorluk: KolayServerless and Web Application Hosting

An organization is deploying a latency-sensitive public web API using Azure Functions. The API experiences unpredictable traffic spikes but must respond to all requests with minimal delay. The organization wants to use a serverless billing model that scales dynamically while completely avoiding latency spikes caused by cold starts. Which Azure Functions hosting plan should you recommend?

  1. Premium planCevap
  2. B
    Consumption plan
  3. C
    Dedicated plan
  4. D
    Azure Kubernetes Service

Cevap

Premium plan
The Premium plan provides pre-warmed instances that prevent cold starts while still offering dynamic scaling and serverless billing features.

Adım Adım Çözüm

1
Analyze the scaling and latency requirements.
The application requires dynamic auto-scaling to handle unpredictable spikes, but must avoid cold-start latency.
This rules out hosting plans that either suffer from cold starts or do not support event-driven scaling.
2
Evaluate the hosting options against the cold-start constraint.
The Consumption plan is eliminated due to cold starts. The Dedicated plan and Azure Kubernetes Service are eliminated because they lack native serverless scaling behavior or add significant management overhead.
To prevent latency on initial requests, pre-warmed instances are required.
3
Select the plan that combines serverless scaling with pre-warmed instances.
The Premium plan is chosen because it keeps instances warm to avoid cold starts while scaling out dynamically.
The Premium plan is specifically designed for serverless workloads that cannot tolerate cold starts.

Anahtar Kavram

Azure Functions hosting plans features and cold start mitigation
Tahmini Süre:45s
Bu soruyu puanla