Practice Free PL-400 Exam Online Questions
You need to add the script for the registration form event handling.
Which code segment should you use?
- A . formContext.data.entity.addOnSave(myFunction)
- B . formContext.data.addOnLoad(myFunction)
- C . formContext.data.removeOnLoad(myFunction)
- D . addOnPreProcessStatusChange
- E . formContext.data.isValid()
B
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.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/grids/gridcontrol/addonload
DRAG DROP
You need to configure a custom connector for the claim submission portal API.
Which three 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.


You are developing a model-driven app. The app uses data from two custom tables. The tables have a parent-child relationship. The parent record form contains a subgrid that displays the child records.
When creating a new child record from the parent form, data must automatically populate in the child record form to reduce data input errors.
You need to implement the solution.
What should you do?
- A . Use a Power Automate flow to read data from the parent record and update the child record upon creation.
- B . Map table columns from the parent record to the child record.
- C . Create a business rule that sets the default values on the child record fields to values from the parent record.
- D . Include a quick view form on the child record showing the data from the parent record.
B
Explanation:
A subgrid exists within a main form and let app users view data within a Dataverse table, typically related to the record currently being reviewed.
Reference: https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/sub-grid-properties-legacy
HOTSPOT
A company has a Common Data Service (CDS) environment.
The following conditions must apply when accounts are reassigned:
✑ Ownership for completed tasks that are associated with the account must not change.
✑ Outstanding tasks must be reassigned to the new owner of the account.
You need to configure the relationship to meet the requirements.
Which settings should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Box 1: Referential, Restrict Delete
Restrict: Prevent the Referenced table record from being deleted when referencing tables exist.
Box 2: Cascade User Owned
Cascade User Owned: perform the action on all referencing table records owned by the same user as the referenced table record.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/configure-entity-relationship-cascading-behavior
You are creating a canvas app that realtors use to identify neighbors for properties that are for sale.
The OnStart property includes the following code:
![]()
The app is running slower than expected.
You need to resolve the issue.
What should you do?
A)
![]()
B)
![]()
C)
![]()
- A . Option A
- B . Option B
- C . Option C
HOTSPOT
You are developing a Web API for a company.
You need to implement the appropriate operations to meet the company’s requirements.
What should you implement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Box 1: Functions
Box 2: Actions
Box 3: Complex types
Complex types are keyless named structured types consisting of a set of properties. Complex types are commonly used as property values in model entities, or as parameters or return values for operations.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/web-api-types-operations#complex-types
DRAG DROP
A company plans to deploy an Azure Function that connects to Dataverse on a defined schedule to bulk-update Account data.
Corporate policy discourages password-based authentication if other viable options exist.
You need to implement the function app.
Which three 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.


You are creating a model-driven app.
A JavaScript function must be manually initiated by the user from within an entity form.
You need to add a button to the form to run the JavaScript.
What should you do?
- A . Use the Ribbon Workbench.
- B . Edit the SiteMap.
- C . Edit the XML for the form.
- D . Edit ISV.Config.
- E . Export the ribbon definitions.
A
Explanation:
How to add JavaScript to existing button in Ribbon WorkBench.
Open Ribbon workbench and Right click on Assign button from Account form and click on Customize Button. Add Enable rule and call Javascript function.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-commands-ribbon
You are creating a model-driven app.
A JavaScript function must be manually initiated by the user from within an entity form.
You need to add a button to the form to run the JavaScript.
What should you do?
- A . Use the Ribbon Workbench.
- B . Edit the SiteMap.
- C . Edit the XML for the form.
- D . Edit ISV.Config.
- E . Export the ribbon definitions.
A
Explanation:
How to add JavaScript to existing button in Ribbon WorkBench.
Open Ribbon workbench and Right click on Assign button from Account form and click on Customize Button. Add Enable rule and call Javascript function.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-commands-ribbon
DRAG DROP
A company is developing a Microsoft Dataverse plug-in. The plug-in must create a follow-up task for a new account
You add the code that receives context (IPIuginExecutionContext) and service (IOrganizationService). You need to create the remaining code to insert the follow-up task.
Which three code blocks should you use in sequence? To answer, move the appropriate code sequences from the list of sequences to the answer area and arrange them in the correct order.


