Microsoft PL-400 Practice Test - Questions Answers, Page 2
List of questions
Question 11
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
HOTSPOT
You need to correct the portal query issues.
Which code should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Explanation:
Scenario: The query for all registered users must return the data categorized by division. Queries must return only the Name and Sport fields. Queries return all fields. The query is as follows:
Box 1: GET ..$select=name, sport
Use select to return only the Name and Sport fields.
Box 2: $apply(groupby(sport ne null)
Categorize by division, that is to sports.
Question 12
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
You need to add the script for the registration form event handling.
Which code segment should you use?
formContext.data.entity.addOnSave(myFunction)
formContext.data.addOnLoad(myFunction)
formContext.data.removeOnLoad(myFunction)
addOnPreProcessStatusChange
formContext.data.isValid()
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
Question 13
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
DRAG DROP
You need to address the user interface issues.
What should you do? To answer, drag the appropriate actions to the correct issues. Each 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.
Explanation:
Box 1: Add &ribbondebug=true to the end of the application URL.
Scenario: The captions for the New and Save buttons do not render properly on the form.
You can use the an in-app tool called the Command Checker to inspect the ribbon component definitions to help us determine why the button is not rendered correctly.
To enable the Command Checker, you must append a parameter &ribbondebug=true to your D365 application URL. For example: https://yourorgname.crm.dynamics.com/main.aspx?appid=9ab590fc-d25e-ea11-a81d- 000d3ac2b3e6&ribbondebug=true
Box 2: Use the Ribbon Workbench
Adding Buttons to Ribbons
1. Download and install Ribbon Workbench.
2. Select a suitable ICON for your button.
3. Create a solution.
4. Edit the button in Ribbon Workbench.
5. Publish and test.
Reference:
https://support.microsoft.com/en-us/help/4552163/ribbon-troubleshooting-guide
https://neilparkhurst.com/2015/10/19/adding-buttons-to-ribbons/
Question 14
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
You need to add the script to populate event data on the form.
Which code segment should you use?
formContext.data.addOnLoad(myFunction)
formContext.data.removeOnLoad(myFunction)
formContext.data.entity.addOnSave(myFunction)
addOnPreProcessStatusChange
formContext.data.isValid()
Explanation:
Question 15
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
DRAG DROP
You need to select a process to create each function.
Which process should you use? To answer, drag the appropriate processes to the correct functions. Each process 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: Power Automate
Ensure that notifications are sent to the sales team when a lead is added by using Slack
Power Automate is a service that helps you create automated workflows between your favorite apps and services to synchronize files, get notifications, collect data, and more.
Box 2: Business rule
A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an account record is created.
A field named Priority_Trigger must be created to trigger the Priority field.
Business rules provide a simple interface to implement and maintain fast-changing and commonly used rules.
Box 3: Business process flow
Ensure that leads have a review stage added to the sales process.
Use business process flows to define a set of steps for people to follow to take them to a desired outcome. These steps provide a visual indicator that tells people where they are in the business process.
Reference:
https://docs.microsoft.com/en-us/power-automate/
https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/create-business-rules-recommendations-apply-logic-form
https://docs.microsoft.com/en-us/power-automate/business-process-flows-overview
Question 16
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
You need to create the model driven app for accounts designated as referrals.
What should you add to the app?
Workflow
Subgrid
Business rule
Flow
Chart
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
Question 17
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
You need to determine the primary cause of the issue reported by interns when they use the app.
What is the primary cause?
Interns have the System Customizer security role but need the Environment Maker security role.
Interns have the Common Data Service User security role but need the Environment Maker security role.
Interns have the Environment Maker security role but need the Common Data Service User security role.
Interns have the Environment Maker security role but need the System Customizer security role.
Interns have the Environment Maker security role but need the Delegate security role.
Explanation:
Scenario: Interns can create apps but cannot interact with their own data.
Environment Maker role: Can create new resources associated with an environment, including apps, connections, custom APIs, gateways, and flows using Microsoft Power Automate. However, this role doesn't have any privileges to access data within an environment.
System Customizer role: full permission to customize the environment. However, users with this role can only view records for environment entities that they create.
Reference:
https://docs.microsoft.com/en-us/power-platform/admin/database-security
Question 18
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
DRAG DROP
You need to assign security roles to groups of users.
Which security roles should you use? To answer, drag the appropriate security types to the correct roles. Each security type 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:
Scenario: The company identifies the following job roles:
You must grant users the minimum permissions required to perform their job tasks.
Intern: Environment Maker
Environment Maker: Can create new resources associated with an environment, including apps, connections, custom APIs, gateways, and flows using Microsoft Power Automate. However, this role doesn't have any privileges to access data within an environment.
Manager: System Administrator:
System Administrator: Has full permission to customize or administer the environment, including creating, modifying, and assigning security roles. Can view all data in the environment.
Sales representative: Common Data Service User
Basic User/ Common Data Service User: Read (self), Create (self), Write (self), Delete (self)
Can run an app within the environment and perform common tasks for the records that they own.
Question 19
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
HOTSPOT
You need to select data types for required fields.
Which data types should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Explanation:
Box 1: Option Set
Box 2: Date only
When team members create tournament records they must enter the start date for a tournament. The end date of the tournament must be automatically calculated.
Box 3: Lookup
Customer information is stored in the Accounts entity. Each tournament record must list the associated sales representative as the tournament owner.
Note: When you create a new lookup column you are creating a new Many-to-One (N:1) table relationship between the table you're working with and the Target Row Type defined for the lookup. There are additional configuration options for this relationship that are described in Create and edit relationships between tables. But all custom lookups can only allow for a reference to a single row for a single target row type.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/data-platform/types-of-fields
Question 20
![Export Export](https://examgecko.com/assets/images/icon-download-24.png)
You need to improve warehouse counting efficiency.
What should you create?
a flow that updates the warehouse counts as the worker performs the count
a model-driven app that allows the user to key in inventory counts
A Power BI dashboard that shows the inventory counting variances
a canvas app that scans barcodes to allow a warehouse worker to select inventory counts
Explanation:
Scenario: Warehouse counting is performed manually by using a counting journal. All warehouse boxes and items are barcoded.
Question