exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 46 discussion

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

You develop Azure Durable Functions to manage vehicle loans.

The loan process includes multiple actions that must be run in a specified order. One of the actions includes a customer credit check process, which may require multiple days to process.

You need to implement Azure Durable Functions for the loan process.

Which Azure Durable Functions type should you use?

  • A. orchestrator
  • B. client
  • C. entity
  • D. activity
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
imanonion
Highly Voted 1 year, 9 months ago
Selected Answer: A
An orchestrator function is the appropriate type of Azure Durable Function to use in this scenario, because it allows you to define the overall flow of the loan process and call other functions or activities as needed. The credit check process can be implemented as a separate activity function, which can be called by the orchestrator function and run in parallel with other actions in the loan process. Entity functions are designed for use cases where you need to perform operations on a shared piece of state in a reliable and atomic way, such as a distributed queue or counter. In this scenario, it does not appear that there is a need to use entity functions. There is no such thing as a "client" function in Azure Durable Functions. "Activity" functions are called by orchestrator functions to perform specific tasks, but the orchestrator function is the one that defines the overall flow of the loan process, so it is the correct answer in this case.
upvoted 27 times
oskx2
7 months, 4 weeks ago
There are client functions, read the doc: https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-types-features-overview#client-functions " The primary way to deliver these messages is by using an orchestrator client binding or an entity client binding from within a client function."
upvoted 4 times
...
surprise0011
1 year, 6 months ago
received 2023-04-17 went given answer, score 926
upvoted 3 times
...
...
ffkraemer
Most Recent 10 months, 1 week ago
Selected Answer: A
The key is "specified order" so A. Orchestrator
upvoted 4 times
...
Saluk_DE
1 year, 7 months ago
Question was in Exam 2023-03-30
upvoted 1 times
...
sarmaria
1 year, 7 months ago
Got this question in the exam on 16/03/2023. Went with proposed solution. Make sure to prepare for case studies. I got city and lights case study.
upvoted 2 times
...
NombreFalso
1 year, 8 months ago
Selected Answer: A
If we can only choose one then A, would also include D if possible
upvoted 3 times
...
Esward
1 year, 9 months ago
Orchestrator https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-sequence?tabs=csharp
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