exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 22 question 8 discussion

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

HOTSPOT -
You need to correct the JavaScript code that communicates with the address verification API.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

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
vrpexamtopics
Highly Voted 1 year, 4 months ago
There are several related questions and all poiting to an action + a plugin for address validation. So answer is: No - should be changed to contoso_ValidateAddressRequest Yes - it's obvious Yes - server call from a plugin will fix the Origin issue
upvoted 14 times
Juan0414
2 months, 3 weeks ago
I think I agree with this
upvoted 1 times
...
...
Flatternschuchtern
Highly Voted 1 year, 8 months ago
1) Yes 2) Yes, if the action rethrows it into InvalidPluginExecutionException 3) No
upvoted 10 times
Vinodds
1 year, 7 months ago
For 2nd I will say no. Because we are not aware of plugin code. It can also show plugin internal error.
upvoted 2 times
Pipifot
1 year, 7 months ago
True,but question says " You can use this line to display an error message". truth is you can indeed use this line to display an error message. So answer is Yes
upvoted 2 times
...
...
...
RavinBrissy
Most Recent 3 months, 2 weeks ago
No No - this will get the error of Action execution (not the API call in the plugin) YES
upvoted 1 times
...
1285cc6
3 months, 2 weeks ago
N N N. the catch is for errors in the client call, not from the address verification api.
upvoted 1 times
...
Gopher2
8 months, 1 week ago
2) NO, because this is an asynchronous call
upvoted 1 times
HiJaak
8 months, 1 week ago
Why 2 is an asyncronous call? - "The address verification process provides a response almost immediately on screen." So 2 should be YES.
upvoted 2 times
...
...
lezzles11
9 months, 2 weeks ago
1. No should be xrm.webapi.online.execute(contoso_validateAddress) https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/execute 2. Yes 3. No
upvoted 4 times
...
alevalli9
1 year, 2 months ago
I agree with people sayng No, Yes, No. Provided answers are correct.
upvoted 2 times
...
MarioM
1 year, 5 months ago
1-N 2-Y 3-N
upvoted 6 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 ...