exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 44 discussion

Actual exam question from Microsoft's AZ-204
Question #: 44
Topic #: 2
[All AZ-204 Questions]

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.

  • A. Orchestrator
  • B. Entity
  • C. Client
  • D. Activity
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
serpevi
Highly Voted 2 years, 7 months ago
Got this in 09/22 , went with Orchestrator and Entity, score 927.
upvoted 22 times
ProtossOR89144
10 months, 1 week ago
" 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
upvoted 1 times
...
OPT_001122
2 years, 7 months ago
Thanks for mentioning the exam date in which it was asked.
upvoted 4 times
...
[Removed]
2 years, 3 months ago
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)
upvoted 6 times
...
...
Chief2110
Highly Voted 2 years, 8 months ago
It should be orchestrator, client & activity right?
upvoted 20 times
coffecold
2 years, 7 months ago
yes, see https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-types-features-overview
upvoted 3 times
Tej_007
8 months ago
this link says orchestrator function can only be invoked by a client function. even for testing purpose also it says to create a test client for testing the test orchestrator. so if we are selecting orchestrator, client is also must right?
upvoted 1 times
...
...
Esward
2 years, 3 months ago
orchestrator and activity
upvoted 7 times
JustHereToLearn
2 years, 3 months ago
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
upvoted 3 times
...
TonyMel
2 years, 1 month ago
correct, in 2023Mar24, score: 904/1000
upvoted 5 times
...
...
...
Tej_007
Most Recent 8 months ago
why can't the client function be part of the answer why only orchestrator and activity. some one posted the link below https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-types-features-overview. it clearly says an orchestrator function can only be invoked by a client function. even for testing the orchestrator it says to create a test client function. client is a must if we need to have an orchestrator. isn't it ?
upvoted 1 times
...
At09
10 months, 3 weeks ago
orchestrator and activity
upvoted 1 times
...
FeriAZ
1 year, 2 months ago
Selected Answer: 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.
upvoted 5 times
...
manopeydakon
1 year, 4 months ago
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.
upvoted 2 times
...
Kanasan
1 year, 8 months ago
Selected Answer: 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.
upvoted 5 times
...
Kanasan
1 year, 8 months ago
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.
upvoted 1 times
...
longnguyendh
1 year, 9 months ago
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
upvoted 1 times
...
RayD7
1 year, 11 months ago
Durable functions are out of scope as of 28th April 2023
upvoted 6 times
...
aragones
1 year, 12 months ago
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
upvoted 1 times
...
Raja419
2 years ago
Selected Answer: 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.
upvoted 2 times
...
Saluk_DE
2 years, 1 month ago
Question was in Exam 2023-03-30
upvoted 2 times
...
maqsoodshah
2 years, 1 month ago
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
upvoted 3 times
...
adilkhan
2 years, 1 month ago
A,D chatGPT
upvoted 1 times
DonH
1 year, 10 months ago
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.
upvoted 8 times
CafeLago
8 months, 4 weeks ago
ChatGPT is not a search engine. It can give incorrect answers, but so can you. Nobody trusts answers 100% here. You can ignore ChatGPT answers! Provide your correct answer instead of this rant.
upvoted 1 times
...
...
...
70PineApple
2 years, 2 months ago
Got this in exam today..20/02/23 score: 817
upvoted 2 times
...
Priya0703
2 years, 2 months ago
On exam today 20-02-2023
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago