0% found this document useful (0 votes)
79 views

PL-400 Microsoft Updated Practice Questions

This document provides a collection of practice questions for the PL-400 exam, designed to mirror the exam's structure and topics. It includes topic-focused questions, accurate answer keys, and is intended for personal study only. Users can access the complete question bank and additional resources through the provided website and social media links.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

PL-400 Microsoft Updated Practice Questions

This document provides a collection of practice questions for the PL-400 exam, designed to mirror the exam's structure and topics. It includes topic-focused questions, accurate answer keys, and is intended for personal study only. Users can access the complete question bank and additional resources through the provided website and social media links.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 50

This PDF contains a set of carefully selected practice questions for the

PL-400 exam. These questions are designed to reflect the structure,


difficulty, and topics covered in the actual exam, helping you reinforce
your understanding and identify areas for improvement.

What's Inside:

1. Topic-focused questions based on the latest exam objectives


2. Accurate answer keys to support self-review
3. Designed to simulate the real test environment
4. Ideal for final review or daily practice

Important Note:

This material is for personal study purposes only. Please do not


redistribute or use for commercial purposes without permission.

For full access to the complete question bank and topic-wise explanations, visit:
CertQuestionsBank.com

Our YouTube: https://www.youtube.com/@CertQuestionsBank

FB page: https://www.facebook.com/certquestionsbank
Share some PL-400 exam online questions below.
1.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.

Answer:
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

2.You are configuring a custom connector for a web service. The web service is hosted in two
different regions. The web service URL includes a common domain name and a unique sub-domain
for each region.
The custom connector must allow the region to be entered for additional regions when creating the
connection.
You need to create a policy template.
Which template type should you use?
A. Route request
B. Set query string parameter
C. Set host URL
D. Set HTTP header
Answer: C

3.A company is creating a Power Apps portal to collaborate with vendors.


You need to implement custom functionality in the portal by using JavaScript code.
Which two portal entities can you use? Each correct answer presents a complete solution. NOTE:
Each correct selection is worth one point.
A. Web pages
B. Web resources
C. Webforms
D. Entity lists
Answer: CD
Explanation:
C: The Web Form Step record contains a field named Custom JavaScript that can be used to store
JavaScript code to allow you to extend or modify the form's visual display or function.
D: You can add custom Javascripts to Entity lists.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/add-custom-javascript
https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/entity-lists#add-custom-
javascript

4.HOTSPOT
You are developing a canvas app for a healthcare center.
You need to create custom tables for the solution.
You have the following requirements:

You need to create the tables.


Which table type should you create? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Answer:
5.You are developing a model-driven app using JavaScript.
You need to configure the app to display a dialog box when a form is opened or when a grid on a
form is sorted.
What should you use?
A. Grid OnSave
B. Grid OnRecordSelect
C. Grid OnChange
D. Subgrid OnLoad
Answer: D

