PL-400 · Question #423
PL-400 Question #423: Real Exam Question with Answer & Explanation
The correct answer is C: Set the HTTP connection timeout value explicitly to limit how long each connection can remain. To prevent a plug-in from timing out when an external web service is slow, the most effective solution is to explicitly set a higher HTTP connection timeout value for the requests made within the plug-in.
Question
A company requires a plug-in that makes multiple requests to an external web service. The plug- in must not time out when the web service has issues or is slow to respond. You need to create the plug-in. What should you do?
Options
- ARegister the plug-in to run synchronously.
- BRegister the plug-in by using isolation mode = none.
- CSet the HTTP connection timeout value explicitly to limit how long each connection can remain
- DRegister the plug-in step once for each web service request.
Explanation
To prevent a plug-in from timing out when an external web service is slow, the most effective solution is to explicitly set a higher HTTP connection timeout value for the requests made within the plug-in.
Common mistakes.
- A. Registering a synchronous plug-in makes it subject to a strict 2-minute timeout, which will likely cause the plug-in itself to time out if the external web service is slow, rather than preventing timeouts.
- B. Registering a plug-in with
isolation mode = noneis unsupported and a security vulnerability in Dataverse, and it does not affect external web service timeouts. - D. Registering plug-in steps defines the trigger points for plug-in execution, not the timeout behavior of HTTP requests made by the plug-in to external web services.
Concept tested. Dataverse plug-in external web service HTTP timeout
Community Discussion
No community discussion yet for this question.