PL-400 · Question #411
PL-400 Question #411: Real Exam Question with Answer & Explanation
The correct answer is B: No. The solution described does not meet the goal. Synchronous plug-ins execute immediately within the context of the transaction and are not ideal for making external HTTP requests, especially if retries are required. If the external REST API is unavailable and you raise an InvalidP
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 on the review screen. You are designing an integration that sends created records from a custom Dataverse table to an exposed REST API. When the REST API is unavailable, you must be able to retry if the response status code is 500. You need to select a solution that meets the requirement. Solution: Register a synchronous plug-in that makes an HTTP request to the REST API. Raise an InvalidPluginExecutionException when the request fails. Does the solution meet the goal?
Options
- AYes
- BNo
Explanation
The solution described does not meet the goal. Synchronous plug-ins execute immediately within the context of the transaction and are not ideal for making external HTTP requests, especially if retries are required. If the external REST API is unavailable and you raise an InvalidPluginExecutionException, the entire transaction will fail, and there won’t be any retry mechanism built into this approach.
Community Discussion
No community discussion yet for this question.