Practice Free PL-400 Exam Online Questions
Topic 6, City Power & Light
Background
City Power & Light is an energy and utilities company that has offices in Europe. The company subsidizes home improvements for domestic customers, to improve energy efficiency and to meet environmental commitments. The company also distributes and generates electricity for domestic and commercial customers. The company has 2,000 employees in multiple offices and in work-from-home locations.
City Power & Light uses a team of schedulers, assessors, field engineers, and customer support agents for home improvements in a program named Get Energy Fit.
Current Environment
Get Energy Fit Program
City Power & Light uses the following to manage the Get Energy Fit program:
• The company uses a Microsoft Excel spreadsheet named Planning Hub on Microsoft SharePoint Online to store information about customer appointments, customer details, and customer eligibility in the program.
• The company records sensitive customer information that includes the document identification numbers and the customer’s financial information.
• The company uses an assessor to verify customer eligibility in the program and to perform a suitability assessment. The assessor completes the suitability assessment by using a paper and clipboard at the customer property and enters the data to tte Planning Hub after the assessment is
completed. The assessor also uploads * photographs to an on-premises document library. The assessor completes the eligibility assessment by using an application written in React.
• Schedulers use Microsoft Outlook to schedule engineers and assessors for home improvement appointments. About 200 appointments are scheduled daily.
• Employees for the company submit funding claims on behalf of the customer by uploading evidence and compliance checks information to an application named the Claim Submission Portal.
Technical Environment
• Schedulers use Windows 11 desktop and laptop computers with the latest version of Microsoft Edge.
• Assessors use iOS and Android tablet devices.
• The Claim Submission Portal uses REST-based APIs for all operations and a dedicated testing environment. Authentication to the API is provided by using the following example header key and value pair
o Authentication: 2C8D41431415E429C7FC7A74D8315
• The company uses Microsoft Azure for hosting multiple applications.
Requirements
Overview
City Power & Light plans to implement Microsoft Power Platform to improve the customer experience and increase delivery for the Get Energy Fit program.
Business Requirements
• Only team leaders and senior managers should have access to read personally identifiable information (Pll).
• All development changes must be tested in a separate environment.
• The company requires out-of-the-box solutions, when possible.
• Sensitive credentials, such as user passwords and API secrets, must be stored securely.
• The Claim Submission Portal must allow citizen developers to create automated solutions.
• Customer and appointment information must be accessible to all applications.
Planning Hub Application
The company is planning to replace the Planning Hub spreadsheet with a new application.
The new application has the following requirements:
• The application must support a component design that provides rapid changes requested by the schedulers.
• The data model for the application must capture the following information:
• The application must support a component design that provides rapid changes requested by the schedulers.
• The data model for the application must capture the following information;
o Information about customers such as name, address, and other PH.
o The data and time for an assessor’s or engineer’s appointment. Schedulers must be able to view all appointments without filters,
o Records the details of the home improvements installed for the customer,
o Contains all the information and evidence for submission to the Claim Submission Portal.
• After an assessor uploads the funding application and all evidence after a home improvement has been complete, the company requires that the status of the application is set to Submit and should run the following:
o Retrieve the details about the customer and the improvement installed,
o Send an approval to a senior manager to review and approve in Microsoft Teams. o Upload the information to the API endpoint.
o if the upload fails to complete, it should retry after a delay of 30 seconds up to three times. If an error occurs after three times, the application should send an email notification to the application support team.
o Must record the status on the funding application.
Suitability Assessment Tool
The company plans to implement a new application named the Suitability Assessment Tool for the assessors.
The new application has the following requirements:
• Must integrate with Microsoft Power Platform.
• Assessors must be able to complete the eligibility assessment by using the Suitability Assessment Tool. The assessors must be able to upload photographs to the on-premises file share.
• Must be developed by using modular components that can be used by other applications.
• Must be optimized for use on tablet devices.
• All changes to the application must be completed in the Suitability Assessment Tool solution.
Reporting
The company has the following requirements for a reporting solution:
• The data source for the reporting solution must support incremental refreshes.
• The solution must report accurate data if an error occurs.
DRAG DROP
You need to design the Planning Hub data model.
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.

