You are designing a new Azure Function App (V4 runtime) to process messages from an Azure Service Bus queue. The function app must meet the following requirements:
- Connect to the queue using outbound virtual network integration.
- Support individual execution times that can last up to 25 minutes.
- Minimize cold starts by maintaining at least one pre-warmed instance at all times.
- Scale dynamically based on the queue length without manual scaling rule configuration.
Which hosting plan should you select for the Azure Function App?
- AConsumption plan
- Elastic Premium planCevap
- CDedicated (App Service) plan using the Basic (B1) tier
- DDedicated (App Service) plan using the Standard (S1) tier with Always On enabled
Cevap
Elastic Premium plan
The Elastic Premium plan is the correct choice because it natively supports virtual network integration, has a default execution timeout of 30 minutes (which can be configured to run indefinitely), provides pre-warmed instances to eliminate cold starts, and utilizes the Azure Functions scale controller to dynamically scale instances based on Service Bus queue length.
Adım Adım Çözüm
Anahtar Kavram
Azure Functions hosting plan comparison, including execution limits, networking features, and scaling behaviors.
Tahmini Süre:2m 0s