Practice Free PL-400 Exam Online Questions
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?
- A . Yes
- B . No
B
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
Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/configure-form-accept-custom-querystring-parameters
HOTSPOT
You create a Power Apps component framework component.
You need to test the component.
Which option should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

A company uses the Data Export Service (DCS) to refresh their Azure SQL Data Warehouse instance.
The data warehouse is used for historical trend analysis and forecasting.
The refresh process from the Common Data Service (COS! environment lo the data warehouse has errors. Users report that data is missing.
A CDS lest environment that contains DES is available to troubleshoot the import outside of the production environment. You create a new database for testing.
You need to configure the lest environment to point to the new database.
What should you create first lo access the database?
- A . A new secret In Azure Key Vault
- B . A new user in the SQL database
- C . A new export profile in CDS test
- D . A new application registration
A
Explanation:
Because this service requires access to an external Microsoft Azure SQL Database from Dynamics 365 (online), a number of prerequisites must be satisfied before you can successfully access this service including:
Global / Tenant Admin access, or an Azure Key Vault must be provisioned and the setup user must have permissions on Secrets.
Reference: https://blog.crgroup.com/dynamics-365-latest-feature-the-data-export-service/
HOTSPOT
A company has a model-driven app that captures applications from prospective students.
You are asked to create a new re-usable custom component using the Power Apps component framework (PCF).
The custom component must allow entry of a date of birth and validate that the applicant is not a minor.
You create the class AuditDatePicker in the TypeScript file Index.ts and the style sheet DatePicker.css.
You need to define the component to be available only for relevant fields and its properties when used in a form.
How should you complete the manifest? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Box 1: AuditDatePicker
Constructor: Constructor of the code component.
Box 2: DateandTime.DateOnly
Box 3: bound
usage: Has two properties, bound and input. Bound properties are bound only to the value of the field. Input properties are either bound to a field or allow a static value.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/manifest
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/implementing-controls-using-typescript
You need to implement visual hints in the custom connector.
What should you do? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . Extend the Open API definition of the Web API for the EnvironmentName parameter.
- B . In the custom connector, update the description for the Datald parameter.
- C . In the custom connector, update the name of the policy template.
- D . Extend the Open API definition of the Web API for the Datald parameter
DRAG DROP
You need to select the appropriate methods using Azure Event Grid.
Which method should you use for each requirement? To answer, drag the appropriate methods to the correct requirements. Each method 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.

Explanation:
Box 1: Event handler
An event handler is the place where the event is sent. The handler takes some further action to process the event.
Box 2: Event subscription
Event subscriptions – The endpoint or built-in mechanism to route events, sometimes to more than one handler. Subscriptions are also used by handlers to intelligently filter incoming events.
Incorrect Answers:
Events – What happened.
Event sources – Where the event took place.
Reference:
https://docs.microsoft.com/en-us/azure/event-grid/event-handlers
https://docs.microsoft.com/en-us/azure/event-grid/overview
HOTSPOT
You have the following JavaScript function: (Line numbers are included for reference only.)
The Annual Revenue view column is configured to call the function as shown in the Column Properties exhibit. (Click the Change Column Properties tab.)
Users report that the icons that appear in the Active Account view are incorrect, as shown in the Active Accounts View exhibit. (Click the Active Accounts View tab.)
You need to determine why the incorrect icons are being displayed.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Explanation:
Box 1: No
parseFloat will return ‘NaN’ if it’s not a number (null and undefined are NaNs).
Box 2: No
Box 3: Yes
Session.userLCID is the Locale ID for the ASP application.
Box 4: Yes
Reference: https://support.microsoft.com/en-us/help/229690/how-to-set-the-asp-locale-id-per-the-browser-s-language-settings
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: Use the tracing service to log the message.
Does the solution meet the goal?
- A . Yes
- B . No
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets 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 university has implemented Dynamics 365 Customer Engagement. Several departments use opportunity records to bid for funding for projects within their own departments.
Each department’s opportunities are not visible to other departments. However, there are times when two departments need to work together on an opportunity.
You need to configure the security to meet the business requirements.
Solution: Create a security role that has organization-level access to opportunities. Give this security role to all members of the two departments who need access.
Does the solution meet the goal?
- A . Yes
- B . No
B
Explanation:
Instead use access team templates and give access to members in the two departments.
Reference: https://community.dynamics.com/crm/b/crmdevmigrationconfigandcustomization/posts/access-teams-and-access-team-templates
DRAG DROP
You are creating a canvas app for a company. A security role has been created for sales representatives and a second security role has been created for sales managers.
The canvas app has the following requirements:
✑ Sales managers must be able to view the records of the salespeople in their business unit.
✑ Sales managers must be the only people who can view sales probability data in opportunity records.
✑ Sales representatives and new hires assigned to the same territory share access to sales records.
You need to assign permissions for the app.
Which security options should you use? To answer, drag the appropriate security options to the correct scenarios. Each security option 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.

Explanation:
Box 1: Role-based security
Dataverse uses role-based security to group together a collection of privileges. These security roles can be associated directly to users, or they can be associated with Dataverse teams and business units.
Box 2: Field-level security
Sometimes record-level control of access is not adequate for some business scenarios. Dataverse has
a field-level security feature to allow more granular control of security at the field level. Field-level security can be enabled on all custom fields and most system fields.
Box 3: Record-level security
Reference: https://docs.microsoft.com/en-us/power-platform/admin/wp-security-cds