Courseiva
Question 53 of 881
Develop Azure compute solutionsmediumMultiple ChoiceObjective-mapped

AZ-204 Develop Azure compute solutions Practice Question

You are implementing an order processing system using Azure Durable Functions. The function must send notifications to multiple channels (email, SMS, push) in parallel and wait for all to complete before sending a confirmation. Which Durable Functions feature should you utilize?

⚠ Common exam trap

Watch out — candidates often confuse the fan-out/fan-in pattern with simple parallel execution using Entity triggers or assume that retry policies alone can coordinate multiple channels, but only the orchestration trigger with `Task.WhenAll` provides the required synchronization barrier.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Orchestration trigger with fan-out/fan-in pattern

The fan-out/fan-in pattern in Durable Functions allows you to invoke multiple activity functions in parallel (fan-out) and then wait for all of them to complete (fan-in) using `Task.WhenAll`. This is exactly what is needed to send notifications to email, SMS, and push simultaneously and then proceed only after all have finished, making option A correct.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Orchestration trigger with fan-out/fan-in pattern

    Why this is correct

    The Orchestration trigger with a fan-out/fan-in pattern is the ideal choice for an order processing system. This pattern allows an orchestrator function to concurrently invoke multiple activity functions (e.g., inventory check, payment processing, shipping label generation) using `Task.WhenAll` to await their collective completion. After all parallel tasks finish, the orchestrator aggregates their results before proceeding, ensuring efficient and coordinated execution of complex, multi-step workflows.

  • Entity trigger

    Why it's wrong here

    An Entity trigger is designed to interact with Durable Entities, which are stateful, actor-like objects that encapsulate data and operations. While excellent for managing shared state reliably and handling concurrent access, Entity triggers are not primarily intended for orchestrating complex, multi-step workflows that involve initiating multiple parallel tasks and then aggregating their results, which is the core requirement of a fan-out/fan-in pattern.

  • Activity trigger with retry policy

    Why it's wrong here

    An Activity trigger executes a single, atomic unit of work within a Durable Function orchestration. Although a retry policy can be configured to enhance resilience by automatically re-attempting failed operations, an Activity trigger itself does not provide the inherent capability to initiate multiple parallel tasks or to wait for and aggregate results from those concurrent executions, which is fundamental to the fan-out/fan-in pattern.

  • Timer trigger

    Why it's wrong here

    A Timer trigger initiates a function execution on a predefined schedule (e.g., every hour, daily). While suitable for periodic maintenance or batch processing tasks, it lacks the advanced capabilities of Durable Orchestrations to manage state, handle long-running workflows, or coordinate complex patterns like fan-out/fan-in, which are essential for the dynamic, event-driven, and parallel nature of an order processing system.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.