New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam PL-400 Topic 3 Question 112 Discussion

Actual exam question for Microsoft's PL-400 exam
Question #: 112
Topic #: 3
[All PL-400 Questions]

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 an InvalidPluginExecutionException with the message.

Does the solution meet the goal?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Gerald
12 days ago
Ah, the good old 'throw an exception and call it a day' approach. Classic, but not necessarily the most user-focused solution, if you ask me.
upvoted 0 times
Angella
3 days ago
User 1: A) Yes
upvoted 0 times
...
...
Jacki
13 days ago
I agree with Latrice, I believe the solution is effective in meeting the goal.
upvoted 0 times
...
Latrice
18 days ago
But the solution clearly states that a message will be displayed on the form to the user if validation fails.
upvoted 0 times
...
Dottie
21 days ago
Throwing an exception? That's so last century! Let's keep up with the times and use some modern UI wizardry to deliver the validation message.
upvoted 0 times
...
Latrice
21 days ago
I disagree, I don't think throwing an exception is the best way to display a message to the user.
upvoted 0 times
...
Kaitlyn
24 days ago
Wait, we're throwing exceptions now? I thought this was supposed to be a simple validation message. How about a nice, friendly pop-up instead?
upvoted 0 times
...
Carmela
25 days ago
Throwing exceptions? Isn't that a bit too technical for the average user? They'll just get confused.
upvoted 0 times
Rikki
10 days ago
User 2: No
upvoted 0 times
...
Margot
12 days ago
User 1: Yes
upvoted 0 times
...
...
Latrice
25 days ago
I think the solution meets the goal.
upvoted 0 times
...
Wayne
27 days ago
Hmm, not sure if that's the best solution. Isn't there a more user-friendly way to handle this?
upvoted 0 times
...
Carlota
1 months ago
Throwing an InvalidPluginExecutionException seems like a solid approach. It'll definitely get the message across to the user.
upvoted 0 times
Precious
9 days ago
B) No
upvoted 0 times
...
Helaine
19 days ago
A) Yes
upvoted 0 times
...
...

Save Cancel