exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 1 question 8 discussion

Actual exam question from Microsoft's PL-400
Question #: 8
Topic #: 1
[All PL-400 Questions]

A company plans to create an order processing app. When orders are created, the app will perform complex business logic and integrate with several external systems.
Orders that have a large number of line items may take up to six minutes to complete. Processing for each order must be completed in one operation to avoid leaving records in an incomplete state.
You need to recommend a solution for the company.
What should you recommend?

  • A. an asynchronous workflow that uses a custom workflow activity
  • B. a real-time workflow that uses a custom action
  • C. a webhook that connects to an Azure Function
  • D. an asynchronous plug-in
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
BunkMoreland
Highly Voted 3 years, 1 month ago
Definitely C. Custom actions have a 2 min timeout. This can be implemented using webhook and Azure function where the Azure function uses batch operations Web API which enables transactional operations and can run more than 2 mins https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/execute-batch-operations-using-web-api
upvoted 36 times
...
ViipiinTyagi
Highly Voted 2 years, 11 months ago
Selected Answer: C
C seems correct
upvoted 7 times
...
5f14337
Most Recent 3 weeks, 4 days ago
Selected Answer: D
synchronous plug-ins run in the background and support long-running operations (up to 2 minutes per execution cycle, but can chain/queue for more). Ideal for: Heavy business logic External system integration (e.g., via web services) Error handling and retries Since they execute outside the main transaction, they avoid blocking the UI and won’t timeout like synchronous plug-ins (which have a strict 2-minute timeout limit). You can use batching or queues to handle more complex or multi-stage orders safely.
upvoted 1 times
...
itmaxuser
1 month ago
Selected Answer: D
Asynchronous plug-ins can still be designed to ensure complete processing — just not within the same transaction context as the user action. Asynchronous plug-ins: Run outside the main transaction, so the create operation completes first. Still execute the full logic in one operation and can be designed to ensure no partial writes (e.g., via scoped logic or retry mechanisms). Can handle long-running operations (like 6 mins), and are much better for external system integrations. So, what does "completed in one operation" really mean here? It means the business logic must be completed as a cohesive unit — it doesn’t necessarily mean it must be transactional or synchronous. The key is ensuring no partial data, not that the process must finish before the create completes.
upvoted 1 times
...
pey
6 months, 1 week ago
Selected Answer: A
B and C are less suitable because they both imply real-time processing, which might not be ideal for long-running operations and could potentially impact system performance and user experience. While D, an asynchronous plug-in, could be an alternative but might not provide the same level of flexibility and control over the processing flow as a custom workflow activity.
upvoted 1 times
...
4e8b388
6 months, 3 weeks ago
Selected Answer: D
With plug-ins you can handle complex business logic, integrate with external systems, do synch processing, avoid delays and records are not left in incomplete state. They are native features of the Dynamics 365 and Dataverse, providing seamless integration and execution. Why would you introduce additional layer of complexity and potential points of failure by using webhooks?
upvoted 1 times
4e8b388
6 months, 3 weeks ago
After reconsidering, due to the 2min timeout with plug-ins perhaps webhooks in conjunction with Azure Functions is a better approach.
upvoted 2 times
...
...
NyarukouSAMA
1 year, 1 month ago
Selected Answer: C
Sandbox limitation is 2 minutes, and here said that execution could take up to 6 minutes. So it should be C.
upvoted 1 times
...
omar1988
1 year, 2 months ago
what answer is the right answer ? most of websites saying its a realtime and you guys saying here webhook its really confusing and i dont know how i can pass if this website answering wrong or right
upvoted 5 times
...
MissWangBeHappy
1 year, 7 months ago
ChatGPD said D. C is a possible solution, but not best
upvoted 2 times
MissWangBeHappy
1 year, 7 months ago
ChatGPD changed mind, should C since D may cause delays in processing if there are a large number of line items to process, which could result in incomplete records.
upvoted 2 times
ziggy1117
1 year, 3 months ago
it can never be asynchronous because the requirement said it needs to be done in one operation. asynch means it can be done in many operations running at different times
upvoted 1 times
...
...
...
jkaur
1 year, 8 months ago
C should be correct
upvoted 1 times
...
gmanunta81
1 year, 8 months ago
I checked also in measure up website teh solution is C webhook and azure functions
upvoted 5 times
...
DenisRossi
1 year, 10 months ago
Selected Answer: B
"Processing for each order must be completed in one operation to avoid leaving records in an incomplete state" Real-time workflow action is the only option that will roll back if it fails and avoid leaving record in an incomplete state.
upvoted 3 times
...
ZBG
1 year, 10 months ago
Check out this doc : https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/create-own-actions?view=op-9-1 Have a look on "Watch Out" section. It says no limit for Custom Action in real time workflow. But below that statement there is a tip "long running operations should be run outside of Crm 365". I would go for B but in real life I would push C as much as I can
upvoted 2 times
...
Ameen
1 year, 10 months ago
Selected Answer: C
C is the correct answer
upvoted 1 times
...
Fyrus
1 year, 11 months ago
Selected Answer: C
2 min timeout for plugins, CWA etc... You can go with C by just excluding the other 3 options
upvoted 1 times
...
No_Doubt
2 years ago
Selected Answer: C
Due to the 2 min timeout, answer is C
upvoted 2 times
...
myisafe
2 years, 2 months ago
Selected Answer: B
C looks overkill with azure function. this is power platform exam. not azure.
upvoted 1 times
No_Doubt
2 years ago
A webhook is registered using the plugin registration tool, what's the problem?
upvoted 1 times
...
gmanunta81
1 year, 7 months ago
it is not correct in my opinion
upvoted 1 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