Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Microsoft Power Platform Developer PL-400 Exam Questions

Last updated: · 11 practice questions with answers and explanations

Page: 1 / 27 Total 392 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Build Microsoft Power Platform solutions

Skill tested: Select an authentication design for a multi-component Power Platform solution.

A manufacturer is building a solution with a model-driven app, a canvas app, and a server-side process that calls an external inventory service. Users must sign in with their organizational identities, while the inventory integration must run unattended and must not depend on an employee's credentials. The solution's Dataverse data and apps are in the same environment. Which design best meets these requirements while keeping authentication responsibilities appropriate to each component?

Correct Answer: D. Use each user's Microsoft Entra identity for interactive app access, and use a dedicated application user with a client credential for the unattended server-side integration.
Explanation:

Interactive Power Apps access should use each user's organizational identity so Dataverse authorization reflects the individual. An unattended integration should use an application identity, represented in Dataverse by an application user, with permissions limited to its required operations. A shared user account or an employee password creates credential-management and accountability risks; distributing an application secret to clients exposes it and does not provide a secure unattended-service boundary.

Question 2

New Single answer

Topic: Build Microsoft Power Platform solutions

Skill tested: Choose the appropriate location for business logic based on execution and consistency requirements.

A sales organization needs a rule that prevents an order from being activated when its related customer is on credit hold. Orders are created and updated through a model-driven app, a canvas app, and an external integration. The rule must apply consistently regardless of the client, and users should receive a clear failure when activation is blocked. Where should the validation be implemented?

Correct Answer: C. In a synchronous Dataverse plug-in registered for the order activation operation.
Explanation:

A synchronous server-side plug-in enforces the rule for requests from all clients and can cancel the operation with an error before the transaction completes. Form JavaScript, canvas formulas, and form-scoped business rules only protect particular user interfaces; they do not reliably govern external integrations or other callers. A synchronous response is appropriate because the activation decision must be made before the operation succeeds.

Question 3

New Single answer

Topic: Extend the user experience

Skill tested: Implement PCF initialization and update behavior using the component framework lifecycle.

A team is developing a field-bound PCF control for a model-driven app. The control displays a formatted version of the bound value and must refresh when the field changes externally, without repeatedly adding duplicate DOM elements. The control must also notify the framework when the user edits the value. Which implementation pattern best fits the PCF lifecycle?

Correct Answer: B. Build the DOM once in init, read the latest bound value and update the existing DOM in updateView, and use notifyOutputChanged after user edits.
Explanation:

PCF calls init for setup and updateView when framework-provided property values or other relevant context changes. Creating the control's structure once and updating existing elements avoids duplicated UI during repeated updates. When the user changes the value, notifyOutputChanged tells the framework to retrieve the output through getOutputs and apply it through the normal binding path. Writing directly to Dataverse bypasses that component data-flow pattern.

Question 4

New Multiple answers

Topic: Extend the user experience

Skill tested: Configure a model-driven form event handler with the required execution context.

A model-driven app uses a JavaScript web resource to validate a form and display a notification. The function must access the form context reliably, run when the form loads, and be available in the target environment after solution import. Select TWO actions that satisfy these requirements. (Choose two.)

Correct Answer: C. Add the JavaScript web resource and its form event-handler registration to the solution, then publish the customizations.; D. Register the function as a form OnLoad handler and enable the option to pass execution context as the first parameter.
Explanation:

The OnLoad event is the required trigger, and enabling pass execution context supplies the event context that the function can use to obtain the form context. Including both the web resource and the form customization in the solution ensures they are transported together; publishing applies the changes. An OnSave handler does not meet the stated trigger, and relying on the deprecated global form reference is not the reliable context pattern. A library alone does not create an event registration.

Question 5

New Single answer

Topic: Extend the user experience

Skill tested: Diagnose PCF control manifest and packaging errors during deployment.

A developer's PCF control builds successfully and works in a local test harness. After importing its solution into a test environment, the control is absent from the target form's available controls. The developer confirms the control code is included in the package and the form was published. The control was intended to bind to a single-line text column, but its manifest declares a different property type. What is the best next action?

Correct Answer: A. Change the manifest property to the compatible text type, rebuild the component, and update and import the solution.
Explanation:

A PCF control's manifest declares its data properties and types, which determine the data the framework can bind to the component. A mismatch between the declared property type and the intended Dataverse column can prevent the control from being usable as expected. Correcting the manifest and rebuilding the solution addresses the binding contract. Form libraries, plug-in registration, and change tracking do not make a PCF control available on a form.

Question 6

New Multiple answers

Topic: Extend the user experience

Skill tested: Use PCF output notifications and framework APIs to update bound values correctly.

A dataset-bound PCF component lets users select a row and change a value displayed in the component. The changed value must be returned through the PCF framework so the host can process it, and the component must not make an unsupported direct write to Dataverse. Which TWO implementation choices follow the framework's output and update pattern? (Choose two.)

