Practice Free PL-400 Exam Online Questions
DRAG DROP
Five high schools test a custom app from AppSource. They provide feedback that the Course credit entity should include additional fields that cover information shared by the schools.
You do not have access to each high school organization.
Each high school administrator must be able to apply the updates to the Course credit entity.
You need to deliver a custom program that creates the additional fields.
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.

Explanation:
Step 1: Call the login logic.
Step 2: Retrieve the Course credit entity metadata by using RetrieveEntityRequest with EntityFilters = Attributes and LogicalName
The RetrieveEntityRequest.EntityFilters property gets or sets a filter to control how much data for the entity is retrieved.
Step 3: Define the AttributeMetaData for each new field.
Step 4: Call the RetrieveAttributeRequest with LogicalName for each new field.
The RetrieveAttributeRequest contains the data that is needed to retrieve attribute metadata.
Reference: https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveentityrequest.entityfilters?view=dynamics-general-ce-9
You plan to create a canvas app to manage large sets of records. Users will filter and sort the data.
You must implement delegation in the canvas app to mitigate potential performance issues.
You need to recommend data sources for the app.
Which two data sources should you recommend? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . SQL Server
- B . Common Data Service
- C . Azure Data Factory
- D . Azure Table Storage
AB
Explanation:
Delegation is supported for certain tabular data sources only. If a data source supports delegation, its connector documentation outlines that support. For example, these tabular data sources are the most popular, and they support delegation:
Power Apps delegable functions and operations for Microsoft Dataverse Power Apps delegable functions and operations for SharePoint Power Apps delegable functions and operations for SQL Server Power Apps delegable functions and operations for Salesforce reason 1–> Azure data factory is not mentioned in MS documentation
reason 2 –> Azure is not an actual data (questions asks for data sources) source but ETL a service for scale-out serverless data integration and data transformation. https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/delegation-overview
HOTSPOT
A fine arts school uses a custom canvas application based on the Common Data Service (CDS) platform.
Artists experience errors on their Artist canvas app and delays when switching pages.
You need to identify the root causes of these issues.
Which troubleshooting methods should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Box 1: Site Map validation
When you validate the app, the app designer canvas shows you details about the assets that are missing.
In the app designer, select Validate.
A notification bar appears and shows you whether the app has any errors or warnings. The notification bar shows warnings in cases where, for example, an entity has no forms or views, or the app doesn’t contain any components. An error might appear if a site map isn’t configured for the app.

Incorrect Answers:
With Solution checker, you can inspect your code against a set of best practice development rules specific to customizing and extending the CDS for Apps platform. Get access to rich detailed reports listing issues identified, severity, locations, and sometimes the line code, with linkage to detailed prescriptive guidance on how to fix the problem.
PowerApp Checker checks your solution for any usage of code that was deprecated or any performance or security issues in the code. It checks the plugin code as well as web resources.
Box 2: Service Performance in Power Apps Analytic
Regarding Microsoft Power Apps Canvas Driven Apps: for reviewing performance bottlenecks and API calls, admins can leverage the Service Performance report for connection health. Admins can gain
insights into the least and best performing services, the mean response time and success rate for connectors and the 50th, 75th and 95th percentile markers for response time. Each of these can be filtered down by service or connector, device, player version and regionally.
Reference:
https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/validate-app
https://community.dynamics.com/crm/b/crminthefield/posts/monitoring-the-power-platform-canvas-driven-apps—power-apps-analytics
A company designs a solution that contains a new real-time workflow. The workflow populates a lookup column that has a default value.
A managed solution is imported to the test environment.
An error occurs when a test engineer attempts to create a record. The error message states, "Record is not available.”
You need to resolve the error.
What should you do?
- A . Add missing lookup table records to the solution.
- B . Go to the test environment and manually create missing lookup table records.
- C . Use the Configuration Migration Tool to extract the lookup table data from the development environment and import it to the test environment.
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: Throw an InvalidPluginExecutionException with the message.
Does the solution meet the goal?
- A . Yes
- B . No
HOTSPOT
A model-driven app has the following JavaScript code.
The code is attached to the OnChange event of the Phone (telephone1) field on the Account entity.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

Explanation:
Box 1: Yes
Xrm.WebApi.updateRecord updates a table record.
Syntax:
Xrm.WebApi.updateRecord(entityLogicalName, id, data).then(successCallback, errorCallback);
Box 2: Yes
Box 3: No
No action would be taken.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/updaterecord
A company requires a plug-in that makes multiple requests to an external web service. The plug-in must not time out when the web service has issues or is slow to respond.
You need to create the plug-in.
What should you do?
- A . Register the plug-in step once for each web service request.
- B . Register the plug-in to run synchronously.
- C . Send requests to use multiple threads.
- D . Set the HTTP connection timeout value explicitly to limit how long each connection can remain open.
HOTSPOT
You are developing a model-driven app for the purchasing department of an organization. You provision a new test environment and a security role. You select users to test the apps and assign the users to a security group named TestSG.
If the tests succeed, a manager will perform additional testing in the production environment and then publish the app for the organization’s purchasing department.
You need to ensure that the test and production environments are configured correctly.
What should you do? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Box 1: Set the test environment security group to TestSG and assign test users the app security role. PowerApps apps use role-based security for sharing. The fundamental concept in role-based security is that a security role contains privileges that define a set of actions that can be performed within the app. All app users must be assigned to one or more predefined or custom roles.
Box 2: Assign the manager the app security role.
Box 3: Set the production environment security group to TestSG
Box 4: Add all users in the department to the TestSG security group.
Reference: https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/share-model-driven-app
HOTSPOT
You develop the following code as part of a plug-in that handles the Create message of the Account table.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.


