Exam AZ-204 All QuestionsBrowse all questions from this exam
Question 81

You are developing an Azure Durable Function to manage an online ordering process.

The process must call an external API to gather product discount information.

You need to implement the Azure Durable Function.

Which Azure Durable Function types should you use? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

    Correct Answer: A, D

    To implement an Azure Durable Function for managing an online ordering process that involves calling an external API to gather product discount information, you should use the Orchestrator and Activity function types. The Orchestrator function is responsible for defining the control flow and managing the execution of other functions. It coordinates various tasks in a workflow. The Activity function performs a specific task, such as making a network call to the external API to gather product discount information. This setup allows the Orchestrator to call the Activity function, wait for its completion, and then proceed with the rest of the process.

Discussion
serpeviOptions: AB

Got this in 09/22 , went with Orchestrator and Entity, score 927.

OPT_001122

Thanks for mentioning the exam date in which it was asked.

[Removed]

Entity is for storing state which isn't called out as requirement. An activity can return/work with the HTTP req. Like mentioned before this, Dur Func 2.0 supports DurableHttpResponse. (Grats/Great score)

ProtossOR89144

" Like orchestrator functions, entity functions are functions with a special trigger type, entity trigger." - u can not call Entity from Orchestrator... right answer is Orchestrator and Activity

Chief2110Options: AD

It should be orchestrator, client & activity right?

coffecold

yes, see https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-types-features-overview

Esward

orchestrator and activity

JustHereToLearn

Yes I think orchestrator and activity is correct. Activity for this reason "Unlike orchestrator functions, activity functions aren't restricted in the type of work you can do in them. Activity functions are frequently used to make network calls or run CPU intensive operations. An activity function can also return data back to the orchestrator function." Reference: https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-types-features-overview#activity-functions

TonyMel

correct, in 2023Mar24, score: 904/1000

FeriAZOptions: AD

Activity functions are the building blocks of the Durable Function that actually perform the work. They are called by the Orchestrator function. In this scenario, an Activity function would be responsible for calling the external API to gather product discount information. Because Activity functions can perform I/O operations, compute-heavy processing, or call external services, they are well-suited for this task.

RayD7

Durable functions are out of scope as of 28th April 2023

KanasanOptions: AD

A and D: https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-types-features-overview#activity-functions Activity functions are frequently used to make network calls or run CPU intensive operations. An activity function can also return data back to the orchestrator function.

manopeydakonOptions: AD

A and D, To implement an Azure Durable Function for managing an online ordering process that calls an external API to gather product discount information, you should use the following Azure Durable Function types: A. Orchestrator D. Activity Explanation: Orchestrator functions define the control flow and are responsible for calling other functions (activities). Activity functions perform a unit of work, such as calling an external API to gather product discount information. So, the combination of Orchestrator (A) and Activity (D) functions is suitable for this scenario.

Raja419Options: AD

The "Orchestrator" function type is responsible for coordinating the workflow and managing the execution of the "Activity" function type. It receives inputs, calls external APIs, and makes decisions based on the results of the API calls. The "Activity" function type is responsible for performing specific actions or tasks, such as calling an external API to gather product discount information. It receives inputs from the "Orchestrator" function and returns results back to it.

Saluk_DEOptions: AD

Question was in Exam 2023-03-30

maqsoodshahOptions: AD

Correct Answers: A. Orchestrator D. Activity Activity functions Activity functions are the basic unit of work in a durable function orchestration. Activity functions are the functions and tasks that are orchestrated in the process. For example, you might create an orchestrator function to process an order. The tasks involve checking the inventory, charging the customer, and creating a shipment. Each task would be a separate activity function. These activity functions may be executed serially, in parallel, or some combination of both. Entity functions Entity functions define operations for reading and updating small pieces of state. We often refer to these stateful entities as durable entities. Like orchestrator functions, entity functions are functions with a special trigger type, entity trigger. They can also be invoked from client functions or from orchestrator functions https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-types-features-overview

70PineAppleOptions: AD

Got this in exam today..20/02/23 score: 817

Priya0703Options: AD

On exam today 20-02-2023

alexein74Options: AD

A. Orchestrator B. Activity An Azure Durable Function that manages an online ordering process should use the Orchestrator type to control the flow of the process and coordinate the activities that need to be executed. The Orchestrator is the main entry point of the Durable Function and it is responsible for managing the state and the execution of the other functions. Activity functions should be used to perform the external API call to gather product discount information. An activity function is a function that performs a single unit of work and it can be invoked by the Orchestrator.

At09Options: AD

orchestrator and activity

KanasanOptions: AD

A and D: https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-types-features-overview#activity-functions Activity functions are frequently used to make network calls or run CPU intensive operations. An activity function can also return data back to the orchestrator function.

longnguyendhOptions: AD

It should be orchestrator & activity Activity Function: This type of function is responsible for performing individual tasks, such as calling an external API to gather product discount information

aragones

Got this 2023-05-12. My case: case: You need to configure authorization. case: You need to ensure the app does not time out and processes the blob data case study: VanArsdel Inc Canada

adilkhanOptions: AD

A,D chatGPT

Don_H

Again stop with this ChatGPT nonsense respons. ChatGPT is NOT a source rather than a search engine. It can also give incorrect answers. So stating its from ChatGPT doesn't say a thing about it's validity.