Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free Microsoft Power Platform Developer PL-400 Exam Questions

Page: 1 / 27 Total 392 questions

Want more questions? Get Premium Access.

Question 1

You need to add the script for the registration form event handling.

Which code segment should you use?

Correct Answer: B. formContext.data.addOnLoad(myFunction)
Explanation:

Scenario: Information about upcoming tournaments must be pre-located into the registration form when the registration form loads.

addOnLoad adds event handlers to the Subgrid OnLoad event event.


https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/grids/gridcontrol/addonload

Question 2

You are testing security in a model-driven app. The business unit structure in the environment consists of a top-level business unit with three business units, named BusA, BusB, and BusC directly under it.

BusA users must be able to view records in only their business unit.

You observe that BusA users have security roles from BusB and BusC assigned to them. The BusA users can view records in those business units. All security role privileges are set to the Business Unit level.

You need to correct the problem with record access.

Which two actions should you perform? Each correct answer presents part of the solution. Choose two.

NOTE: Each correct selection is worth one point.

Correct Answer: B. Turn off the feature that controls record ownership across business units.; C. Ensure security role privileges are set to User level.

Question 3

You develop a model-driven app to include a form containing several columns. Two groups of users, named Group1 and Group2, will access the form.

A column contains sensitive data that should not be read by Group2. Groupl must be able to access the column.

You need to prevent Group2 users from viewing the sensitive data.

What should you do?

Correct Answer: A. Create a field-level security profile for Group! users to grant the users access to the column.

Question 4

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 once 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.

You are developing a model-driven app for a company.

When you create a new Account record, you must automatically display a form to collect data that is needed to create a Contact record. The form must switch to the appropriate form layout based on the contact type.

You open the Contact form by using JavaScript. You pass the contact type information to the form by using the Xrm.Navigation.openForm function. An OnLoad event handler in the Contact form processes the data and shows only the appropriate sections of the form for the given contact type.

You need to configure the receiving form to accept the data parameter.

Solution: In the form editor, add a web resource that sets formContext.data.attributes.

Does the solution meet the goal?

Correct Answer: B. No
Explanation:

By default, model-driven apps allows a specified set of query string parameters to be passed to a form. You use these parameters to set default values when you create a new record in the application. Each parameter must use a standard naming convention that includes a reference to the column logical name.

There are two ways to specify which query string parameters will be accepted by the form:

Edit form properties

Edit form XML


https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/configure-form-accept-custom-querystring-parameters

Question 5

A company has a model-driven app that uses Microsoft Dataverse.

"he company requires a web application that retrieves information from the model-driven app. The requirements for the web application include:

* Must be a single-page web application that uses the Web API.

* Must display the correct company information.

* Must authenticate using OAuth without additional verification.

You need to configure the web application. Which two methods should you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

Correct Answer: D. Microsoft Authentication Library (MSAL); E. Microsoft Azure Active Directory Authentication Libraries (ADAL)

Question 6

A company plans to replicate a Dynamics 365 Sales database into an Azure SQL Database instance for reporting purposes. The data Export Service solution has been installed.

You need to configure the Data service.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Correct Answer: B. Create an export profile that specifies all the entities that must be replicated.; D. Enable change tracking for all entities that must be replicated to Azure SQL Database.; E. Create an Azure SQL Database service in the same tenant as the Dynamics 365 Sales environment.

Question 7

A travel company plans to track the address of places their clients visit in an entity named Destination. Client

information is captured as contact records. Client records include links to the places that clients visit.

The company must be able to link multiple rating records to the new address record.

You find a custom Rating entity that is incomplete.

You need to expand the Rating entity to include contact, address, and rating information in one place.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Correct Answer: A. Create a 1:N relationship between the Contact system entity and the Address system entity named Destination.; C. Create a 1:N relationship between the Address system entity and the Rating entity.; E. Create a mapping for the Destination -- Rating relationship.

Question 8

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?

Correct Answer: C. Custom Processing Step to None

Question 9

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 develops a new custom connector for a Microsoft Entra ID-protected Azure Function that was created as a single tenant a pp.

The custom connector must be moved to a production environment. The connector must be visible and accessible only to users in the tenant.

You need to deploy the custom connector.

Solution: Use Postman to export the custom connector. Then use Postman to import the connector into the production environment.

Does the solution meet the goal?

Correct Answer: B. No

Question 10

You need to handle errors in UpdateRecord.js.

Which code segment should you add at line UR06?

Correct Answer: A. catch(error) { alert('Caught error: ' + error.message);}

Question 11

A financial services company uses the Common Data Service (CDS) to develop solutions. The company uses development and production instances.

You need to move solutions from the development instance to the production instance.

What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Correct Answer: A. In the development instance, make changes to the solutions that are deployed in the production instance, export the solutions as managed solutions, and import the managed solutions into the production instance.; B. In the development instance, highlight the solution you want to make changes to, select Clone a Patch, make changes, export the solution, and import the solution into the production instance.
Explanation:

A: When you import a managed solution, all component changes will be brought into the environment in a published state.

B: You can apply patches to either managed or unmanaged solutions and include only changes to entities and related entity assets. Patches do not contain any non-customized system components or relationships that it dependents upon because these components already exist in the deployed-to organization. At some point in your development cycle, you can roll up all the patches into a new solution version to replace the original solution that the patches were created from.


https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/import-update-export-solutions

https://docs.microsoft.com/en-us/power-platform/alm/create-patches-simplify-solution-updates

Question 12

You are developing custom pages for a model-driven app.

The app must display a timer control within a menu and include a mixture of buttons and icons. If a change is made to any of these elements, then the changes must cascade out automatically to all custom pages.

You need to implement a solution.

What should you implement?

Correct Answer: C. Canvas component

Question 13

You need to ensure that Adventure Works Cycles can track information from visitors to bike fairs.

What should you create?

Correct Answer: A. a Power Automate flow that connects with the bike fair Power Apps app to create a lead in Dynamics 365 Sales
Explanation:

Scenario:

Qualified leads must be collected from local bike fairs.

Adventure Works Cycles uses a Power Apps app for local bike fairs to attract new customers.

By using a Dynamics 365 connector, you can create flows that initiate when an event occurs in Dynamics 365,

or some other service, which then performs an action in Dynamics 365, or some other service.

In Power Automate, you can set up automated workflows between your favorite apps and services to

synchronize files, get notifications, collect data, and more.


https://docs.microsoft.com/en-us/power-automate/connection-dynamics365

Question 14

You are creating an integration that uses an Azure function to create records in the Common Data Service when leads are submitted from your company website.

You create and configure a Common Data Service application user.

You do not have administrator access to the Common Data Service environment you are using for access to Azure Active Directory. Company policy dictates that service accounts must be used for integrations, and integrations must not be granted privileges beyond what is needed.

You need to recommend actions that an administrator should perform to configure access for the Azure Function.

Which three actions should you perform? Each correct selection presents part of the solution.

NOTE: Each correct selection is worth one point.

Correct Answer: A. Create an application registration in Azure Active Directory.; D. Create a new security role with the minimum required permissions and assign to the application user.; E. Grant the application delegated permissions to the Dynamics CRM API in Azure Active Directory.

Question 15

You develop and deploy a Power Apps solution.

The following changes must be made to the solution:

* Delete a column of data.

* Modify several views.

* Add several charts to dashboards.

You need to re-deploy the app. What should you do?

Correct Answer: A. Update the solution.