An energy provider needs to execute custom Python code whenever a wind turbine telemetry event is received. The execution must occur on-demand, scale dynamically to handle thousands of concurrent events, and incur no costs when the code is not running. Which service and hosting plan combination meets these requirements?
- AAzure Logic Apps on the Standard plan
- BAzure Functions on a Dedicated (App Service) plan
- Azure Functions on the Consumption planCevap
- DAzure Virtual Machines with auto-scaling enabled
Cevap
Azure Functions on the Consumption plan
The correct answer is Azure Functions on the Consumption plan. Azure Functions is Azure's serverless compute service designed for executing custom code blocks (such as Python) on-demand. When hosted on the Consumption plan, it automatically scales compute resources to meet load and dynamically scales down to zero instances when idle, meaning the user is billed only for active execution time.
Adım Adım Çözüm
Anahtar Kavram
Azure serverless compute options and hosting plans
Tahmini Süre:1m 0s