Microsoft PL-400 Exam (page: 14)
Microsoft Power Platform Developer
Updated on: 15-Dec-2025

Viewing Page 14 of 80

HOTSPOT (Drag and Drop is not supported)
A manufacturing company takes online orders.

The company requires automatic validation of order changes. Requirements are as follows:
-If validation is successful, the order is submitted.
-If exceptions are encountered, a message must be shown to the customer.

You need to set up and deploy a plug-in that encapsulates the rules.

Which options should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: PreValidation

PreValidation: For the initial operation, this stage will occur before the main system operation.
This provides an opportunity to include logic to cancel the operation before the database transaction.

Box 2: Synchronous
Ideally, you should only cancel operations using synchronous plug-ins registered in the PreValidation stage. Box 3: Pre Image
Box 4: throw ..
When you throw an InvalidPluginExecutionException exception within a synchronous plug-in an error dialog with your message will be displayed to the user.


Reference:

https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/event-framework https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/handle-exceptions



DRAG DROP (Drag and Drop is not supported)
You are designing new functionality for an existing model-driven app.
A field must display multiple selections to the user, enabling the user to select a value.
You need to determine which column type can support the required scenarios.
Which column type should you use? To answer, drag the appropriate column types to the correct scenarios. Each column 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.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Lookup
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.
Besides the normal formula operators, you can use the in and exactin operators for substring matches.
[!INCLUDE [record-scope]../../includes/record-scope.md)]
Example:
Filter(IceCream, OnOrder> 0) - Returns records where OnOrder is greater than zero.

Box 2: Global choice and Lookup

Box 3: Global choice
A choice column provides a list of values for users to pick from. They help streamline data entry in turn ensuring clean data. There are two types - local and global.
Local choices can are local to the table and column that they are created for. They cannot be reused on other tables. For example, a list of statuses for an application may not apply anywhere else (e.g. Submitted, In Review, Approved, Rejected). On the other hand, global choices are available across all tables and columns allowing them to be reused.


Reference:

https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-filter-lookup https://thepoweraddict.com/how-to-work-with-choice-columns-in-dataverse/



You create a plug-in to validate data.
Users report that validation is not working as expected.
You need to debug the plug-in.
Which tool should you use?

  1. Plug-in profiler
  2. Power Platform Tools for Visual Studio
  3. Plug-in dashboard
  4. Plug-in Registration Tool

Answer(s): A

Explanation:

Because the plug-in executes on a remote server, you cannot attach a debugger to the plug-in process. The plug-in profiler captures a profile of an executing plug- in and allows you to re-play the execution of the plug-in using Visual Studio on your local computer.

Install plug-in profiler
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.

Start profiling
Follow these steps to begin profiling a plug-in's execution.
1. In the Plug-in Registration tool, select the (Step) BasicPlugin.FollowupPlugin: Create of account step you registered earlier, and click Start Profiling.
2. When presented with the Profiler Settings dialog, accept the default settings and click OK to close the dialog.


Reference:

https://docs.microsoft.com/en-us/power-apps/developer/data-platform/tutorial-debug-plug-in



DRAG DROP (Drag and Drop is not supported)
You are creating a Web API.
The API must be able to perform the following actions:
-Create a column in a Microsoft Dataverse table.
-Update a column for an existing row.

Which HTTP methods should you use? To answer, drag the appropriate HTTP methods to the correct requirements. Each HTTP 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.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: POST

Create table definitions
To create a table definition, POST the JSON representation of the entity definition data to the EntityDefinitions entity set path. The entity must include the definition for the primary name attribute. You don't need to set values for all the properties. The items on this list except for Description are required, although setting a description is a recommended best practice.

Box 2: PATCH

Basic update
Update operations use the HTTP PATCH verb. Pass a JSON object containing the properties you want to update to the URI that represents the record.


Reference:

https://docs.microsoft.com/en-us/power-apps/developer/data-platform/webapi/create-update-entity-definitions-using-web-api
https://docs.microsoft.com/en-us/power-apps/developer/data-platform/webapi/update-delete-entities-using-web-api



HOTSPOT (Drag and Drop is not supported)
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.

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Viewing Page 14 of 80



Share your comments for Microsoft PL-400 exam with other users:

Chiranthaka 9/20/2023 11:15:00 AM

very useful.
Anonymous


Jeya 9/13/2023 7:50:00 AM

its very useful
INDIA


Chiranthaka 9/20/2023 11:22:00 AM

very useful!
Anonymous