exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 22 question 7 discussion

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

You need to resolve the address validation API error.
Which method should you use to connect?

  • A. an Azure function triggered by a webhook
  • B. JavaScript code
  • C. a custom connector used in a cloud flow
  • D. a plug-in attached to a custom action called from JavaScript
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Juan0414
2 months, 3 weeks ago
Selected Answer: C
It should be C
upvoted 1 times
...
RavinBrissy
3 months, 3 weeks ago
Selected Answer: C
I go with C, as it's the easiest method. However, you can do with D as well. the plug-in will access the API. I have used this for a payment gateway connection in a portal.
upvoted 1 times
RavinBrissy
3 months, 2 weeks ago
I correct my answer as D. Reason - address validation need to run synchronously (as per previous question). Also you cannot trigger a flow from button in model-driven app (unless you update a flag field in the table to trigger the flow). Yet, the flow will not update the form fields in the app unless you do a form refresh.
upvoted 2 times
RavinBrissy
3 months, 2 weeks ago
Tip : see the JavaScript given in the case study. that is to call an action.
upvoted 1 times
...
...
...
ziggy1117
9 months, 4 weeks ago
Selected Answer: C
C is answer. This I can clearly verify.. i always get CORS issues running an API from a Javascript code or Azure Function. However, if you are able to use Power Automate there is no CORS issue
upvoted 2 times
...
SushiFlango
11 months, 4 weeks ago
man is hard because i can do this with all alternatives. But I go with b because if you use a custom connector you need javascript if you do with action you need javascript to
upvoted 2 times
...
sunnysaru92
11 months, 4 weeks ago
Selected Answer: C
C is correct
upvoted 1 times
...
vrpexamtopics
1 year, 4 months ago
The API must return an error if the address entered cannot be validated. If the API returns an error, the user must contact the candidate to resolve the issue. Also the verification should be triggered by a button. We need an action and a plugin in synchronious mode. Cloud flow is async and cannot return an error back to the user.
upvoted 1 times
mikarus
1 year, 1 month ago
You're wrong in your assumption that cloud flow is async. You can fetch the return value of a cloud flow in JS. See https://medium.com/@furkankaracan/dynamics-365-call-power-automate-flow-from-javascript-26f69f3f9824
upvoted 1 times
...
...
MarioM
1 year, 8 months ago
why not other options?
upvoted 2 times
Vinodds
1 year, 7 months ago
Because it has provided open API definition.
upvoted 1 times
...
Elliot4565
1 year, 8 months ago
I think because it is the simplest to implement, no code.
upvoted 2 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 ...