nerdexam
MicrosoftMicrosoft

PL-400 · Question #367

PL-400 Question #367: Real Exam Question with Answer & Explanation

The correct answer is B: No. The solution fails to meet the goal because throwing a custom exception in a synchronous plug-in will halt the transaction and display a generic error, not a custom message directly on the form for user resolution.

Submitted by rachelw· Apr 18, 2026

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. A company requires custom validation when users save form records that use a synchronous plug-in. If validation fails, a message that explains how to resolve the issue must be displayed on the form to the user. You need to implement the custom validation. Solution: Throw a custom exception with the message. Does the solution meet the goal?

Options

  • AYes
  • BNo

Explanation

The solution fails to meet the goal because throwing a custom exception in a synchronous plug-in will halt the transaction and display a generic error, not a custom message directly on the form for user resolution.

Common mistakes.

  • A. Throwing a custom exception does not display a user-friendly message on the form; it typically results in a transaction error dialog.

Concept tested. Synchronous plug-in error handling and user feedback

Reference. https://learn.microsoft.com/en-us/power-apps/developer/data-platform/write-plug-in

Community Discussion

No community discussion yet for this question.

Full PL-400 PracticeBrowse All PL-400 Questions