6.You need to prevent the field used by the PCF control from updating the record.
What are two possible ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Disable existing event handlers on the field.
B. Call the setsubnitMode(‘never') function on the field.
C. Create a business rule to clear the field value.
D. Make the field read-only.
Answer: B, D

7.HOTSPOT
You work for a not-for-profit agency that manages business processes by using Power Platform
custom entities.
Volunteer registration and onboarding are manual processes that include multiple related entities.
You need to implement a portal solution that replaces the manual processes.
Which modules should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:

Explanation:
Box 1: Customer self-service portal
Customer self-service portal: A customer self-service portal enables customers to access self-service
knowledge, support resources, view the progress of their cases, and provide feedback.
Box 2: Entity form metadata
The Advanced Form Metadata contains additional behavior modification logic to augment or override
the functionality of form fields that is otherwise not possible with native basic form editing capabilities.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/portals/portal-templates
https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-web-form-metadata

8.DRAG DROP
A company is configuring Microsoft Power Virtual Agents and Power Automate flows that use model-
driven apps. The company has a website that uses Power Pages. You create Power Virtual Agents
bot topics.
You must configure the following:
• Use a bot on the website.
• Create Bot Framework skills.
• Create a support request from the bot without human interaction. You need to configure the
website.
Which applications should you configure? To answer, drag the appropriate applications to the correct
requirements. Each application 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.

Answer:

9.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.
Answer:

10.DRAG DROP
You are creating a model-driven app for a company Sales team members will use the app to manage
leads. The app will interact with the Microsoft Dataverse Leads table.
You must configure the app to meet the following requirements:
• If the estimated value for a lead is greater than $10,000 the app must
• Send an email to a manager.
Display a field named Sponsor on the lead form.
• If the estimated value for a lead is greater than $100.000 the app must:
• Send an email to the company s vice president.
• Display the following message as a notification while the lead record is open: High value customer,
handle will care.
You need to configure the app. The solution must minimize the use of code.
Which options should you use? To answer, drag the appropriate options to the correct requirements.
Each 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.

Answer:
11.A company develops a new custom connector for a Microsoft Entra ID-protected Azure Function
that was created as a single tenant app. The custom connector must be moved to a pioduction
environment. The connector must be visible and accessible only to users in the tenant. You need to
deploy the custom connector
Solution: Add the custom connector to a managed solution, export the managed solution, and then
import the managed solution into the production environment.
Does the solution meet the goal?
A. Yes
B. No
Answer: B

12.DRAG DROP
You need to determine how to implement rules for players who register for a soccer tournament.
Which business rule actions should you use? To answer, drag the appropriate business rule actions
to the correct fields. Each business rule action 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.

Answer:
Explanation:
Scenario:

Weight: Set visibility action to No.


Age: Set Business Required action to Business required
Height: Set visibility action to No.

13.HOTSPOT
You need to deploy the changes and resolve the issue with the Planning Hub application.
What should you use? To answer, select the appropriate options in the answer area. NOTE: Each
correct selection is worth one point.
Answer:

14.You need to connect to the background check API.


Which mechanism should you use?
A. JavaScript
B. Flow with a custom connector
C. Azure Function
D. Plug-in
Answer: C
15.HOTSPOT
A university manages grant applications using a model-driven app.
Users report that the message on the Grant Application screen is outdated.
The screen shows the following:

Use the drop-down menus to select the answer choice that answers each question based on the
information presented in the graphic. NOTE: Each correct selection is worth one point.

Answer:
Explanation:
Reference: https://www.loganconsulting.com/blog/how-use-power-automate-trigger-workflows-
microsoft-dynamics-crm/

16.HOTSPOT
You have a plug-in that performs business logic on contact records. The plug-in is registered in the
post-operation stage and is executed when a field named custom_field3 is updated.
The plug-in contains the following code:

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

17.HOTSPOT
An online store has a custom web page that allows customers to place their orders against a
Microsoft Dataverse database that uses custom products. The custom web page uses Web API
patterns to create and update records.
Customers report that orders can be placed for out-of-stock items.
You need to update the page code to ensure that inventory is available before confirming an order.
Which pattern should you use for each step? To answer, select the appropriate options in the answer
area. NOTE: Each correct selection is worth one point.

Answer:
Explanation:
Box 1: IsOptimisticConcurrencyEnabled
On a multi-threaded and multi-user system like Power Apps, operations and data changes often
happen in parallel. A problem arises when two or more update or delete operations on the same
piece of data happen at the same time. This situation could potentially result in data loss. The
optimistic concurrency feature provides the ability for your applications to detect whether a table
record has changed on the server in the time between when your application retrieved the record and
when it tries to update or delete that record.
Box 2: If-Match: Etag
Use If-Match and If-None-Match headers with ETag values to check whether the current version of a
resource matches the one last retrieved, matches any previous version or matches no version. These
comparisons form the basis of conditional operation support. Dataverse provides ETags to support
conditional retrievals, optimistic concurrency, and limited upsert operations.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/optimistic-concurrency
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/perform-conditional-
operations-using-web-api
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/perform-conditional-
operations-using-web-api

18.You are developing a Power Platform solution. The solution connects to a third-party accounting
system by using a Web API through a Power Apps app that automatically exchanges contacts with
the sales data.
You have the following code: (Line numbers are included for reference only.)

You need to ensure that the code only synchronizes data that was not previously synchronized.
Which code segment should you insert at line 02?
A. Prefer: odata.track-changes
B. Prefer: odata.allow-entityreferences
C. Prefer: odata.allow-entityreferences
D. Prefer: odata.include-annotations
Answer: A

19.HOTSPOT
You are training a group of makers to use Power Automate.
You have the following expressions:

You need to identify what each expression is doing.


What does each expression do? To answer, select the appropriate options in the answer area. NOTE:
Each correct selection is worth one point.

Answer:
Explanation:
Box 1: Return the statuscode at runtime.
You could try the following method to get the status code.
Configure Compose action under the specified action to get the status code.
outputs('ActionName')['statusCode']
Box 2: Return all the results from all actions from MyScope
The @result() expression accepts the name of a Scope as a parameter and returns a JSON array of
objects that represent the results of the execution of each action within the Scope.
Reference:
https://powerusers.microsoft.com/t5/Building-Flows/How-to-determine-status-code-for-a-condition/td-
p/355653
https://blogs.msmvps.com/windsor/2019/04/25/microsoft-flow-error-handling/

20.You need to identify the Azure service to use for the Planning Hub application.
Which service should you use?
A. Logic App
B. Function
C. Service Bus
D. Key Vault
Answer: B

21.You need to resolve the issue with the new command button.
What should you do?
A. Pass the value PrimaryControl to the function in the action definition.
B. Pass ExecutionContext To The function in the action definition.
C. Pass the value SclcctcdControl to the function in the action definition.
D. Select the Pass execution context as first parameter option on the event registration form.
Answer: D

22.DRAG DROP
A company uses Dynamics 365 Sales.
Sales commission must be calculated when an order is placed. You create an Azure Function to
perform the calculation. The Azure Function has an HTTP trigger.
You need to configure the Plug-in Registration tool to send data to the Azure Function when an order
is placed. You open the Plug-in Registration tool and connect to Dynamics 365 Sales.
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.

Answer:

Explanation:
Step 1: SelectRegister New Web Hook.
Configure Dynamics 365 Sales to Call Your Webhook in Azure Functions

23.You deploy a Power Platform plug-in to a production environment. The plug-in code contains
detailed tracing information. You are a member of the Environment Maker security role for the
environment.
Users report unexpected results when they interact with confidential data by using the plug-in. You
confirm that the plug-in works without errors in a development environment.
You need to investigate the root cause of the plug-in errors.
What should you do?
A. Send a PUT request to enable plug-in tracing for the production environment.
B. Send a GET request to retrieve the plugintracelogs records.
C. Install Plug-in profiler in the production environment by using the Plug-in Registration tool.
D. Reproduce and capture the errors, then debug from Visual Studio.
Answer: C
Explanation:
Plug-in profiler is a solution that you can install on your environment that enables you to capture the
execution context of a plug-in and then use that data to re-play the event within Visual Studio while
debugging.
There are two tools available from which to run the Plug-in Profiler:
the Plug-in Registration Tool and Power Platform Tools for Visual Studio.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/tutorial-debug-plug-
in

24.HOTSPOT
A training company implements a Common Data Service (CDS) environment. The company has
created and stores information about courses in a custom entity.
A Power Automate flow must be created whether a course has been created that starts within the
next seven days and must be accurate to the minute.
You need to define an expression that meets the requirements.
Which functions should you use for the expression? To answer, select the appropriate options in the
answer area. NOTE: Each correct selection is worth one point.

Answer:
Explanation:
Box 1: less
less checks whether the first value is less than the second value. Return true when the first value is
less, or return false when the first value is more.
Box 2: ticks
ticks (timestamp: string) - Returns the number of ticks (100 nanoseconds interval) since 1 Jan 1601
00:00:00 UT
Syntax: ticks('<timestamp>')
Box 3: triggerBody
triggerBody returns a trigger's body output at runtime.
Box 4: ticks
Box 5: getFutureTime
getFutureTime teturn the current timestamp plus the specified time units.
Syntax: getFutureTime(<interval>, <timeUnit>, <format>?)
Reference: https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-
reference

25.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.
Answer: 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

26.A customer wants to design a complex business process flow that includes six custom entities and
four stages for each entity. One of the stages will have 15 steps. You need to explain the flaw in this
design to the customer.
What is the flaw in this design?
A. The maximum number of custom entities has been exceeded.
B. The maximum number of steps for a stage has been exceeded.
C. The maximum number of stages for an entity has been exceeded.
D. The minimum number of stages for an entity has not been met.
E. The minimum number of steps for a stage has not been met.
Answer: A
Explanation:
Maximum number of processes, stages, and steps:
To ensure acceptable performance and the usability of the user interface, there are some limitations
you need to be aware of when you plan to use business process flows:
Multi-entity processes can contain no more than five entities.
There can be no more than 10 activated business process flow processes per entity.
Each process can contain no more than 30 stages.
Reference: https://docs.microsoft.com/en-us/power-automate/business-process-flows-overview

27. Parental: Any action taken on a record of the parenttable is also taken on the related child table
records.

28.You need to configure the trigger for the priority field in the Account entity.
Which expression should you use?
A. DIFFINWEEKS(now,1)
B. SUBTRACTDAYS(10, Now())
C. ADDWEEKS(1, CreatedOn)
D. DIFFINDAYS(Createdon, now())
E. ADDDAYS(10, CreatedOn)
Answer: C
Explanation:
A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an
Account record is created.
Note:
Date.AddWeeks returns the date, datetime, or datetimezone result from adding numberOfWeeks
weeks to the datetime value dateTime.
CreatedOn gets the value to store in the history table indicating when this entry was created.
Reference:
https://docs.microsoft.com/en-us/powerquery-m/date-addweeks
https://docs.microsoft.com/en-us/dotnet/api/system.data.entity.migrations.model.inserthistoryoperatio
n.createdon?view=entity-framework-4.3.1
https://docs.microsoft.com/en-us/dotnet/api/system.data.entity.migrations.model.inserthistoryoperatio
n.createdon?view=entity-framework-4.3.1

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

Answer:
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

30.A company has a model-driven app form. Many users use the form.
Users state that the form takes too long to fully load.
You need to evaluate the form design to improve loading performance.
Which three control types can you use? Each correct answer presents a complete solution. NOTE:
Each correct selection is worth one point.
A. timeline
B. quick view form
C. iFrame
D. lookup
E. subgrid
Answer: B, C, D

31.You have a Common Data Service entity and a model-driven app. The model-driven app
integrates with an external system.
You plan to run business logic each time the model-driven app creates a record. Running business
logic must not negatively affect model-driven app users. You need to implement the business logic.
What should you use?
A. Synchronous plug-in registered in the PreOperation stage
B. Synchronous workflow
C. Asynchronous plug-in registered in the PostOperation stage
Answer: C
Explanation:
The asynchronous service executes long-running operations independent of the main Microsoft
Dataverse
core operation. This results in improved overall system performance and improved scalability.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-
service/asynchronous-service

32.You need to create the customer mobile app.


Which type of function expression should you use?
A. Filter
B. Find
C. LookUp
Answer: C
Explanation:
The LookUp function finds the first record in a table that satisfies a formula. Use LookUp to find a
single record that matches one or more criteria.
Reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-
lookup

33.HOTSPOT
You are configuring two command buttons on a form.
The form must display the buttons only if conditions meet a pre-defined criteria.
You need to create rules for the form.
Which rule types should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Answer:
34.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
Answer: B

35.DRAG DROP
A developer must register a step using the Plug-in registration tool.
You need to associate the correct Event Pipeline Stage of Execution with its purpose.
Which stage should you associate with each description? To answer, drag the appropriate stages to
the correct descriptions. Each stage 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.
Answer:

Explanation:
The event pipeline allows you to configure when in the event the plug-in code will execute.
The event pipeline is divided into the following events and stages:
Box 1: PreValidation
Pre-event/Pre-Validation
This stage executes before anything else, even before basic validation if the triggering action is even
allowed based on security. Therefore, it would be possible to trigger the plug-in code even without
actually having permission to do so and great consideration must be used when writing a pre-
validation plug-in. Also, execution in this stage might not be part of the database transaction.
Examples: - security checks being performed to verify the calling or logged on user has the correct
permissions to perform the intended operation.
Box 2: PreOperation
Pre-event/Pre-Operation
This stage executes after validation, but before the changes has been committed to database. This is
one of the most commonly used stages.
Example uses:
If and “update” plug-in should update the same record, it is best practice to use the pre-operation
stage and modify the properties. That way the plug-in update is done within same DB transaction
without needing additional web service update call.
Box 3: PostOperation
Plug-ins which are to execute after the main operation. Plug-ins registered in this stage are executed
within the database transaction.
This stage executed after changes have been committed to database. This is one of the most used
stages.
Example uses:
Most of the “Create” plugins are post-event. This allows access to the created GUID and creation of
relationships to newly created record.
Incorrect Answers:
MainOperation: - main operation of the system, such as create, update, delete, and so on. No custom
plug-ins can be registered in this stage.
Reference: https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/216569/ms-crm-
plugin-execution-pipeline

36.A university has implemented Dynamic 365 Sales. Several department use opportunity records to
bid for funding for project within their departments.
Each department’s opportunities are not visible to other departments. However, there are times two
departments needs to work together on an opportunity.
You need to configure the security to meet the business requirements.
Solution: Use position hierarchy security and define the two departments as positions.
Does the solution meet the goal?
A. Yes
B. No
Answer: A
Explanation:
Two security models can be used for hierarchies, the Manager hierarchy and the Position hierarchy.
The Position hierarchy allows data access across business units. If you are a financial organization,
you may prefer the Manager hierarchy model, to prevent managers’ accessing data outside of their
business units. However, if you are a part of a customer service organization and want the managers
to access service cases handled in different business units, the Position hierarchy may work better for
you.
Note: The hierarchy security model is an extension to the existing security models that use business
units, security roles, sharing, and teams. It can be used in conjunction with all other existing security
models. The hierarchy security offers a more granular access to records for an organization and helps
to bring the maintenance costs down.
Reference: https://docs.microsoft.com/en-us/power-platform/admin/hierarchy-security

37.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.
Answer:
38.HOTSPOT
You create a model-driven app.
You observe that the following issues occur with The app:
• One custom column displays an unexpected value when a new record is created.
• An error prevents the record from saving.
You need to use the browser to find the root cause of the issues.
Which events should you debug? To answer, select the appropriate options in the answer area.
Answer:

39.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()
Answer: 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

40. 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.
Answer:
41.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: Share the individual opportunity that member of one department are working on with all
members of the second department, and give those members the appropriate permissions.
Does the solution meet the goal?
A. Yes
B. No
Answer: B

42.A company implementsDynamics 365 Customer Service. The company deploys synchronous plug-
ins for the PreOperation and PostOperation stages on create and for the PostOperation stage on
update for processing different case type.
Users experience errors when updating cases. The plug-in trace log files show that the PosOperation
plug-in update of case times out after two minutes.
You perform basic testing and discover that this plug-in is triggered on every update of a case. You
examine the code and discover that the plug-in retrieves all columns for the updated case record
performing its work.
You need to reduce the number of errors. You need to achieve this goal with the test amount of
changes.
Solution: In the Plug-in Registration tool, update the plug-in step and increase the Execution Order.
Does the solution meet the goal?
A. Yes
B. No
Answer: B

43.DRAG DROP
An organization uses plug-in to retrieve specific information from legacy data stores each time a new
order is submitted.
You review the Common Data Service analytics page. The average plug-in execution time is
increasing.
You need to replace the plug-in with another component, reusing as much of the current plug-in code
as possible.
Which five 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.
Answer:
Explanation:
Step 1: Create an Azure Function app
Azure Functions provide an excellent way to deliver a solution using WebHooks.
Step 2: Refactor the plug-in logic in the app.
Step 3: Publish the app
You can publish your function app to Azure directly from Visual Studio.
Step 4: Register a webhook for the app in the Plug-in Registration tool Use the Plug-in Registration
tool to register a WebHook.
Step 5: Register a step in the webhook.
Registering a step for a WebHook is like registering a step for a plug-in.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/use-webhooks
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/register-web-hook

44.Which permissions does a managed identity have on Microsoft Dataverse data?


A. permissions assigned to the corresponding application user
B. permissions assigned to the user triggering the Azure resource
C. permissions equivalent to the environment admin role
D. permissions equivalent to the system administrator role
Answer: A

45.DRAG DROP
You need to implement a reusable solution to encapsulate the parameterized Dataverse queries.
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.

Answer:

Explanation:
Create a real-time workflow that uses a custom workflow activity to perform the Dataverse queries
Run the real-time workflow by useing the Dataverse connector.
Run the custom process action by using the Dataverse connector.

46.A company implementsDynamics 365 Customer Service. The company deploys synchronous plug-
ins for the PreOperation and PostOperation stages on create and for the PostOperation stage on
update for processing different case type.
Users experience errors when updating cases. The plug-in trace log files show that the PostOperation
plug-in update of case times out after two minutes.
You perform basic testing and discover that this plug-in is triggered on every update of a case. You
examine the code and discover that the plug-in retrieves all columns for the updated case record
performing its work.
You need to reduce the number of errors. You need to achieve this goal with the test amount of
changes.
Solution: In the Plug-in Registration tool, set filtering attributes on the plug-in to only Case Type filed.
Does the solution meet the goal?
A. Yes
B. No
Answer: B

47.HOTSPOT
You develop the following code for a console application that performs the data import to Microsoft
Dataverse.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE:
Each correct selection is worth one point.
Answer:

48.A multinational company requires that all phone numbers be standardized as country code + area
code + phone number.
The application design team decides that a custom PowerApps component framework (PCF) control
should be used to prompt users for an area code and correctly format the phone number.
You need to get the list of valid area codes when a contact record is opened and before the user
enters a new phone number.
In which function should you call webAPI.retrieveMultipleRecords?
A. notifyOutputChanged
B. init
C. getOutputs
D. updateView
Answer: D
Explanation:
The updateView method will be called when any value in the property bag has changed. This includes
field values, data-sets, global values such as container height and width, offline status, component
metadata values such as label, visible, etc.
Set the value of the field component to the raw value from the configured field.
Note: webAPI.retrieveMultipleRecords retrieves a collection of entity records.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/component-
framework/reference/control/updateview

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

Answer:
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

50.HOTSPOT
You are troubleshooting Power Apps solutions.
You need to determine the cause for the identified issues.
What is the root cause for each issue? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Answer:
Explanation:
Box 1: A canvas app in the first solution has errors.
Failures that occur during background processing of the analysis will fail with 'Couldn't be completed'
status and return an error message in the Power Apps portal as well as send email notification to the
requestor.

Selecting the portal notification will link to this page of common issues for further troubleshooting. If
one of the provided common issues does not resolve the problem, a reference number is also
returned. Provide this reference number to Microsoft Support for further investigation.

Box 2: The code uses the following rule: web-use-strict-mode web-use-strict-mode is able to throw a
SyntaxError before the script is executing.
Example:
The reason is JavaScript lets you compare different variable types but this can have unexpected
results, so by using the strict === it compares the same type and won’t have unexpected results this
gets a warning
entity.field == "Line1"
Incorrect Answers:
web-avoid-eval: The eval () function evaluates JavaScript code represented as a string.
web-avoid-modals: Avoid using modal dialogs.
web-remove-debug-script: Avoid including debug script in non-development environments.
Reference: https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/common-issues-
resolutions-solution-checker

51.You need to create the model driven app for accounts designated as referrals.
What should you add to the app?
A. Workflow
B. Subgrid
C. Business rule
D. Flow
E. Chart
Answer: C
Explanation:
When the account is entered into the system, extra fields must appear if the referral customer box is
selected. If the box is not selected, the extra fields must not appear.
Note: By combining conditions and actions, you can do any of the following with business rules:
? Set column values
? Clear column values
? Set column requirement levels
? Show or hide columns
? Enable or disable columns
? Validate data and show error messages
? Create business recommendations based on business intelligence.
Reference: https://docs.microsoft.com/en-us/powerapps/maker/data-platform/data-platform-create-
business-rule

52.DRAG DROP
An organization has a Dynamics 365 Sales environment. In the development environment, you create
a business rule named BusinessRule1 on the Account entity. You deploy BusinessRule1 to
production as part of a managed solution.
You need to remove BusinessRule1 from the production environment.
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.
Answer:

Explanation:
Step 1: In the development environment, navigate to Solutions.
The only supported way of transferring customizations from one CRM organization to another has
been through Solutions.
With Solution Management came the concept of Managed and Unmanaged Solutions.
Step 2: Export the solution as managed and import it in the production environment. Managed is a
way to protect your IP (Intellectual Property) with an easy concept of install and uninstall.
Step 3: Select the solution that has BusinessRule1, navigate to the appropriate entity, and delete the
rule.
Reference: https://www.inogic.com/blog/2016/01/solution-management-with-dynamics-crm-2016/

53.You create and deploy a Power Platform solution that includes synchronous plug-ins Users report
performance issues with the solution.
You need to determine whether a plug-in is the cause of the performance issues.
Which two tools can you use? Each correct answer presents part of the solution. NOTE: Each correct
selection is worth one point-
A. Microsoft Dataverse Analytics
B. Solution checker
C. Tracing
D. iSV Studio
D. Data policies
Answer: B, C

54.DRAG DROP
A company creates a custom connector to use in a flow named Search Company.
When this custom connector is used, requests must be redirected to a different endpoint at runtime.
You need to apply a policy to the custom connector to route calls to a different endpoint.
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.

Answer:
Explanation:
Step 1: Select the Search Company custom connector in the Microsoft Flow portal under Custom
connectors and select edit.
Login to the Microsoft Flow portal, and on right top corner click on the settings icon and then click on
custom connectors option.
Step 2: Select the Definition tab
Policy template are available only for custom connectors. To use a policy template, open Power
Automate portal and either create a new custom connector or edit an existing one.
In the custom connector wizard, select the Definition page.
From the Definition page, select New Policy.
Etc.
Step 3: Select New Policy
Reference: https://docs.microsoft.com/en-us/connectors/custom-connectors/policy-templates

55.DRAG DROP
You need to assign the minimum environmental security role to the appropriate users.
Which security roles should you use? To answer, drag the appropriate security roles to the correct
users. Each security 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.
Answer:

Explanation:
Box 1: Environment Maker
UserA must be able to create and publish Power Apps apps.
The Environment Maker role can create resources within an environment including apps,
connections, custom connectors, gateways, and flows using Power Automate.
Box 2: System Administrator
UserB must be the owner of all the systems and be able to provide permissions and create all new
environments.
The System Administrator has full permission to customize the system. Can view all data in the
system.
Box 3: System Customizer
UserC must be able to create apps connected to the systems and update the security roles and
entities.
The System Customizer has full permission to customize the system. Can only view rows for system
tables that they create.
The difference between the System Administrator and System Customizer security roles is that a
system administrator has read privileges on most rows in the system and can see everything. Assign
the System Customizer role to someone who needs to perform customization tasks but shouldn’t see
any data in the system tables.
Box 4: Common Data Service User
To stay consistent with our product rebranding effort, the security role Common Data Service User is
being changed to Basic User.
The Basic User security role primarily contains Basic privileges for core entities where the user can
write, update, and delete records that they created or owned.
Reference:
https://docs.microsoft.com/en-us/power-platform/admin/environments-overview
https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/privileges-required-
customization - system-administrator-and-system-customizer-security-roles
https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/privileges-required-
customization#system-administrator-and-system-customizer-security-roles
https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/data-platform/common-
data-service-user-security-role-renamed-basic-user
https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/data-platform/common-
data-service-user-security-role-renamed-basic-user

Get PL-400 exam dumps full version.

Powered by TCPDF (www.tcpdf.org)

You might also like