HOTSPOT - You need to analyze and identify the issues that solution checker identifies. What is the missing or bad code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:Suggested Answer:
Box 1: Modify code at line CS102 to select only required columns Reduce the number of columns that are retrieved. Scenario: Error Message: il-specify-column Symptoms - Retrieving all columns can cause: ✑ Performance issues due to the amount of data being retrieved ✑ Unintended plug-in/process execution Guidance - For optimal performance, you should only select the minimum amount of data needed by your application when querying Microsoft Dataverse data. ColumnSet Parameter - When you use the IOrganizationService.Retrieve method set the columnSet parameter to a ColumnSet instance with specified columns. When you use QueryExpression set the ColumnSet property with the required attributes. Box 2: Add the following code at line CS203: request.KeepAlive =false; Scenario: Error message: Il-turn-off-keepalive Symptoms - If a plug-in makes external web requests and is trying to use KeepAlive on a closed connection, the plug-in will ultimately fail to execute the web request. If the plug-in is registered: Synchronously, users may experience: ✑ Unresponsive model-driven apps ✑ Slow client interactions ✑ The browser stops responding Asynchronously, plug-in executions may take an extended period of time before failing. Guidance - In HTTP 1.1, all connections are considered persistent (KeepAlive is true) unless declared otherwise. Due to the fact that plug-ins run in isolation, the Sandbox service translates into them being short-lived executions that generally would not benefit from KeepAlive. To avoid problems with connecting to external services we recommend disabling KeepAlive within plug-ins. This is done by setting KeepAlive to false. Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/best-practices/business-logic/set-keepalive-false-interacting-external-hosts-plugin https://docs.microsoft.com/en-us/powerapps/developer/data-platform/best-practices/work-with-metadata/retrieve-specific-columns-entity-via-query-apis This question is in PL-400 Microsoft Power Platform Developer Exam For getting Microsoft Certified: Power Platform Developer Associate Certificate Disclaimers: The website is not related to, affiliated with, endorsed or authorized by Microsoft. The website does not contain actual questions and answers from Microsoft's Certification Exams. Trademarks, certification & product names are used for reference only and belong to Microsoft.
Please login or Register to submit your answer