Topic 6, City Power & Light
Background
City Power & Light is an energy and utilities company that has offices in Europe. The company subsidizes home improvements for domestic customers, to improve energy efficiency and to meet environmental commitments. The company also distributes and generates electricity for domestic and commercial customers. The company has 2,000 employees in multiple offices and in work-from-home locations.
City Power & Light uses a team of schedulers, assessors, field engineers, and customer support agents for home improvements in a program named Get Energy Fit.
Current Environment
Get Energy Fit Program
City Power & Light uses the following to manage the Get Energy Fit program:
• The company uses a Microsoft Excel spreadsheet named Planning Hub on Microsoft SharePoint Online to store information about customer appointments, customer details, and customer eligibility in the program.
• The company records sensitive customer information that includes the document identification numbers and the customer’s financial information.
• The company uses an assessor to verify customer eligibility in the program and to perform a suitability assessment. The assessor completes the suitability assessment by using a paper and clipboard at the customer property and enters the data to tte Planning Hub after the assessment is
completed. The assessor also uploads * photographs to an on-premises document library. The assessor completes the eligibility assessment by using an application written in React.
• Schedulers use Microsoft Outlook to schedule engineers and assessors for home improvement appointments. About 200 appointments are scheduled daily.
• Employees for the company submit funding claims on behalf of the customer by uploading evidence and compliance checks information to an application named the Claim Submission Portal.
Technical Environment
• Schedulers use Windows 11 desktop and laptop computers with the latest version of Microsoft Edge.
• Assessors use iOS and Android tablet devices.
• The Claim Submission Portal uses REST-based APIs for all operations and a dedicated testing environment. Authentication to the API is provided by using the following example header key and value pair
o Authentication: 2C8D41431415E429C7FC7A74D8315
• The company uses Microsoft Azure for hosting multiple applications.
Requirements
Overview
City Power & Light plans to implement Microsoft Power Platform to improve the customer experience and increase delivery for the Get Energy Fit program.
Business Requirements
• Only team leaders and senior managers should have access to read personally identifiable information (Pll).
• All development changes must be tested in a separate environment.
• The company requires out-of-the-box solutions, when possible.
• Sensitive credentials, such as user passwords and API secrets, must be stored securely.
• The Claim Submission Portal must allow citizen developers to create automated solutions.
• Customer and appointment information must be accessible to all applications.
Planning Hub Application
The company is planning to replace the Planning Hub spreadsheet with a new application.
The new application has the following requirements:
• The application must support a component design that provides rapid changes requested by the schedulers.
• The data model for the application must capture the following information:
• The application must support a component design that provides rapid changes requested by the schedulers.
• The data model for the application must capture the following information;
o Information about customers such as name, address, and other PH.
o The data and time for an assessor’s or engineer’s appointment. Schedulers must be able to view all appointments without filters,
o Records the details of the home improvements installed for the customer,
o Contains all the information and evidence for submission to the Claim Submission Portal.
• After an assessor uploads the funding application and all evidence after a home improvement has been complete, the company requires that the status of the application is set to Submit and should run the following:
o Retrieve the details about the customer and the improvement installed,
o Send an approval to a senior manager to review and approve in Microsoft Teams. o Upload the information to the API endpoint.
o if the upload fails to complete, it should retry after a delay of 30 seconds up to three times. If an error occurs after three times, the application should send an email notification to the application support team.
o Must record the status on the funding application.
Suitability Assessment Tool
The company plans to implement a new application named the Suitability Assessment Tool for the assessors.
The new application has the following requirements:
• Must integrate with Microsoft Power Platform.
• Assessors must be able to complete the eligibility assessment by using the Suitability Assessment Tool. The assessors must be able to upload photographs to the on-premises file share.
• Must be developed by using modular components that can be used by other applications.
• Must be optimized for use on tablet devices.
• All changes to the application must be completed in the Suitability Assessment Tool solution.
Reporting
The company has the following requirements for a reporting solution:
• The data source for the reporting solution must support incremental refreshes.
• The solution must report accurate data if an error occurs.
DRAG DROP
You need to design the Planning Hub data model.
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.

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 an event handler for the data parameter.
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
You are a Dynamics 365 developer working on a model-driven app.
You add a button to an entity form and to the view for the entity that calls a JavaScript function.
When you click the button, it results in an error.
You determine that the JavaScript function is calling another JavaScript function in a different web resource.
You need to resolve the error.
What should you do?
- A . In the JavaScript web resource, add the missing web resource as a dependency.
- B . Add &ribbondebug=true to the app URL and run the Command Checker tool.
- C . From the Ribbon Workbench, add the missing JavaScript web resource as a CustomRule in EnableRules.
A
Explanation:
When configuring ribbon elements, you can define specific rules to control when the ribbon elements are enabled.
Custom Rule uses the <CustomRule> element. Use this kind of rule to call a function in a Script (JScript) web resource that returns a Promise (Unified Interface) or boolean (Unified Interface and web client).
Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/define-ribbon-enable-rules
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
DRAG DROP
You are the lead Microsoft Power Platform developer for a company.
Your team of developers are unable to work on the same components at the same time.
The developers have the following requirements:
• A mechanism to automatically push individual changes they make into the existing environments for testing.
• A dedicated environment for all development work.
• The ability to run, but not create, deployments from directly within Microsoft Power Platform. You need to implement a process to manage the development activities.
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. NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

You are creating an integration between Microsoft Dataverse and an external system. Messages from Dataverse must be sent to Microsoft Azure Service Bus. An Azure Function will process the messages. Events must be published directly to the ServiceEndpoint for Azure Service Bus.
You need to create code for the messages.
Which class should you use?
- A . lExecutionContext
- B . IPIuginExecutionContext
- C . RemoteExecutionContext
- D . WorkflowContext
HOTSPOT
You need to configure security for the Azure Function and custom connector.
Which security tool should you configure for each item? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

A client requires that the system send an email from a button on their customer contact form.
You need to call the action from JavaScript.
Which two functions achieve this result? Each correct presents a complete solution. NOTE: Each correct selection is worth one point.
- A . Xrm.WebApi.online.createRecord()
- B . Xrm.WebApi.online.updateRecord()
- C . Xrm.WebApi.online.execute()
- D . Xrm.WebApi.online.executeMultiple()
A, D
Explanation:
Xrm.WebApi.online.executeMultiple executes a collection of action, function, or CRUD operations.
Xrm.WebApi.online.execute executes a single action, function, or CRUD operation.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/executemultiple
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/execute
DRAG DROP
You have several model-driven apps.
You must ensure that app creators and system administrators can customize the apps. You must follow the principle of least privilege.
You need to assign the permissions that are needed for app creators and system administrators.
Which security roles should you assign? To answer, drag the appropriate roles to the correct requirements. Each role 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:
Customizer, customizer, admin
System Administrator has Organization level access to all system (Out Of Box) entities while System Customizer has only User level access to all system entities. While both System Administrator and System Customizer have Organization level access to all custom entities.