Soru

Zorluk: Çok zorServerless and Web Application Hosting

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 1515 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?

  1. A
    Azure Functions on a Consumption plan
  2. B
    Azure Functions on an Elastic Premium plan
  3. Azure Functions on a Flex Consumption planCevap
  4. D
    Azure 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 330330 minutes, satisfying the 1515-minute requirement.

Adım Adım Çözüm

1
Evaluate the execution duration requirement against the candidate hosting options.
The Consumption plan is eliminated due to its 1010-minute execution timeout. Azure Container Apps is eliminated because its HTTP ingress enforces a hard 120120-second timeout limit for direct HTTP requests.
Architectural constraints require support for 1515-minute request durations, which exceeds the limit of these plans.
2
Evaluate network security and cost requirements.
The Elastic Premium plan is eliminated because it requires at least one pre-warmed instance, violating the requirement of scaling down to zero compute charges during idle periods.
The solution must support outbound Virtual Network integration to connect to a private endpoint and scale to zero compute charges.
3
Verify Flex Consumption plan capabilities against all requirements.
Flex Consumption supports outbound Virtual Network integration via subnet delegation, scales to zero instances (incurring zero cost when idle), and has a maximum execution timeout of 330330 minutes (exceeding the 1515-minute requirement).
Flex Consumption combines the network integration of premium hosting plans with the scale-to-zero billing of consumption hosting plans.

Anahtar Kavram

Selecting the appropriate Azure compute and hosting plan based on execution limits, virtual network integration, and scale-to-zero cost requirements.
Bu soruyu puanla