Correct Answer: C. Return the component's output value from getOutputs when the framework requests it.; D. Store the user's edited value in component state and call notifyOutputChanged when the output is ready.
Explanation:

PCF output changes follow a framework-managed sequence: the component records the user's change, calls notifyOutputChanged, and returns the output from getOutputs when requested. This allows the host to process the value using the control's declared binding. Direct Dataverse writes bypass that data flow, while notifying on every updateView can trigger needless processing and potentially repeated updates. Manifest property types are declared during development, not changed at runtime.

Question 7

New Multiple answers

Topic: Extend Microsoft Power Platform

Skill tested: Register plug-in stages and images to compare pre-operation and post-operation values.

A Dataverse plug-in must reject an update to a case when the new priority is lower than the priority that existed before the update. It should avoid a separate retrieve call, and the rejection must prevent the update from being committed. Select TWO configuration choices that meet these requirements. (Choose two.)

Correct Answer: C. Register a pre-image containing the priority column for the Update step.; D. Register a synchronous PreOperation Update step and compare the target value with the value in a pre-image.
Explanation:

A synchronous PreOperation step can inspect the proposed value in Target and cancel the transaction by throwing an appropriate plug-in exception if the rule fails. A pre-image supplies the prior priority value without an additional retrieve. A post-image represents values after the operation and an asynchronous PostOperation step cannot prevent the update from being committed. A Retrieve step is unrelated to validating an Update request.

Question 8

New Single answer

Topic: Extend Microsoft Power Platform

Skill tested: Use plug-in execution context to handle nested operations without recursion.

A plug-in registered on an Update message changes a related record, which causes another Update request and invokes the same plug-in again. The second invocation repeats the same work and may continue through additional nested operations. The plug-in should process the original request but avoid repeating its own logic for the nested request. What is the most appropriate approach?

Correct Answer: A. Use the execution context's Depth value to detect and exit the unintended nested invocation.
Explanation:

The execution context's Depth indicates the current nesting level of plug-in execution. A carefully designed depth guard can prevent the plug-in's own nested update from repeating its processing, while allowing the intended initial operation. The guard should be implemented with awareness of legitimate pipeline nesting rather than treating every parent context as invalid. Asynchronous execution does not eliminate requests caused by the plug-in, and broadening the message registration would increase unintended execution.

Question 9

New Single answer

Topic: Extend Microsoft Power Platform

Skill tested: Select a plug-in stage that can modify request data before persistence.

A Dataverse plug-in must normalize an account's external reference before the row is saved. The value should be changed within the original transaction, must apply to updates from every client, and should not require a second Update request. Which registration and implementation approach is best?

Correct Answer: A. Register a synchronous PreOperation plug-in on Create and Update, then modify the reference in the Target entity.
Explanation:

In PreOperation, the plug-in runs before the main platform operation and can change values on Target so the normalized value is saved as part of the original transaction. Registering for both Create and Update covers both entry paths, independent of client. PostOperation occurs after the main operation, so a second update would be needed and would add processing and recursion concerns. Client-side scripting would not cover other callers.

Question 10

New Single answer

Topic: Extend Microsoft Power Platform

Skill tested: Configure plug-in steps with correct message, filtering attributes, and execution mode.

A plug-in recalculates a derived field on a custom table when either the source amount or source rate changes. It must run only for updates that include one of those fields, and the recalculation must occur in the same transaction as the update. Select TWO registration choices that best satisfy the requirements. (Choose two.)

Correct Answer: C. Register a synchronous PreOperation Update step and specify the source amount and source rate as filtering attributes.
Explanation:

A synchronous PreOperation Update step can set the derived value on Target before persistence and within the update transaction. Filtering attributes restrict execution to Update requests that include one or both source columns, avoiding unnecessary plug-in work. An unfiltered step runs more often than needed; asynchronous processing is not part of the original transaction. Filtering only on the derived field does not express the source-change condition, and Delete is the wrong message.

Question 11

New Single answer

Topic: Develop integrations

Skill tested: Register a Dataverse webhook with a secure endpoint and appropriate authentication configuration.

A company needs Dataverse to notify a service hosted outside Dataverse when a high-priority case is created. The service has an HTTPS endpoint and supports authentication using a shared secret. The notification should be delivered as part of the event pipeline, but the service must not receive credentials in the request body. Which approach is most appropriate?

Correct Answer: D. Register a webhook for the relevant Create event, configure its endpoint and supported authentication data, and register a step for the case condition.
Explanation:

A Dataverse webhook is designed to send event data to an HTTP endpoint, and its registration includes endpoint and authentication configuration. The relevant step should be registered for the required message and table, with filtering or execution logic applied as needed for high-priority cases. A PCF control only acts in a client UI, while change tracking is a synchronization mechanism rather than a direct webhook push. Storing a secret in business data exposes credentials and does not create endpoint delivery.