PL-400 – Question 61

1
340
⚠️ Retired / Legacy Exam: This exam has been retired or replaced. These practice questions are kept for reference only. Please check the official vendor website for current exam versions before studying.

Question 61

HOTSPOT –
A manufacturing company takes online orders.
The company requires automatic validation of order changes. Requirements are as follows:
✑ If validation is successful, the order is submitted.
✑ If exceptions are encountered, a message must be shown to the customer and the order changes must not be submitted.
You need to set up and deploy a plug-in that encapsulates the rules.
Which options should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Correct Answer:


Box 1: PreValidation –
PreValidation: For the initial operation, this stage will occur before the main system operation.
This provides an opportunity to include logic to cancel the operation before the database transaction.

Box 2: Synchronous –
Ideally, you should only cancel operations using synchronous plug-ins registered in the PreValidation stage.

Box 3: Pre Image –
Box 4: throw new …
When you throw an InvalidPluginExecutionException exception within a synchronous plug-in an error dialog with your message will be displayed to the user.

Reference:
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/event-framework
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/handle-exceptions

Cloud Tech
Cloud Tech is a small, independent team that writes free practice questions for Microsoft Azure, AWS and CompTIA certification exams. We write every question ourselves against the current official exam outline, explain why each option is right or wrong, link to the vendor's documentation, and update or archive sets when an exam changes. Spotted a mistake? Email [email protected].

1 COMMENT