Microsoft PL-400 Practice Test - Questions Answers, Page 31
List of questions
Question 301

HOTSPOT
You have the following code registered on the OnChange event of the parentcustomerid column on a contact table form. The parentcustomerid field is a lookup which can be an account or a contact record.
Line numbering is provided for information only.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Question 302

A company performs an update to an existing column-bound Power Apps Component Framework (PCF) code component.
You test the changes to the code component in the development environment. You then import the component to the production environment as a part of a managed solution. You observe that the changes to the component are not reflected in the production environment.
You need to ensure that the changes are effective in the production environment.
What should you do?
Question 303

A company designs a Microsoft Dataverse Custom API to encapsulate business logic in it
The Custom API business logic must be encapsulated in a way that does not allow the business logic behavior to be modified or canceled.
You need to set the parameter value of the custom API so it cannot be customized.
Which parameter value should you set?
Question 304

You create a cloud flow to process a list of records using a loop.
You need to determine when to initialize a variable that is used to process the records.
When should you initialize the variable?
Question 305

You are creating a Power Apps app.
The app must retrieve data from an API that requires two-factor authentication.
You need to configure authentication.
Which type of authentication should you implement?
Question 306

DRAG DROP
You need to develop a Power Apps Component Framework (PCF) component for a company.
You must follow Microsoft's application lifecycle management (ALM) process for code components.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Question 307

HOTSPOT
You create a Power Automate flow that retrieves data from the Microsoft Dataverse Account table.
The flow uses only a subset of Account table data.
You need to retrieve the required data.
How should you configure the Dataverse List Rows action? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Question 308

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 in the review screen.
A company requires custom validation when users save form records that use a synchronous plug-in.
If validation fails, a message that explains how to resolve the issue must be displayed on the form to the user.
You need to implement the custom validation.
Solution: Throw an InvalidPluginExecutionException with the message.
Does the solution meet the goal?
Question 309

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 in the review screen.
A company requires custom validation when users save form records that use a synchronous plug-in.
If validation fails, a message that explains how to resolve the issue must be displayed on the form to the user.
You need to implement the custom validation.
Solution: Include the message in the output parameters of the plug-in.
Does the solution meet the goal?
Question 310

DRAG DROP
You have a Microsoft Power Platform solution that includes canvas apps and Power Automate cloud flows. The canvas apps and flows interact with a third-party content management system (CMS). You store the URL for the CMS version (development or production) in an environment variable.
You deploy the solution to a production environment. You observe that the environment variable references the development URL for the CMS. You update the URL value of the variable directly in the production environment.
You need to assess which environment variable value will be used in the following scenarios.
Which versions of the environment variable will the solution use? To answer, drag the appropriate environment variable versions to the correct scenarios. Each environment variable version may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Question