Microsoft

PL-400 Free Practice Questions — Page 2

Question 11

HOTSPOT - You are building a canvas app for a company to display data from a Microsoft SharePoint list named Tasks. The list stores project tasks, including due dates. A collection named projectTasks is already declared in the app. The company maintains over 100,000 tasks across projects When users navigate to the main screen of the app or manually refresh the list, the main screen must display a list of all tasks that are beyond their due date. Outbound network calls to SharePoint must be minimized. You need to implement the functionality. Which Power Fx formula should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for PL-400 question 11
Show Answer
Correct Answer: ClearCollect projectTasks Filter(Tasks, 'DueDate' < Now())
Explanation:
Use ClearCollect to refresh the existing collection on screen load or manual refresh. Filter is delegable for SharePoint date comparisons, allowing overdue tasks to be filtered server-side and minimizing network traffic. Store the results in the existing projectTasks collection.

Question 12

You are writing C# code to create an alternate key in a table for two columns: Order ID and Order Date. The table has thousands of records. You use the CreateEntityKey message to create the key. When you retrieve EntityKeyMetadata.EntityKeyIndexStatus, it returns a value of Failed. You need to resolve the issue with the index creation. What should you do first?

A. Use the ReactivateEntityKey action.
B. Publish customizations.
C. Use the DeleteEntityKeyRequest message.
D. Delete duplicate combination values in Order ID and Order Date.
Show Answer
Correct Answer: D
Explanation:
A Failed EntityKeyIndexStatus when creating an alternate key most commonly indicates that the existing data cannot satisfy the required unique index. The first step is to identify and remove duplicate combinations of Order ID and Order Date so the unique index can be created successfully. Reactivating or republishing will not resolve duplicate data, and deleting the key is not the initial corrective action.

Question 13

DRAG DROP - You have two custom tables that have a parent-child relationship. The parent table value is formed by the fixed prefix ABC followed by a six-digit, auto-incrementing number. Each child table value appends a three-digit sequence starting at 001 to its associated parent table value, incrementing with each new child record. Child records are always linked to a parent. Each table requires a column that has a unique value, Low-code functionality must be used when possible. You need to implement the method that will create each unique value. Which method should you use? To answer, move the appropriate methods to the correct tables. You may use each method once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.

Illustration for PL-400 question 13
Show Answer
Correct Answer: Parent: Autonumber column Child: Plug-in
Explanation:
Use the built-in autonumber column for the parent's fixed-prefix sequential ID. The child value depends on the parent value plus a per-parent three-digit sequence, which requires custom logic best implemented in a plug-in.

Question 14

You are building an integration by using Dataverse. As part of a single request, the integration must create a new row if it does not already exist or update the existing row by using supported mechanisms. You need to validate which Dataverse features can implement the requirement. Which three Dataverse features can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

A. Client-side script
B. Cloud flow
C. Business rule
D. Plug-in
E. PCF control
Show Answer
Correct Answer: A, B, D
Explanation:
The requirement is an upsert (create if not exists, otherwise update) in Dataverse. Client-side code can invoke the Dataverse Web API upsert operation, cloud flows can perform upsert behavior using alternate keys or supported Dataverse actions, and plug-ins can use the Dataverse SDK UpsertRequest. Business rules only apply client/server-side field logic and cannot implement integration upsert operations, and PCF controls are UI components rather than integration mechanisms.

Question 15

HOTSPOT - A form in a model-driven app contains a custom command button with several rules that determine the button’s visibility and JavaScript registered on the OnLoad and OnSave events. You must address two issues with the form: • The command button is hidden but must be visible. • An unexpected behavior occurs when users save the form. You must determine whether it is caused by the JavaScript code. You need to troubleshoot the issues by using URL parameters. Which parameters should you append to the form URL? To answer, select the appropriate options in the answer area NOTE: Each correct selection is worth one point.

Illustration for PL-400 question 15
Show Answer
Correct Answer: Command button visibility: &ribbondebug=true Unexpected form save behavior: &flags=DisableFormHandlers=true
Explanation:
Use ribbon debug mode to inspect command visibility rules. Disable form handlers to determine whether OnLoad/OnSave JavaScript is causing the save behavior. The screenshot appears to contain a typo ('ture'); the intended parameter is 'true'.

Question 16

