PL-400 Sample Questions & Answers
Extending the platform with Dataverse plug-ins, custom connectors and platform APIs carries the most weight, alongside designing technical architecture, ALM and configuration, advanced canvas app features, client-side scripting, and data-sync integrations.
Launch the full PL-400 simulator →Showing 10 of 20 free samples.
- Question 1Beginner
Extend the platform · Create custom connectors
You are creating a custom connector for a third-party weather API. The API requires an API key to be sent in a request header named
x-api-key. You want to ensure that when a user creates a connection, they are prompted to enter this key, and it is securely stored and automatically added to every API call. Which configuration should you use in the custom connector's Security tab?Show answer & explanation
Correct answer: B
The
API Keyauthentication type is specifically designed for this scenario. Configuring it with the correct parameter name (x-api-key) and location (Header) will automatically create a field on the connection creation screen, securely store the user's input, and add it as the specified header to every outbound request from the connector. This is the simplest and most secure method for handling API keys. - Question 2AdvancedSelect 2
Extend the platform · Process workloads by using Azure Functions
A developer needs to implement a long-running business process in Power Automate that orchestrates several approvals and system updates over a period of days. The process must maintain its state and be resilient to system restarts. The developer wants to call this process from a canvas app and get a final status update upon completion. Which components should be used to achieve this? (Select TWO)
Show answer & explanation
Correct answers: C, E
Azure Durable Functions are designed for stateful, long-running orchestrations. They can maintain their state across system restarts and handle complex, multi-day processes reliably.
To call the Azure Durable Function from a canvas app or Power Automate, a custom connector is the standard mechanism. It provides the bridge between the Power Platform and the custom Azure-hosted logic.
- Question 3Intermediate
Extend the user experience · Apply business logic in model-driven apps using client scripting
You are writing a client-side script for a model-driven app form. The script needs to prevent a record from being saved if the value of the
estimatedclosedatefield is earlier than today's date. The script should also display a notification to the user explaining the error. Where should this logic be implemented?Show answer & explanation
Correct answer: C
The
OnSaveevent is the correct place to perform final validation before a record is committed to the database. TheexecutionContext.getEventArgs().preventDefault()method is used specifically within theOnSaveevent to cancel the save operation. After preventing the save,formContext.ui.setFormNotificationshould be used to display a clear error message to the user, explaining why the save was blocked. Placing this logic inOnLoadorOnChangewould be either too early or would not prevent saving if the invalid date was already present when the form loaded. - Question 4Intermediate
Extend the platform · Create a Dataverse plug-in
True or False: When a plug-in is registered in the 'Pre-validation' stage of the event execution pipeline, it executes outside the main database transaction.
Show answer & explanation
Correct answer: A
This statement is true. The 'Pre-validation' stage is the first stage in the pipeline and occurs before the main database transaction begins. It is intended for initial validation logic. If the plug-in throws an exception here, the entire operation is aborted without initiating a transaction that would need to be rolled back. The 'Pre-operation' and 'Post-operation' stages execute within the database transaction.
- Question 5Intermediate
Create a technical design · Design technical architecture
You need to create a Dataverse table to store IoT sensor readings that are written at a very high frequency. The table is expected to contain billions of records over time, and data will primarily be appended, not updated. Query performance for time-series analysis is critical. Which type of table should you create?
Show answer & explanation
Correct answer: C
Elastic tables are specifically designed for high-volume, append-heavy workloads like IoT data, logs, and telemetry. They are built on Azure Cosmos DB and offer horizontal scaling and performance benefits for handling massive datasets that standard Dataverse tables (built on Azure SQL) are not optimized for. Virtual tables are for data that resides in external systems, and standard tables are for typical business application data.
- Question 6Advanced
Extend the platform · Use platform APIs
A developer needs to update 10,000 Dataverse records from an external C# application. To optimize performance and respect API service protection limits, the developer decides to process the updates in parallel batches. Which message request class should be used to achieve the highest throughput?
Show answer & explanation
Correct answer: C
ExecuteMultipleRequestis specifically designed for bulk data operations. It allows you to package multiple message requests (likeUpdateRequest,CreateRequest, etc.) into a single call to the server. This significantly reduces the number of network round trips and is the most performant way to handle bulk operations. The server processes the requests in a more optimized fashion, often in parallel.ExecuteTransactionRequestgroups operations into a single transaction but is not optimized for high throughput likeExecuteMultipleRequest. A simple parallel loop ofUpdateRequestwould quickly hit API throttling limits. - Question 7Intermediate
Extend the platform · Configure Power Automate cloud flows
You are developing a Power Automate flow that is triggered when a file is added to a SharePoint library. The flow needs to read the file content and send it to a custom API for processing. The flow must be configured to only trigger for PDF files that are smaller than 10 MB. How should you implement this trigger condition?
Show answer & explanation
Correct answer: B
Using a Trigger Condition is the most efficient method. It filters events on the server side before the flow is initiated, which prevents unnecessary flow runs and saves API calls. Adding a
Conditioncontrol as the first action means the flow still runs for every file, consumes a run, and then terminates, which is inefficient. AFilter Queryis not available on this specific SharePoint trigger for file content properties. ASwitchcontrol would also require the flow to run first. - Question 8Intermediate
Implement Power Apps improvements · Implement advanced canvas apps features
A canvas app needs to display a list of accounts and their associated primary contact's full name and email address. The account and contact data are in separate Dataverse tables. To minimize API calls, you want to retrieve all the necessary data in a single query. The
Itemsproperty of the gallery should be set to the following: _____Show answer & explanation
Correct answer: B
With modern Dataverse relationships in canvas apps, you can directly access related record data using dot notation. By setting the
Itemsproperty simply toAccounts, you can then set theTextproperty of labels inside the gallery toThisItem.Namefor the account name,ThisItem.'Primary Contact'.'Full Name'for the contact's name, andThisItem.'Primary Contact'.Emailfor the email. Power Apps automatically handles the join in the background, which is highly efficient. UsingAddColumnswithLookUpwould result in the N+1 query problem, making a separate API call for every account in the gallery, which is extremely inefficient. - Question 9Intermediate
Extend the platform · Process workloads by using Azure Functions
You are developing an Azure Function that needs to query Dataverse. The function will be triggered by an HTTP request. For security, you must avoid storing any secrets or credentials in the function's application settings. The function and the Power Platform environment are in the same Azure tenant. Which authentication method should you use?
Show answer & explanation
Correct answer: C
Managed Identity is the most secure method for Azure resources to authenticate to services that support Microsoft Entra ID (formerly Azure AD) authentication, like Dataverse. By enabling a Managed Identity for the Azure Function, Azure manages the credential lifecycle automatically. You create an Application User in Dataverse that represents this identity and assign it a security role. The function can then acquire an access token without any secrets stored in its configuration, fulfilling the primary requirement.
- Question 10Beginner
Build Power Platform Solutions · Configure and troubleshoot Microsoft Power Platform
A data synchronization process between an on-premises SQL Server and Dataverse fails intermittently. The process uses a Power Automate flow with an on-premises data gateway. You need to diagnose the root cause of the failures. Which tool would provide the most detailed, real-time diagnostic information about the gateway's performance and errors?
Show answer & explanation
Correct answer: C
The on-premises data gateway application itself provides the most direct and detailed troubleshooting tools. It allows you to enable additional logging, view performance counters (CPU, memory), test network ports, and view logs that capture detailed information about requests, responses, and errors that occur at the gateway level. This is essential for diagnosing issues related to network connectivity, server performance, or gateway service problems that would not be visible in the Power Automate run history.
Ready for the real thing?
The full PL-400 simulator has every exam-style question, timed mode, and instant scoring.