Microsoft PL-400 Practice Test - Questions Answers, Page 3
List of questions
Question 21

You need to replace the bicycle inspection forms.
Which two solutions should you use? Each answer presents part of the solution.
NOTE: Each correct selection is worth one point.
a flow that maps inspection data to Dynamics 365 Field Service
a logic app that guides the technician through the inspection
a canvas app that guides the technician through the inspection
a model-driven app based on customer service entities
Explanation:
Scenario: The Adventure Works Cycles retail location performs bicycle inspections and performance tune-ups.
Technicians use paper forms to document the bicycle inspection performed before a tune-up and any additional work performed on the bicycle.
A: The Dynamics 365 Field Service business application helps organizations deliver onsite service to customer locations. The application combines workflow automation, scheduling algorithms, and mobility to set mobile workers up for success when they're onsite with customers fixing issues.
D: Compared to canvas apps, model-driven apps in PowerApps are based on underlying data тА" specifically, the data stored in Common Data Service (CDS). All model-driven apps are integrated into CDS. In fact, most Microsoft apps are integrated into CDS because most Microsoft apps, including the entire Dynamics 365 (D365) platform, are model-driven apps.
Incorrect Answers:
B: An Azure Logic App would not be fit for scale. Azure Logic Apps is a cloud service that helps you schedule, automate, and orchestrate tasks, business processes, and workflows when you need to integrate apps, data, systems, and services across enterprises or organizations.
Reference: https://docs.microsoft.com/en-us/dynamics365/field-service/overview https://global.hitachi-solutions.com/blog/canvas-vs-model-driven-apps
Question 22

You need to resolve CustomerB's issues with the check-in application.
Which two options can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Change LookUp to Filter
Change Filter to LookUp
Change Search to LookUp
Change LookUp to Search
Explanation:
CustomerB reports that the check-in app returned only one search result for their last name, which is not the correct name.
The Filter function finds records in a table that satisfy a formula. Use Filter to find a set of records that match one or more criteria and to discard those that don't.
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.
The Search function finds records in a table that contain a string in one of their columns.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup
Question 23

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 Common Data Service 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 webhook in the Common Data Service that connects to the Azure Function. Register a step on the webhook which runs synchronously on the record's Create message and in the post-operation stage.
Does the solution meet the goal?
Yes
No
Explanation:
Instead use asynchronous communication.
Question 24

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 Common Data Service 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 Common Data Service that connects to an Azure Service Bus queue.
Register a step at the endpoint which runs asynchronously on the record's Create message and in the port-operation stage.
Configure the Azure Function to process records as they are added to the queue.
Does the solution meet the goal?
Yes
No
Explanation:
Section: [none]
Microsoft Dataverse supports integration with Azure.
For the Dataverse and Azure connection to work, there must be at least one solution in an Azure Service Bus solution account, where the solution contains one or more service endpoints. For a queue endpoint contract, a listener doesn't have to be actively listening.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/azure-integration
Question 25

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 Common Data Service 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: Configure the Azure Function with a timer trigger that runs every five minutes. The function will query the Common Data Service and process records created in the last five minutes.
Does the solution meet the goal?
Yes
No
Explanation:
Instead use Azure Service Bus queue solution with asynchronous communication.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/azure-integration
Question 26

HOTSPOT
A company must copy customer account data changes from a Common Data Service (CDS) instance into an external system.
Azure Storage Queues are used to pass the changes from CDS to the external system.
You have the following code. (Line numbers are included for reference only.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Explanation:
Box 1: Yes
Box 2: Yes
Box 3: No
Either new/updated or removed/deleted.
Box 4: Yes
Question 27

HOTSPOT
A company updates their client contact information periodically. The contact entity has alternate keys defined.
You have the following code. (Line numbers are included for reference only.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Explanation:
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/use-alternate-key-create-record
Question 28

HOTSPOT
A company is building a new model-driven app.
The app must integrate with a number of on-premises and cloud solutions. No VPNs are in place.
You need to determine the method for each integration.
Which methods should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Explanation:
Box 1: Webhook
With Dataverse, you can send data about events that occur on the service to a web app by using webhooks. A webhook is a lightweight HTTP pattern for connecting web APIs and services with a publish-and-subscribe model. Webhook senders notify receivers about events by making requests to receiver endpoints with some information about the events.
Webhooks enable developers and ISVs to integrate Dataverse data with their own custom code hosted on external services.
Box 2: Azure Service Bus
Service Bus provides a secure and reliable communication channel between Dataverse runtime data and external, cloud-based line-of-business apps. This capability is especially useful in keeping disparate Dataverse systems or other
Dataverse servers synchronized with business data changes.
Box 3: Azure Event hub
Azure Event Hubs is a big data streaming platform and event ingestion service. It can receive and process millions of events per second. Data sent to an event hub can be transformed and stored by using any real-time analytics provider or batching/storage adapters.
Note: The most popular approaches in Dataverse involve webhooks, Azure messaging (Service Bus, Event Hubs), Azure Logic Apps, or Power Automate.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/why-cds-any-type-app
Question 29

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.
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
Question 30

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.
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.
Incorrect Answers:
Events - What happened.
Event sources - Where the event took place.
Reference:
https://docs.microsoft.com/en-us/azure/event-grid/event-handlers
https://docs.microsoft.com/en-us/azure/event-grid/overview
Question