PL-400: Microsoft Power Platform Developer Part 2
Question #: 97
Topic #: 3
You fix a bug in the code of your application, which is currently on version 10.0.2.1.
You need to publish an updated version of the solution.
Which version identifier should you use?
A. 10.0.3.1
B. 10.0.2.2
C. 10.1.0.2
D. 11.0.0
Selected Answer: B
Question #: 98
Topic #: 8
A company uses Microsoft Dataverse rollup fields to calculate insurance exposure and risk profiles for customers.
Users report that the system does not update values for the rollup fields when new insurance policies are written.
You need to recalculate the value of the rollup fields immediately after a policy is created.
What should you do?
A. Create new calculated fields on the customer entity for insurance exposure and risk. Create a formula to calculate the sum of values from policy records.
B. Change the frequency of the Calculate Rollup Field recurring job from every hour to every five minutes.
C. Create a plug-in that uses the update method for the rollup fields. Configure a step on the Create event for the policy entity for this plug-in.
D. Create a plug-in that uses the CalculateRollupFieldRequest method for the rollup field. Configure a step on the Create event for the policy entity for this plug-in.
Selected Answer: D
Question #: 99
Topic #: 22
You need to resolve the address validation API error.
Which method should you use to connect?
A. an Azure function triggered by a webhook
B. JavaScript code
C. a custom connector used in a cloud flow
D. a plug-in attached to a custom action called from JavaScript
Selected Answer: C
Question #: 105
Topic #: 1
A company plans to create an order processing app. When orders are created, the app will perform complex business logic and integrate with several external systems.
Orders that have a large number of line items may take up to six minutes to complete. Processing for each order must be completed in one operation to avoid leaving records in an incomplete state.
You need to recommend a solution for the company.
What should you recommend?
A. an asynchronous workflow that uses a custom workflow activity
B. a real-time workflow that uses a custom action
C. a webhook that connects to an Azure Function
D. an asynchronous plug-in
Selected Answer: C
Question #: 106
Topic #: 6
The communication department for a company plans to add a publicly accessible survey page to the company’s public website.
You must add the new survey page to the company’s public website and capture data from the page to a Common Data Service environment.
Explicit user credentials must not be required to write survey data to Common Data Service.
You need to implement authentication.
Which authentication mechanism should you implement?
A. ADFS
B. Azure AD Conditional Access
C. OAuth 2.0
D. Client secret
Selected Answer: C
Question #: 107
Topic #: 8
You are developing a Power Platform app.
The app must implement a two-way listener to an on-premises system by using Microsoft Azure Service Bus. You create an Azure Service Bus namespace and messaging entity. You must add the shared access policies.
You need to select the permissions for the messaging entity.
Which two permissions should you use? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. System customizer
B. Listen
C. Read
D. Send
E. Manage
Selected Answer: BD
Question #: 108
Topic #: 5
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
Selected Answer: CD
Question #: 115
Topic #: 7
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 designing a one-way integration from the Microsoft Dataverse to another system.
You must use an Azure Function to update the other system. The integration must send only newly created records to the other system. The solution must support scenarios where a component of the integration is unavailable for more than a few seconds to avoid data loss.
You need to design the integration solution.
Solution: Register a service endpoint in the Dataverse instance that connects to an Azure Service Bus queue.
Create and register an Azure-aware plug-in that uses the service endpoint.
Register a step on the plug-in that runs asynchronously on the record’s Create message and in the post-operation stage.
Configure the Azure Function to process records as they are added to the queue.
Does the solution meet the goal?
A. Yes
B. No
Selected Answer: A
Question #: 116
Topic #: 4
You create a Power Automate flow that retrieves data from a proprietary database.
You need to ensure that the flow works for other users.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Share a view with users.
B. Share the custom connector with users.
C. Share the flow with users.
D. Share the environment by giving permissions to the users.
Selected Answer: BC
Question #: 120
Topic #: 5
You are developing an app that uses Common Data Service.
You must integrate Common Data Service with a new web application. You must allow the new web application to display data from Common Data Service.
You build a single-page web application using the Web API.
You need to authenticate your app using OAuth.
What should you use?
A. Windows Communication Foundation (WCF)
B. Cross-Origin Resource Sharing (CORS)
C. Microsoft Authentication Library (MSAL)
D. Kerberos authentication
Selected Answer: C
Question #: 121
Topic #: 4
An organization implements Dynamics 365 Sales.
You need to trigger a business rule when the main form in saved.
What should you do?
A. Write a business rule to trigger on a change of ModifiedOn field.
B. Set the scope of the business rule to one specific form where business rule triggers.
C. Set the scope of the business rule to All Forms.
D. Set the scope of the business rule to Entity.
Selected Answer: D
Question #: 122
Topic #: 1
You are implementing custom business logic in a Power Apps portal.
You need to use Liquid templates to display dynamic content.
To which three entities can you include Liquid code? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Content snippet
B. Web page
C. Web template
D. Page template
E. Portal settings
Selected Answer: ACD
Question #: 123
Topic #: 3
An organization uses Dynamics 365 Sales. The organization has accounting and customer service departments.
You must restrict users in customer service from being able to change the value of the balance field on the Contact records. The accounting team must be the only team able to edit this field.
You need to create the appropriate solution without any customizations.
What should you do first?
A. Enable field security for the balance field and grant the customer service team read and update permissions.
B. Create a customer service form and role and make the balance field read-only.
C. Enable field security for the balance field and grant the accounting team read and update permissions.
D. Create an accounting form and role and make the balance field read-only.
Selected Answer: C
Question #: 124
Topic #: 6
The communication department for a company plans to add a publicly accessible survey page to the company’s public website.
You must add the new survey page to the company’s public website and capture data from the page to a Common Data Service environment.
Explicit user credentials must not be required to write survey data to Common Data Service.
You need to implement authentication.
Which authentication mechanism should you implement?
A. Microsoft 365
B. X.509 certificate
C. OAuth 2.0
D. Claims-based
Selected Answer: B
Question #: 131
Topic #: 4
A company implements Dynamics 365 Sales.
An email notification must be sent automatically to the sales manager when a business process completes.
You need to ensure that emails are sent.
What should you create on the process completed trigger?
A. a workflow
B. an action step
C. a data step
Selected Answer: A
Question #: 132
Topic #: 8
You are troubleshooting a new canvas app.
Users report the app loads slowly. You use the Monitor tool to view various events being performed in the app. Events performed in the app do not have formula details.
You need to enable formulas to be included with the Monitor tool events.
What should you do?
A. Add the Microsoft Azure Application Insights data source to the canvas app
B. After each event, implement the trace function within the canvas app
C. Turn on the Debug published app setting in the canvas app
D. Validate the Application Insights instrumentation key has been populated in the app object’s properties within the canvas app
Selected Answer: C
Question #: 137
Topic #: 7
A company plans to replicate a Dynamics 365 Sales database into an Azure SQL Database instance for reporting purposes. The Data Export Service solution has been installed.
You need to configure the Data Export service.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Enable auditing for all entities that must be replicated to Azure SQL Database.
B. Create an export profile that specifies all the entities that must be replicated.
C. Set up server-based integration.
D. Enable change tracking for all entities that must be replicated to Azure SQL Database.
E. Create an Azure SQL Database service in the same tenant as the Dynamics 365 Sales environment.
Selected Answer: BDE
Question #: 138
Topic #: 1
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?
A. None
B. Global Assembly Cache (GAC)
C. Sandbox
D. Disk
Selected Answer: C
Question #: 139
Topic #: 4
You create a Power Virtual Agents chatbot in an environment named Environment1. A colleague creates a Power Automate flow in the default solution in the default environment.
The chatbot in Environment1 does not recognize the flow in the default environment.
You need to ensure the chatbot can access the flow.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Add the Power Automate flow to a solution in Environment1.
B. Send a copy of the Power Automate flow from the default environment.
C. Add the Power Automate flow to a solution in the default environment.
D. Export the solution from the default environment and import the solution into Environment1.
E. Share the Power Automate flow from the default environment.
Selected Answer: CD
Question #: 140
Topic #: 3
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.
A. Create a 1:N relationship between the Contact system entity and the Address system entity named Destination.
B. Create a mapping for the Contact ג€” Rating relationship.
C. Create a 1:N relationship between the Address system entity and the Rating entity.
D. Create a 1:N relationship between the Contact system entity and the Rating entity.
E. Create a mapping for the Destination ג€” Rating relationship.
F. Create a 1:N relationship between the Destination entity and the Rating entity.
Selected Answer: CDF
Question #: 152
Topic #: 1
You are building a custom application in Azure to process resumes for the HR department.
The app will monitor submissions of resumes and parse the resumes.
You need to parse the resumes and save contact and skills information into the Common Data Service.
Which mechanism should you use?
A. Power Automate
B. Common Data Service plug-in
C. Web API
D. Custom workflow activity
Selected Answer: A
Question #: 153
Topic #: 3
A bank uses a Common Data Service solution to manage clients.
Bank representatives perform client credit checks while the client is present. Credit checks may take up to five minutes to complete.
Bank policy dictates that the bank representative’s app must stay blocked until credit checks are complete.
You need to display a model-driven app while credit checks run to ask the bank representative and client to wait for the credit check to complete.
Which function should you use?
A. Xrm.Navigation.openWebResource(“prefix.myPoliteMessage.html”)
B. Xrm.Navigation.openAlertDialog(myPoliteMessage)
C. Xrm.Utility.openWebResource(“prefix_myPoliteMessage.html”)
D. Xrm.Utility.showProgressIndicator(myPoliteMessage)
Selected Answer: D
Question #: 154
Topic #: 5
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
Selected Answer: A
Question #: 155
Topic #: 7
You are creating a Power Automate flow.
You create an Azure Service Bus listener app that receives requests from a third-party application.
When the flow calls the message queue, it must delete the message as soon as it is read.
You need to ensure that the queue is cleared properly.
Which method or class should you use?
A. ReceiveMode
B. BrokeredMessage
C. EventHubReceiver
D. EventHubSender
Selected Answer: A
Question #: 156
Topic #: 6
You are deploying a Power Apps app that uses the custom connector for ServiceNow.
The app loads very slowly for some users. You determine that all records from ServiceNow are being retrieved for every user.
The app must load only incidents that are assigned to each user.
You need to limit the number of records that the connector returns.
What should you do?
A. Apply a Lifecycle Services asset scope
B. Apply a business process flow
C. Apply the Azure APIM parameter
D. Apply a connector policy template
Selected Answer: D
Question #: 168
Topic #: 1
A Power Platform solution includes the following Web API call:
GET http://contoso.crm.dynamics.com/api/data/v9.1/RelationshipDefinitions?$select=SchemaName
You need to explain what this line of code is doing.
What does the code do?
A. Retrieve the list of relationships between tables.
B. Retrieve a list of tables that are related to each other.
C. Retrieve a list of one-to-many relationships with other tables.
D. Retrieve a list of tables that have more than one relationship.
E. Retrieve a list of many-to-many relationships with other tables.
Selected Answer: A
Question #: 169
Topic #: 5
You are creating a model-driven app.
A JavaScript function must be manually initiated by the user from within an entity form.
You need to add a button to the form to run the JavaScript.
What should you do?
A. Use the Ribbon Workbench.
B. Edit the SiteMap.
C. Edit the XML for the form.
D. Edit ISV.Config.
E. Export the ribbon definitions.
Selected Answer: A
Question #: 170
Topic #: 7
A company is creating a one-way integration from Microsoft Dataverse to an external system. Data will be sent from a webhook to an Azure Function.
You need to configure the Azure Function to handle data from the webhook.
Which class and data type must the Azure Function handle?
A. RemoteExecutionContext in .NET binary format
B. RemoteExecutionContext in JSON format
C. RemoteExecutionContext in XML format
D. IPluginExecutionContext in JSON format
E. IPluginExecutionContext in XML format
Selected Answer: B
Question #: 176
Topic #: 3
You create a Power Apps app that integrates with Dynamics 365 Customer Service.
You update the app and run solution checker on the original solution. You receive an error stating solution checker cannot export the solution.
You need to determine the primary cause for the issue.
What is the primary cause?
A. The original solution is locked because there is a dependent patch.
B. The solution was not exported before running solution checker.
C. The environment is in Administrator mode.
D. Solution checker cannot check default solutions.
Selected Answer: A
Question #: 177
Topic #: 6
A company needs to illustrate the relationships of the entities in Dynamics 365 Sales.
You need to select the appropriate tool to show this graphic.
Which tool should you select?
A. Metadata diagram
B. Sales Insights
C. Power Automate
D. Security model
Selected Answer: A
Question #: 184
Topic #: 1
You are creating a canvas app to retrieve user sign in information from Microsoft Azure Active Directory (Azure AD) when someone searches for information about an end user.
You create an Azure Function to retrieve the required information by using JSON.
You need to ensure that the application functions correctly.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Create a Power Automate flow to import data.
B. Create a custom connector by using the Azure Function API.
C. Use app designer in the Power Platform admin center.
D. Use Azure Service Bus.
E. Create an API definition for the Azure Function.
Selected Answer: BE
Question #: 187
Topic #: 2
A financial services company uses the Common Data Service (CDS) to develop solutions. The company uses development and production instances.
You need to move solutions from the development instance to the production instance.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. In the development instance, make changes to the solutions that are deployed in the production instance, export the solutions as managed solutions, and import the managed solutions into the production instance.
B. In the development instance, highlight the solution you want to make changes to, select Clone a Patch, make changes, export the solution, and import the solution into the production instance.
C. Export all managed solutions from the development instance and import the solutions into the production instance.
D. In the production instance, import solutions with the same version number or higher when updating solutions.
Selected Answer: AB
Question #: 188
Topic #: 4
You create a form in a model-driven app that uses data from the Lead table in a Microsoft Dataverse instance. You add a business rule to the Lead table. The business rule displays an error if the email address is null. You set the scope for the business rule to All Forms.
You configure a Power Apps portal by using the same Microsoft Dataverse instance. You create a web page by using the Lead form.
You need to ensure the same logic is applied on the Power Apps portal page.
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. Deactivate the business rule. Change the scope for the rule to Table and then reactivate the rule.
B. Replace the business rule logic with a Microsoft Power Automate cloud flow by using the Dataverse When a row is added, modified or deleted trigger.
C. Extend the webFormClientValidate JavaScript function to replace the business rule logic. Edit the code in Power Apps Studio. Add the function in a