Deal of The Day! 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:

fosojon
3 months ago
How do you solve InvalidPluginExecutionException?
upvoted 1 times
...
Gerald
3 months 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
Salena
2 months ago
User 3: A) Yes
upvoted 0 times
...
Julieta
2 months ago
User 2: B) No
upvoted 0 times
...
Angella
3 months ago
User 1: A) Yes
upvoted 0 times
...
...
Jacki
3 months ago
I agree with Latrice, I believe the solution is effective in meeting the goal.
upvoted 0 times
...
Latrice
4 months 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
4 months 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
4 months 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
4 months 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
4 months ago
Throwing exceptions? Isn't that a bit too technical for the average user? They'll just get confused.
upvoted 0 times
Rikki
3 months ago
User 2: No
upvoted 0 times
...
Margot
3 months ago
User 1: Yes
upvoted 0 times
...
...
Latrice
4 months ago
I think the solution meets the goal.
upvoted 0 times
...
Wayne
4 months 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
4 months ago
Throwing an InvalidPluginExecutionException seems like a solid approach. It'll definitely get the message across to the user.
upvoted 0 times
My
3 months ago
Throwing an InvalidPluginExecutionException seems like a solid approach. It'll definitely get the message across to the user.
upvoted 0 times
...
Precious
3 months ago
B) No
upvoted 0 times
...
Helaine
4 months ago
A) Yes
upvoted 0 times
...
...

Save Cancel