How to Improve Performance of Asynchronous Plug-Ins in Dataverse?
Table of Contents
Question
A company has a plug-in that runs asynchronously in the PostOperation stage of a table update.
The plug-in causes a timeout error.
You need to improve the performance of the plug-in.
What should you do?
Select only one answer.
A. Define entity images.
B. Implement retry logic.
C. Enable Application Insights.
D. Change the execution mode to synchronous.
Answer
A. Define entity images.
Explanation
This item tests the candidate’s knowledge of optimizing plug-in performance.
Entity images supply a copy of the row data to the plug-in context without the need to perform API calls to the Microsoft Dataverse table. This improves the performance of the plug-in. Changing the execution mode moves when the plug-in is run and does not change the performance of the plug-in. Application Insights captures telemetry, and although this trace information may help diagnose issues, it does not improve performance. The timeout period within plug-ins is fixed at two minutes and cannot be extended. Adding retry logic will not improve performance or prevent the timeout error.
Microsoft Power Platform Developer PL-400 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Power Platform Developer PL-400 exam and earn Microsoft Power Platform Developer PL-400 certification.