ExamGecko
Home Home / Microsoft / PL-400

Microsoft PL-400 Practice Test - Questions Answers, Page 31

Question list
Search
Search

List of questions

Search

Related questions











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 301
Correct answer: Question 301

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?

A.

Import the PCF code component to the production environment directly from Visual Studio Code by using the pac pcf push instruction.

A.

Import the PCF code component to the production environment directly from Visual Studio Code by using the pac pcf push instruction.

Answers
B.

Publish the form that uses the PCF code component in the production environment.

B.

Publish the form that uses the PCF code component in the production environment.

Answers
C.

Increment the PCF control version property in the manifest.xml file, and then reimport the solution from development to the production environment.

C.

Increment the PCF control version property in the manifest.xml file, and then reimport the solution from development to the production environment.

Answers
D.

Publish the PCF code component in the production environment

D.

Publish the PCF code component in the production environment

Answers
Suggested answer: C

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?

A.

Execute Privilege Name to prv. SdkMessageProcessingStep

A.

Execute Privilege Name to prv. SdkMessageProcessingStep

Answers
B.

Binding Type to Entity

B.

Binding Type to Entity

Answers
C.

Custom Processing Step to None

C.

Custom Processing Step to None

Answers
D.

Enabled for Workflow to No

D.

Enabled for Workflow to No

Answers
Suggested answer: C

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?

A.

after the first use of the variable inside the loop

A.

after the first use of the variable inside the loop

Answers
B.

after the loop

B.

after the loop

Answers
C.

before the loop

C.

before the loop

Answers
D.

before the first use of the variable inside the loop

D.

before the first use of the variable inside the loop

Answers
Suggested answer: C

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?

A.

Server-to-server

A.

Server-to-server

Answers
B.

Basic

B.

Basic

Answers
C.

AP1 key-based

C.

AP1 key-based

Answers
D.

OAuth

D.

OAuth

Answers
Suggested answer: D

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 306
Correct answer: Question 306

Explanation:

Create a code component project.

Implement code component logic.

Create a solution project and add the code component project as a reference.

Build the code component in release mode.


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 307
Correct answer: Question 307

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?

A.

Yes

A.

Yes

Answers
B.

No

B.

No

Answers
Suggested answer: B

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?

A.

Yes

A.

Yes

Answers
B.

No

B.

No

Answers
Suggested answer: B

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 310
Correct answer: Question 310
Total 350 questions
Go to page: of 35