Last updated: May 2026
PL-500 — Microsoft Power Automate RPA Developer
Test your knowledge with official exam-style questions
Questions and options are shuffled each attempt
▶Microsoft Certified: Power Automate RPA Developer Associate — Practice Set 1: All Questions & Explanations
Full question text, answer options, and explanations for this practice set — a spoiler-free alternative is the interactive quiz above for scored, shuffled practice.
1. Your organization wants to automate a legacy Windows desktop application that does not expose an API. You need to recommend the most appropriate Power Automate capability. What should you recommend?
- A. Power Automate cloud flow with an HTTP connector
- B. Power Automate desktop flow using UI automation(correct)
- C. Power Automate cloud flow with a custom connector
- D. Power Automate cloud flow with the Dataverse connector
Explanation: Desktop flows in Power Automate are specifically designed for UI-based automation of Windows applications that do not expose APIs. Cloud flows with HTTP or custom connectors require API endpoints, which the legacy application does not have.
2. You are designing an automation that must run without any human interaction overnight on a dedicated machine. Which run mode should you recommend for the desktop flow?
- A. Attended mode, because a user must be signed in
- B. Unattended mode, because it runs without user interaction(correct)
- C. Child flow mode, because the flow is triggered by a parent
- D. Scheduled mode, because it runs on a time trigger
Explanation: Unattended desktop flows run without user interaction on a machine that may be locked, making them ideal for overnight batch processing. Attended flows require an active user session.
3. You are designing a document processing automation. The solution must extract structured data from scanned invoices that arrive as image files. Which Microsoft AI capability should you recommend for use in a desktop flow?
- A. Azure Cognitive Services Text Analytics
- B. Optical character recognition (OCR) in desktop flows(correct)
- C. Power BI AI visuals
- D. Microsoft Copilot Studio knowledge sources
Explanation: Desktop flows include built-in OCR capabilities that can extract text from images and scanned documents. This is the recommended approach for processing image-based documents within a desktop flow without requiring external AI services.
4. You are an RPA developer designing an automation that must process a high volume of work items from multiple sources. You need to ensure items are processed in order and that failed items can be retried. Which Power Automate feature should you use?
- A. Machine groups with load balancing
- B. Work queues in Power Automate(correct)
- C. Scheduled cloud flows with recurrence triggers
- D. Business process flows in Microsoft Dataverse
Explanation: Work queues in Power Automate are designed to manage large volumes of work items. They support ordered processing, retry logic for failed items, and can be used across both cloud and desktop flows, making them the ideal fit for this scenario.
5. You are designing a cloud flow that must integrate with a third-party system that does not have a prebuilt Power Automate connector. The system exposes a REST API secured with OAuth 2.0. What should you build to enable this integration?
- A. A Power Automate desktop flow with HTTP actions
- B. A custom connector with OAuth 2.0 authentication(correct)
- C. An on-premises data gateway connection
- D. A Microsoft Dataverse virtual table
Explanation: Custom connectors allow you to define your own connector for any REST API. You can configure OAuth 2.0 as the authentication method, enabling the cloud flow to securely call the third-party system.
6. You are developing a cloud flow that calls a desktop flow to process files on a local machine. The cloud flow needs to pass the file path to the desktop flow and receive a processing result in return. Which cloud flow action should you use?
- A. Run a flow built with Power Automate for desktop(correct)
- B. Send an HTTP request to SharePoint
- C. Create an item in Microsoft Dataverse
- D. Start and wait for an approval
Explanation: The 'Run a flow built with Power Automate for desktop' action is the standard mechanism for a cloud flow to invoke a desktop flow. It supports passing input parameters to the desktop flow and receiving output values back.
7. You are developing a desktop flow that processes data from an Excel spreadsheet. You need to iterate over all rows and perform an action for each one. Which desktop flow action should you use to loop through the rows?
- A. For each loop with a datatable variable(correct)
- B. While loop with a counter condition
- C. Switch action with a case for each row
- D. Run subflow for each spreadsheet tab
Explanation: In Power Automate desktop flows, reading Excel data produces a datatable variable. The 'For each' loop is designed to iterate over datatable rows, processing each row in turn.
8. You are developing a cloud flow and need to parse a JSON response from an external API call. The JSON contains an array of order objects. You need to extract the value of the 'orderTotal' property from each object. Which approach should you use in the cloud flow?
- A. Use the Parse JSON action, then reference properties using dynamic content(correct)
- B. Use the Compose action to convert the JSON to a string and search for the value
- C. Use the Filter array action on the raw HTTP response body
- D. Use a desktop flow to parse the JSON using VBScript
Explanation: The Parse JSON action in cloud flows takes a JSON string and a schema, producing strongly-typed dynamic content. This allows subsequent actions to reference properties like 'orderTotal' directly using the dynamic content picker.
9. You are developing a desktop flow that interacts with a web browser to fill in a form. The target web application updates the DOM dynamically using JavaScript. The automation must wait for an element to appear before clicking it. Which approach should you use?
- A. Add a fixed Wait action of 10 seconds before each click
- B. Use the Wait for web page element action with a timeout(correct)
- C. Enable the Retry on error option on the click action
- D. Use a While loop with a fixed iteration count
Explanation: The 'Wait for web page element' action pauses execution until a specific DOM element appears or a timeout is reached. This is more reliable than fixed waits because it responds to the actual page state rather than assuming a fixed load time.
10. You are developing a cloud flow that processes sensitive customer data. You need to ensure that the input values passed to an action and the action's output are not stored in the flow run history. What should you configure?
- A. Enable the Secure Input and Secure Output settings on the action(correct)
- B. Set the flow's concurrency control to limit parallel executions
- C. Store the data in a Microsoft Dataverse restricted column
- D. Use a DLP policy to block the connector used by the action
Explanation: The Secure Input and Secure Output settings on a cloud flow action prevent the values from being recorded in the run history, protecting sensitive data from being visible in the flow execution logs.
11. You are developing a desktop flow. The flow interacts with an application that occasionally becomes unresponsive. You need to handle the scenario where the application fails to respond, log the error, and continue processing the next item. Which desktop flow construct should you use?
- A. On block error exception handling with a Continue flow run option(correct)
- B. A Wait action followed by a condition to check the application state
- C. A subflow that retries the operation up to three times
- D. A Retry policy configured on the Run desktop flow action in the cloud flow
Explanation: The 'On block error' exception handling construct in desktop flows catches system exceptions within a block of actions. Setting it to 'Continue flow run' allows the flow to log the error and proceed to the next iteration rather than failing the entire run.
12. You are building a custom connector for a cloud flow. The custom connector must call a REST API that requires API key authentication. You also need to apply a policy that rewrites the request URL before it is sent. Which two components should you configure in the custom connector? Choose 2.
- A. Set the authentication type to API Key(correct)
- B. Set the authentication type to Windows authentication
- C. Add a policy template to rewrite the URL(correct)
- D. Configure an on-premises data gateway connection
- E. Write a code script to append the API key to each request header
Explanation: Custom connectors support API Key as an authentication type, which automatically appends the key to requests. Policy templates — including URL rewrite policies — are a built-in custom connector feature that transform requests before they are sent to the backend API.
13. You are developing a cloud flow that must run a large number of desktop flow instances simultaneously. You need to implement work queues so that multiple desktop flows on different machines can dequeue and process items concurrently. Which combination of components correctly implements this pattern?
- A. A scheduled cloud flow that adds items to a work queue; multiple machine group desktop flows that use the Get work queue item action to dequeue and process items(correct)
- B. A manual cloud flow that sends items to a Service Bus queue; a desktop flow triggered by the queue that processes one item at a time
- C. A recurrence cloud flow that stores items in a SharePoint list; desktop flows triggered by list item creation to process each item
- D. An automated cloud flow triggered by Dataverse record creation; desktop flows that query Dataverse directly to find unprocessed records
Explanation: Power Automate work queues are specifically designed for this distributed processing pattern. A cloud flow populates the work queue with items, and multiple desktop flows running on a machine group use the 'Get work queue item' action to dequeue items and process them concurrently, with built-in retry and status tracking.
14. You are an RPA developer building a solution that includes a custom .NET action for a desktop flow. The action must expose two input parameters and one output parameter. You need to determine the correct way to package and deploy the custom action. What should you do?
- A. Create a .NET class library, annotate it with the required attributes, compile it as a .cab file, and upload it to the Power Automate portal as a custom action(correct)
- B. Write a PowerShell script with the required parameters and reference it using the Run PowerShell script action in the desktop flow
- C. Create a custom connector that wraps the .NET logic and call it from the desktop flow using the HTTP action
- D. Build a canvas app that calls the .NET code via Azure Functions and invoke the canvas app from the desktop flow
Explanation: Custom actions for Power Automate desktop flows are built as .NET class libraries using the Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK. The library is compiled and packaged as a .cab file, then uploaded to the Power Automate portal where it becomes available to desktop flows as a reusable action.
15. You are developing a cloud flow and need to call a child cloud flow that processes customer orders. The parent flow must pass an order ID to the child flow and receive a confirmation number in return. How should you configure the child cloud flow?
- A. Use a manual trigger and define the order ID as an input parameter; use the Respond to a PowerApp or flow action to return the confirmation number(correct)
- B. Use a recurrence trigger and store the order ID in a Dataverse table for the child flow to read
- C. Use an automated trigger on a SharePoint list and write the confirmation number back to the list
- D. Use an HTTP trigger and return the confirmation number in an HTTP response
Explanation: Child cloud flows use a manually triggered flow (Power Apps/Flow trigger) which allows defining typed input parameters. The 'Respond to a PowerApp or flow' action sends output values back to the calling parent flow, completing the request-response pattern.
16. You are an RPA developer and need to connect a cloud flow to an on-premises SQL Server database that is behind a corporate firewall. The cloud flow must read data from the database. What should you configure to enable this connectivity?
- A. An ExpressRoute circuit between the corporate network and Azure
- B. An on-premises data gateway installed on a machine in the corporate network(correct)
- C. A VPN gateway deployed in Azure
- D. A Microsoft Dataverse virtual table linked to the SQL Server
Explanation: The on-premises data gateway is the supported mechanism for cloud flows to connect to on-premises data sources such as SQL Server. The gateway is installed on a machine within the corporate network and acts as a bridge between the cloud flow and the on-premises resource.
17. You are developing a cloud flow and need to implement a retry policy for an HTTP action that calls an external REST API. The API occasionally returns a 429 (Too Many Requests) response. You need to configure the flow to retry the call up to four times with an exponential back-off interval. What should you configure on the HTTP action?
- A. Set the Retry Policy type to Exponential Interval with a count of 4(correct)
- B. Add a Condition action after the HTTP action that checks the status code and calls the HTTP action again
- C. Enable the Run After setting on the HTTP action to retry on failure
- D. Set the Retry Policy type to Fixed Interval with a count of 4 and an interval of 60 seconds
Explanation: Cloud flow actions expose a Retry Policy setting. Selecting 'Exponential Interval' with a count of 4 instructs the flow to retry the action up to four times with increasing delays between attempts, which is appropriate for handling rate-limiting responses like HTTP 429.
18. Your organization has separate development, test, and production environments in Power Platform. You need to move a desktop flow solution from the development environment to the test environment. Which approach should you use?
- A. Recreate the desktop flow manually in the test environment
- B. Export the solution from development and import it into the test environment(correct)
- C. Share the desktop flow directly with users in the test environment
- D. Copy the Power Automate portal URL and open it in the test environment
Explanation: Power Platform Application Lifecycle Management (ALM) uses solutions to package and move components between environments. Exporting the solution from development and importing it into test is the correct ALM approach for promoting automation components.
19. You are an RPA developer configuring machines to run unattended desktop flows. You need to register multiple machines and have them share the processing load for a high-volume queue. What should you configure?
- A. Register each machine individually and assign flows to specific machines by name
- B. Create a machine group, add all machines to it, and configure the desktop flow to run on the machine group(correct)
- C. Install the on-premises data gateway on each machine and configure connection pooling
- D. Create a virtual network and connect all machines to a shared Power Automate environment
Explanation: Machine groups in Power Automate allow multiple machines to share a pool of desktop flow work. When a flow is assigned to a machine group, Power Automate automatically load-balances execution across available machines in the group.
20. You are reviewing a Power Platform DLP policy for your organization. A cloud flow uses a custom connector to call an internal API. The DLP policy classifies the custom connector in the 'Blocked' group. What will happen when the cloud flow runs?
- A. The flow will run but skip the action that uses the blocked custom connector
- B. The flow will be suspended and the owner will receive a notification
- C. The flow will fail to run because the custom connector is blocked by the DLP policy(correct)
- D. The flow will continue to run until the next DLP policy refresh
Explanation: DLP policies in Power Platform enforce connector groupings at run time. If a connector is in the 'Blocked' group, any flow that references that connector will fail to execute. The flow maker must remediate the flow or request the connector be reclassified.
21. Your organization uses a shared service account to run unattended desktop flows. You need to store the service account credentials securely so they can be used by Power Automate without exposing the password to individual developers. What should you use?
- A. Store the credentials in a Power Automate environment variable of type text
- B. Configure a credential object in Power Automate using Azure Key Vault(correct)
- C. Embed the username and password in the desktop flow as secure variables
- D. Create a Dataverse table to store encrypted credentials
Explanation: Power Automate supports credential management via Azure Key Vault integration. Credentials stored in Key Vault can be referenced in desktop flow machine configurations, ensuring passwords are never exposed to developers while still being available for unattended execution.
22. You are configuring security for an RPA solution. Developers must be able to create and edit desktop flows. Business users must be able to run the desktop flows but not modify them. Which two security role assignments should you configure? Choose 2.
- A. Assign developers the Environment Maker role in the Power Platform environment(correct)
- B. Assign business users the Desktop Flow User role in the Power Platform environment(correct)
- C. Assign developers the System Administrator role in all environments
- D. Assign business users the Environment Maker role so they can trigger flows
- E. Assign business users the Basic User role in the Power Platform environment
Explanation: The Environment Maker role allows developers to create and manage resources including desktop flows. The Desktop Flow User role grants business users the ability to run desktop flows without the ability to create or modify them, following the principle of least privilege.
23. Your organization runs unattended desktop flows on a machine group with four machines. Over the past week, you have noticed that some desktop flow runs are failing with a 'No machine available' error during peak processing hours. All four machines are registered and show as available. You need to determine the root cause and resolve the issue. What is the most likely cause?
- A. The machines are not licensed for unattended RPA and require additional capacity licenses
- B. The concurrency limit on the cloud flow trigger is set to 1, preventing parallel desktop flow runs
- C. The number of concurrent desktop flow runs exceeds the available machine sessions, requiring additional machine capacity or session licenses(correct)
- D. The on-premises data gateway installed on the machines is throttling concurrent connections
Explanation: Each machine supports a limited number of concurrent unattended desktop flow sessions based on licensing. If the number of queued flows exceeds the total available sessions across the machine group, additional runs will receive a 'No machine available' error. The resolution is to add more machines to the group or acquire additional unattended RPA session licenses.
24. You are an RPA developer. A desktop flow must read a configuration value (an environment URL) that differs between development, test, and production environments. The value must be changeable after deployment without modifying the desktop flow itself. How should you implement this?
- A. Hardcode the URL in the desktop flow and update it manually after each deployment
- B. Use a Power Platform environment variable of type text to store the URL and reference it in the desktop flow(correct)
- C. Store the URL in a Dataverse table and query it at the start of the desktop flow run
- D. Pass the URL as an input parameter from a cloud flow that reads it from a SharePoint list
Explanation: Power Platform environment variables are the recommended solution for managing configuration values that differ between environments. They are stored within the solution and can be updated per-environment during import without modifying the desktop flow, making them the correct ALM-compliant approach.
25. You need to analyze the execution history of desktop flows in your Power Platform environment to identify which runs failed and review their error details. Where should you go to find this information?
- A. The Power BI activity log dashboard for Power Automate
- B. The Monitor section of the Power Automate portal, under Desktop flow runs(correct)
- C. The Microsoft 365 compliance center audit logs
- D. The Azure Monitor workspace linked to the Power Platform environment
Explanation: The Power Automate portal includes a Monitor section that provides detailed run history for both cloud flows and desktop flows, including run status, duration, error details, and machine information. This is the primary tool for analyzing desktop flow execution history.