Soru

Zorluk: KolayCreate and Configure Azure Functions

You are planning a serverless processing solution using Azure Functions. You need to configure the hosting plans and execution patterns for your function app. Which of the following statements are correct? (Select TWO)

  1. The Premium plan provides pre-warmed instances to avoid cold-start latency and supports virtual network integration.Cevap
  2. To implement a stateful workflow where multiple functions run in a sequence (function chaining), you should use Durable Functions.Cevap
  3. C
    The Consumption plan should be used if you require a guaranteed continuous execution timeout exceeding 30 minutes.
  4. D
    For stateful sequences, you should implement standard stateless HTTP-triggered functions that directly invoke each other sequentially.

Cevap

The Premium plan provides pre-warmed instances and VNet integration, and Durable Functions should be used to implement stateful workflows such as function chaining.
The Premium plan is correct because it offers pre-warmed instances to eliminate cold start and supports VNet integration. Durable Functions is correct because it is specifically designed to manage state and coordinate workflows like function chaining.

Adım Adım Çözüm

1
Evaluate the execution timeout requirements of the application.
Identify that the Consumption plan is limited to a maximum execution duration of 10 minutes, making it incorrect for 30-minute workloads.
Ensures the correct hosting plan is selected based on workload runtime constraints.
2
Analyze how stateful workflows should be implemented in Azure Functions.
Determine that direct chaining of stateless functions via HTTP triggers is an anti-pattern, whereas Durable Functions provides first-class support for stateful orchestration.
Ensures proper design patterns are followed for sequence processing.
3
Assess the capabilities of the Premium hosting plan.
Verify that the Premium plan offers pre-warmed instances to prevent cold starts and allows virtual network integration.
Confirms the Premium plan satisfies the performance and network isolation requirements.

Anahtar Kavram

Azure Functions hosting plans and stateful orchestration using Durable Functions
Bu soruyu puanla