You develop a model-driven app in which client-side scripts are used extensively. Users report that forms load quickly but become unresponsive. You need to investigate the form issues before optimizing the forms. What should you do first?

A. Use a Quick View form.
B. Add the URL parameter &ribbondebug=true.
C. Remove unused forms from the app.
D. Enable Offline mode.
E. Disable form event handlers.
Show Answer
Correct Answer: E
Explanation:
The first investigation step is to isolate whether client-side JavaScript is causing the form to become unresponsive. Disabling form event handlers temporarily helps determine if custom scripts attached to form events are responsible before attempting optimization. The other options do not directly diagnose client-side script performance issues.

Question 17

A company uses Microsoft Power Platform for development. Developers for the company spend many hours deploying customizations in a single solution to several downstream environments. Developers do not have access to any Microsoft or third-party integrated developer environments (IDEs). You need to recommend a solution that automates deployment to the environment. What should you recommend?

A. Use production environments.
B. Use Azure DevOps.
C. Use the maker portal.
D. Create a configuration migration package.
Show Answer
Correct Answer: B
Explanation:
Azure DevOps can automate Microsoft Power Platform solution deployments using build/release pipelines and Power Platform Build Tools or pipelines, reducing manual deployment effort. The maker portal does not provide deployment automation, production environments are an environment type rather than an automation solution, and a configuration migration package is for moving configuration data, not automating solution deployment.

Question 18

A global company based in North America maintains several Dataverse instances, including instances based in Europe. A single Microsoft Entra ID tenant is used by the organization, with the default location of North America. Compliance rules dictate that data must remain within the European Union data boundary. You develop a plugin for the company. Users encounter an issue with the plug-in within an environment located in Germany. You are unable to replicate the issue in any other environment. You need to debug the issue in a separate environment in the default region of the company and adhere to all necessary compliance rules. What should you do?

A. Copy the environment.
B. Create a new developer environment. Register the plug-in.
C. Back up and restore the environment.
D. Create a new sandbox environment Register the plug-in.
Show Answer
Correct Answer: A
Explanation:
Use an environment copy. Copying an environment creates a separate environment in the same geography as the source, allowing reproduction and debugging without moving EU data outside the European data boundary. Creating a new developer or sandbox environment in the default North America region would require moving or recreating data outside the required EU boundary, and backup/restore cannot be used to restore an environment across regions for this purpose. Sources: https://learn.microsoft.com/en-us/power-platform/admin/regions-overview https://learn.microsoft.com/en-us/privacy/eudb/eu-data-boundary-learn

Question 19

HOTSPOT - You are implementing security features for a Dataverse plug-in that you created. The plug-in creates a Note whenever a user updates an Account row in Dataverse. The plug-in has the following security requirements: • Users must have edit-only restrictions for existing accounts that are not their own. • The plug-in must always trigger successfully. • All necessary privileges must be assigned to users within an existing Microsoft Teams site. • The principle of least privilege must always be followed. You need to implement the security features. Which features should you implement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for PL-400 question 19
Show Answer
Correct Answer: Security role Business Unit Update User Append Microsoft Entra ID Office Group
Explanation:
Security roles grant Dataverse table privileges. Business Unit Update allows users to edit records owned by others in their business unit without broader access. Creating a Note requires Append on the Note record (the Account needs Append To, but the available choice for the Notes table is Append). A Microsoft Teams site is backed by a Microsoft 365/Office Group, so assign the security role to a Microsoft Entra ID Office Group team.

Question 20

A company has a new implementation that will use Dynamics 365 Field Service. A developer adds two custom tables to the solution in a development environment. The custom tables have lookup columns to Field Service tables. The developer creates a new test environment and imports the solution. The developer receives an error that states dependencies are missing. You need to recommend a solution for the missing dependencies issue. What should you recommend?

A. Add the Field Service tables to the solution.
B. Export the solution as unmanaged.
C. Add the custom tables to the solution.
D. Install the Field Service application in test.
Show Answer
Correct Answer: D
Explanation:
The custom tables include lookup columns that depend on Microsoft Dynamics 365 Field Service tables. Those dependent tables are provided by the Field Service application. If the target environment does not have Field Service installed, the required components are missing and the solution import fails. Installing the Field Service application in the test environment satisfies the dependencies. Exporting as unmanaged does not resolve missing component dependencies, and adding Field Service tables to the solution is not the correct way to deploy first-party application components.

$19

Get all 409 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.