Test Online Free Microsoft PL-400 Exam Questions and Answers
Practice a live sample before buying full access. This page keeps the free PL-400 question set organized by page so visitors and search engines can reach the canonical -questions.html URL directly.
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?
Answer: 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
Question 77Selectable Answer
A company has two development instances, two test instances, two staging instances, and one production instance.
The test team reports connection issues with the test and staging instances.
You need to identify which if the instances the testing team currently has access.
Which two URLs can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
Answer: Explanation:
C: Organization information is stored in the Instance entity of the Discovery service. To see the kind of information contained in that entity, send an HTTP GET request to the service for one of your instances.
GET https://dev. {servername}/api/discovery/v9.0/Instances(UniqueName='myorg')
In the above example, the discovery service is used to obtain the organization information of the instance with a unique name of "myorg".
Reference:
https://docs.microsoft.com/en-in/dynamics365/customerengagement/on-premises/developer/webapi/discover-url-organization-web-api
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/samples/global-discovery-service-csharp
Question 78Selectable Answer
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.
Answer: 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
Question 79Selectable Answer
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?
Answer: 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
Question 80Selectable Answer
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?
Answer:
Question 81Written Answer
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.
Answer:
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.
Question 82Selectable Answer
A travel company plans to track the address of places their clients visit in an entity named Destination. Client information is captured as contact records. Client records include links to the places that clients visit.
The company must be able to link multiple rating records to the new address record.
You find a custom Rating entity that is incomplete.
You need to expand the Rating entity to include contact, address, and rating information in one place.
Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
DRAG DROP
You need to select connectors for the app.
Which types of connectors should you use? To answer, drag the appropriate connectors to the correct requirements. Each connector 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: Create a custom connector
A custom connector is a wrapper around a REST API (Logic Apps also supports SOAP APIs) that allows Logic Apps, Power Automate, or Power Apps to communicate with that REST or SOAP API.
Box 2: Use an AppSource connector
You can only retrieve the Customer, UnifiedActivity, and Segments entities through the Power Apps connector. Other entities are shown because the underlying connector supports them through triggers in Power Automate.
Scenario: Customer information is stored in the Accounts entity.
Box 3: Use a native application function
You must produce a report that details the number of registrations for a day and send the report as a PDF to the management team.
Question 84Written Answer
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
Question 85Selectable Answer
You need to modify the Power Automate flow to resolve CustomerC’s issue.
What should you do?
Answer: Explanation:
Scenario: CustomerC requested additional information from the parts department through the customer survey and has not received a response one week later.
Reference: https://docs.microsoft.com/en-us/power-automate/sequential-modern-approvals
Question 86Selectable Answer
A company is migrating from an on-premises Dynamics 365 installation to a Power Platform solution. You are creating plug-ins for the new solution.
You need to register the plug-ins.
Which isolation mode should you use?
Answer: Explanation:
You will find options related to the isolation mode and location for the assembly. These refer to options that apply to on-premise deployments. Dataverse is not available for on-premises deployments, so you will always accept the default options of SandBox and Database for these options.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/register-plug-in
Question 87Selectable Answer
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, add a post Image to the plug-in step and include the Fields that the plug-in needs.
* Remove the retrieves statement from the plug-in code and reference the post image.
Does the solution meet the goal?
Answer:
Question 88Selectable Answer
You need to handle errors in UpdateRecord.js.
Which code segment should you add at line UR06?
Answer: Explanation:
The catch statement lets you handle the error.
Syntax: catch(err) {
Block of code to handle errors
}
Reference: https://www.w3schools.com/js/js_errors.asp
Question 89Selectable Answer
You plan to populate records in a Common Data Service entity containing an option set field.
The source system has the label for the option set but not the corresponding integer value.
You are using a non .NET programming language.
You need to find the integer value for the option set.
What should you do?
Answer: Explanation:
You can retrieve a global choice (option set) by name (label) using the RetrieveOptionSetRequest message.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/org-service/metadata-option-sets
Question 90Selectable Answer
You need to configure that the mobile app meets the requirements for phone entries.
Which expression should you use?
Answer: Explanation:
When a pharmacy is added by using the mobile app, the phone number must be validated to be all digits.
Note: The IsNumeric function tests whether a value is numeric. Other kinds of values include Boolean, string, table, and record.
The return value is a Boolean true or false.
Reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-isnumeric