An architect is evaluating Azure compute options for a web API. The solution must satisfy the following requirements:
- Process incoming HTTP requests that trigger complex calculations lasting up to minutes.
- Establish secure outbound communication to a backend database via a Private Endpoint inside an Azure Virtual Network (VNet).
- Automatically scale down to zero instances during idle periods to eliminate compute charges.
- Minimize administrative and infrastructure management overhead.
Which hosting option should the architect recommend?
- AAzure Functions on a Consumption plan
- BAzure Functions on an Elastic Premium plan
- Azure Functions on a Flex Consumption planCevap
- DAzure Container Apps
Cevap
Azure Functions on a Flex Consumption plan
The hosting option specifying Azure Functions on a Flex Consumption plan is correct. This hosting plan natively supports outbound Virtual Network integration, allowing secure communication to the database private endpoint. It scales to zero instances during inactivity, resulting in zero compute charges, and supports HTTP execution timeouts of up to minutes, satisfying the -minute requirement.
Adım Adım Çözüm
Anahtar Kavram
Selecting the appropriate Azure compute and hosting plan based on execution limits, virtual network integration, and scale-to-zero cost requirements.