AZ-204 · Question #359
Which of the following best describes the role of the Orchestrator function in a workflow?
The correct answer is C. It's used for describing how actions are executed and the order in which actions are executed. The Orchestrator function in Durable Functions is responsible for defining and coordinating the workflow logic by sequencing activity functions and managing state.
Question
Options
- AIt's used as the basic unit of work (actions and tasksin a durable function orchestration.
- BIt's the entry point for creating an instance of a Durable Functions orchestration.
- CIt's used for describing how actions are executed and the order in which actions are executed.
How the community answered
(24 responses)- A13% (3)
- B4% (1)
- C83% (20)
Why each option
The Orchestrator function in Durable Functions is responsible for defining and coordinating the workflow logic by sequencing activity functions and managing state.
Activity functions, not orchestrator functions, are the basic units of work (tasks) that perform specific actions in an orchestration.
The client function (or starter function), not the orchestrator function, is the entry point for starting a Durable Functions orchestration.
An Orchestrator function in Durable Functions defines the workflow, orchestrating activity functions and other orchestrators to execute actions in a specific order and handle state management. It describes the sequence of steps and how they interact to form a complex process.
Concept tested: Durable Functions orchestrator role
Source: https://learn.microsoft.com/azure/azure-functions/durable/durable-functions-overview?tabs=in-process%2Cnodejs-memory%2Cdurable-by-extension&pivots=programming-language-csharp#orchestrator-functions
Topics
Community Discussion
No community discussion yet for this question.