PL-500 study materials
PL-500 study resources

PL-500 practice questions

One question at a time. Build your PL-500 understanding.

First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.

Continue in the practice tool above to load more questions, 50 at a time.

Question 1Design RPA solutions

A desktop flow must run on a schedule at midnight on a machine where no user is signed in. Which run mode should the architect configure?

  1. Unattended Correct answer.
  2. Manually triggered from the desktop
  3. Attended
  4. Picture-in-picture

Explanation

Unattended run mode executes desktop flows on a registered machine without an interactive signed-in user session, which is exactly what an overnight schedule requires. Attended run modes depend on a logged-on user, so they cannot start when nobody is present.

Question 2Design RPA solutions

What must exist in the environment before a cloud flow can start a desktop flow on a specific Windows device?

  1. An on-premises data gateway installed on the device
  2. A registered machine for that device Correct answer.
  3. A service principal with a client secret
  4. A work queue bound to the device

Explanation

A device becomes a target for desktop flow runs only after it is registered to the environment as a machine with Power Automate for desktop installed. Cloud flows then reference that machine, or a machine group that contains it, when they launch the run.

Question 3Design RPA solutions

Which capability is characteristic of desktop flows in contrast with cloud flows?

  1. Driving the UI of a legacy Windows desktop application Correct answer.
  2. Calling a public REST endpoint over HTTPS
  3. Routing an approval request to a manager
  4. Triggering a flow when an email arrives in a shared mailbox

Explanation

Desktop flows automate the graphical interface of applications, including legacy Windows programs that expose no integration API. Mailbox triggers, REST calls, and approvals are service-level operations that cloud flows perform directly.

Question 4Design RPA solutions

Why should a cloud flow that starts a desktop flow be shipped inside a solution that uses connection references?

  1. Connection references remove the need to create connections in the target environment
  2. Connection references bind the flow to environment-specific connections Correct answer.
  3. Connection references encrypt the credentials stored in each connection
  4. Connection references automatically create the machines needed by desktop flows

Explanation

A connection reference is a solution component that points to a connection; the target environment supplies its own connection at import time without editing the flow. This keeps one solution portable across development, test, and production environments.

Question 5Design RPA solutions

Which Power Automate for desktop component captures a user's on-screen interactions and converts them into editable flow actions?

  1. Console
  2. Recorder Correct answer.
  3. Flow checker
  4. Selector builder

Explanation

The Recorder observes mouse clicks and keystrokes on the screen and translates them into desktop flow actions that the developer can then refine. It is the standard starting point for building UI automation quickly.

Question 6Design RPA solutions

What does a data loss prevention policy control in a Power Platform environment?

  1. The maximum number of flow runs allowed per 24-hour period
  2. The run history retention period for cloud flows
  3. The screen resolution available to desktop flow sessions
  4. Which connectors can be used together in one flow Correct answer.

Explanation

A DLP policy classifies connectors into Business, Non-business, and Blocked groups and prevents a flow from combining connectors from different groups. It is the primary guardrail for where business data may flow.

Question 7Design RPA solutions

Which environment should be used to validate a solution before it is promoted to production?

  1. A sandbox environment Correct answer.
  2. The production environment
  3. The default environment
  4. A trial environment that expires in 30 days

Explanation

A sandbox environment is a non-production environment used for development and testing, including validated desktop flow runs, before promoting the solution to production. The default environment is shared and not intended for controlled release testing.

Question 8Design RPA solutions

A desktop flow must start whenever a new row is added to a Microsoft Dataverse table. Which cloud flow trigger should be used?

  1. When an HTTP request is received
  2. When a row is added (Dataverse) Correct answer.
  3. Recurrence
  4. Manually trigger a flow

Explanation

The Dataverse row-added trigger fires when data changes, so a new record starts the cloud flow, which then calls the desktop flow. Event-based triggers avoid the latency and wasted runs of polling on a schedule.

Question 9Design RPA solutions

A company runs the same unattended desktop flow on five machines and wants any idle machine to process incoming work. What should be configured?

  1. A machine group containing the five machines Correct answer.
  2. A single machine configured with five parallel desktop flow sessions
  3. A separate cloud flow per machine, each with its own recurrence trigger
  4. An on-premises data gateway cluster fronting the five machines

Explanation

A machine group pools several machines so a desktop flow that targets the group is picked up by an available member. This provides scale-out and resilience without duplicating the flow for every device.

Question 10Design RPA solutions

Which Power Automate for desktop feature stores processing items with a status so that multiple flow runs can share the same backlog without duplicating work?

  1. The Recorder
  2. The UI element repository
  3. The flow checker
  4. Work queues Correct answer.

Explanation

Work queues hold items with statuses such as queued, in progress, and processed, so concurrent runs can claim different items and report outcomes. This is the standard pattern for scaling desktop automation over a backlog.

Question 11Design RPA solutions

An invoice clerk wants to start a desktop flow from their own desktop and watch it work while staying able to take over. Which run mode fits this requirement?

  1. Scheduled cloud flow
  2. Hosted process
  3. Unattended run mode
  4. Attended run mode Correct answer.

Explanation

Attended mode runs the desktop flow in the signed-in user's session with the user present, which suits someone who triggers the automation and can intervene. Unattended mode is designed for runs with no interactive user.

Question 12Design RPA solutions

What does picture-in-picture run mode provide for attended desktop flows?

  1. The flow runs with elevated administrator rights by default
  2. The flow runs only while the user's screen is locked
  3. The flow runs in an isolated session while the user keeps working Correct answer.
  4. The flow runs on a different machine that is a member of the same machine group

Explanation

Picture-in-picture executes the desktop flow in a separate Windows session on the same machine, so the automation interacts with its own desktop while the user continues in theirs. It preserves the attended model while avoiding interference between user and flow.

Question 13Design RPA solutions

A desktop flow fails intermittently because the target application window title includes the open document name. Which design change addresses the cause?

  1. Store the UI element with a wildcard selector in the repository Correct answer.
  2. Run the flow in picture-in-picture mode
  3. Switch to fixed coordinate-based clicking on the screen instead of selectors
  4. Add a longer delay before each UI action

Explanation

A wildcard or otherwise dynamic selector matches a window whose title varies, which removes the brittleness at its source. Delays and coordinate clicks only mask the problem and make the flow slower and more fragile.

Question 14Design RPA solutions

A business application occasionally stops responding during a desktop flow run. Which design approach handles this most reliably?

  1. Increase the default timeout and remove all error handling
  2. Split the flow into more subflows to reduce the failure chance
  3. Run the flow unattended so failures are not visible
  4. Add an On block error handler that retries and logs Correct answer.

Explanation

Block error handling lets the flow catch the failure, retry the step a bounded number of times, and record the outcome before continuing or escalating. Hiding or ignoring failures leaves work items unprocessed with no audit trail.

Question 15Design RPA solutions

Where should a desktop flow obtain the password used to sign in to a line-of-business application?

  1. From the flow run history details
  2. From a hard-coded value in a Set variable action
  3. From an Azure Key Vault secret referenced by the flow Correct answer.
  4. From a plain text file stored on the desktop of the target machine

Explanation

Secrets belong in Azure Key Vault and are retrieved at run time through Key Vault actions, so the credential never lives in the flow definition or on disk. This supports rotation and access auditing.

Question 16Design RPA solutions

Which statement explains why desktop flows should be stored and moved as part of a solution?

  1. Solutions let flows bypass data loss prevention policies
  2. Solutions convert desktop flows into cloud flows automatically
  3. Solutions remove the need to register machines separately in each environment
  4. Solutions let flows be exported and promoted with their dependencies Correct answer.

Explanation

A solution packages flows together with connection references and other components, so export and import carry the dependencies into the next environment. This is the basis for a repeatable release process.

Question 17Design RPA solutions

Which process is the strongest first candidate for automation?

  1. A process that requires frequent human judgement on exceptions
  2. A process whose application interfaces change every week
  3. A one-off process that runs twice a year
  4. A high-volume, rule-based process with structured input Correct answer.

Explanation

High-volume, deterministic processes with stable applications and structured input produce predictable benefit and low maintenance cost. Processes dominated by judgement or constant change are poor early candidates.

Question 18Design RPA solutions

What is the primary purpose of task mining in an RPA program?

  1. To generate desktop flow actions automatically from a recording
  2. To measure the CPU usage of machines during flow runs
  3. To estimate the licence cost of unattended runs
  4. To discover which user actions are repetitive and worth automating Correct answer.

Explanation

Task mining analyses recordings of how people work to identify repetitive steps and quantify automation potential. It informs which steps or processes should be automated before any build starts.

Question 19Design RPA solutions

Which factor most directly limits how many unattended desktop flows can run at the same moment in an environment?

  1. The number of cloud flow connections in the environment
  2. The size of the Dataverse database
  3. The number of solution layers deployed
  4. The number of idle machines or attended-enabled sessions available Correct answer.

Explanation

Every concurrent unattended run needs its own Windows session on an available machine, so concurrency is bounded by the machines or sessions you provide. Connections, database size, and solution layers do not provide execution sessions.

Question 20Design RPA solutions

How does a hosted machine differ from a hosted process in Power Automate?

  1. A hosted machine is a managed VM you configure; a hosted process is fully managed Correct answer.
  2. A hosted machine runs only cloud flows; a hosted process runs only desktop flows
  3. A hosted machine requires a data gateway; a hosted process never requires one
  4. A hosted machine is included in every standard licence, while a hosted process needs no licence at all

Explanation

A hosted machine is a Microsoft-managed virtual machine that you still set up and maintain with your own tooling and software. A hosted process instead uploads a packaged desktop flow and runs it on infrastructure that Microsoft operates and scales.

Question 21Design RPA solutions

An architect must run three unattended desktop flows at the same time. What is the sound design?

  1. Run them sequentially on a single machine with a work queue
  2. Register three machines and target a separate machine per run Correct answer.
  3. Convert the desktop flows to cloud flows so they run in parallel
  4. Run all three on one machine by enabling multiple unattended sessions per user

Explanation

Each concurrent unattended run occupies its own Windows session, so parallel execution comes from providing additional machines or sessions. Stacking runs onto a single machine session causes conflicts over the desktop, keyboard, and mouse.

Question 22Design RPA solutions

An architect is adding a cloud flow that must write to a SQL Server database hosted on a private network with no internet exposure. Which component must be included?

  1. A machine group with three members
  2. An on-premises data gateway Correct answer.
  3. A desktop flow session
  4. A work queue

Explanation

An on-premises data gateway provides the secure outbound relay between Power Platform cloud services and resources on a private network. Without it, the cloud flow cannot reach the database.

Question 23Design RPA solutions

Which combination best supports governance of an RPA program that spans several departments?

  1. Giving every maker in the tenant the Environment Admin role
  2. Allowing every connector in the Business group only
  3. Environments, DLP policies, and center of excellence review Correct answer.
  4. Disabling run history to protect sensitive data

Explanation

Separation into environments, DLP policies that constrain connector combinations, and a review board that vets automations before release together form the control framework. Broad admin rights or blanket connector rules remove the checks the program depends on.

Question 24Design RPA solutions

Which content should a process design document capture before development of a desktop flow begins?

  1. The machine group names and gateway settings
  2. The selector paths for each UI element
  3. The Power Automate licence SKUs assigned to each user
  4. The business steps, inputs, outputs, and exceptions Correct answer.

Explanation

The process design document describes the business process to be automated: its steps, inputs, outputs, systems, and exception paths. It gives developers and business owners an agreed baseline for build and testing.

Question 25Design RPA solutions

An application exposes a documented REST API and also has a Windows desktop interface. Which approach should the architect prefer, and why?

  1. UI automation, because it mirrors exactly what users do today
  2. Both at the same time so the results can be compared
  3. UI automation, because API access usually needs a premium licence
  4. API or connector actions first, UI automation as fallback Correct answer.

Explanation

APIs and connectors are far more stable and faster than UI automation, which breaks when the interface changes. UI automation is reserved for systems that offer no programmatic interface.

Question 26Design RPA solutions

A desktop flow signs in to a legacy application, and the designer expects that the sign-in may sometimes fail. Where should the designer place the steps that recover from the failure?

  1. In a Loop block that repeats the sign-in actions
  2. In an On block error block that wraps the sign-in actions Correct answer.
  3. In a Comment action placed after the sign-in actions
  4. In a Run application action placed before the sign-in

Explanation

An On block error block is attached to a group of actions and executes only when one of those actions raises an error, which keeps recovery logic scoped to the failing step. Recovery steps placed outside such a block run regardless of whether the sign-in succeeded.

Question 27Design RPA solutions

Several branches of one desktop flow repeat the same sequence of actions that formats a date string. Which design keeps that logic in a single place inside the flow?

  1. Move the actions into a scheduled cloud flow that runs before the desktop flow
  2. Create a subflow in the desktop flow and call it from each branch Correct answer.
  3. Copy the actions into each branch so every branch is self-contained
  4. Store the actions in a separate solution and import it whenever they are needed

Explanation

A subflow groups a reusable sequence of actions inside a single desktop flow and can be called from multiple points, so a change is made once. Copying the actions duplicates logic and forces every copy to be maintained.

Question 28Design RPA solutions

An invoice process must not post a payment until a manager approves any amount above a threshold. How should the designer model the approval?

  1. Use a cloud flow that sends an approval request and runs the desktop flow only after approval Correct answer.
  2. Split the process into two solutions so the approval happens outside of Power Automate
  3. Add a Wait action to the desktop flow so posting is delayed by one hour
  4. Run the desktop flow in attended mode so a manager can approve the payment

Explanation

Long-running human decisions belong in a cloud flow, where an approval action records the decision and resumes the process. The desktop flow then runs as a discrete step only when the decision is positive.

Question 29Design RPA solutions

A cloud flow passes a report folder path to a desktop flow. The path differs in development, test, and production, and the solution must be imported unchanged into each environment. Where should the path be stored?

  1. In an environment variable whose current value is set per environment Correct answer.
  2. Hard-coded inside the desktop flow's folder actions
  3. In a SharePoint list that the desktop flow reads at start-up
  4. As a default value in the desktop flow's input variable definition

Explanation

Environment variables hold configuration that varies by environment, and the current value is supplied when the solution is imported so the same solution package is reused. The cloud flow reads the variable and passes the value to the desktop flow as an input.

Question 30Design RPA solutions

A desktop flow creates a customer record in a line-of-business application and then writes the returned ID to Dataverse. When the flow fails after creating the record and is restarted, duplicate customers appear. Which design change best prevents the duplicates?

  1. Increase the delay before the Dataverse write so the first write completes
  2. Move the Dataverse write into a separate cloud flow that runs on a schedule
  3. Check for an existing record with the same business key before creating one Correct answer.
  4. Wrap the record creation step in a Retry action with a fixed retry count

Explanation

The flow must be idempotent so that a restarted run does not repeat work that already succeeded; checking a business key first lets the flow skip or resume instead of creating a second record. Retries and scheduling change timing but still allow the creation step to execute again.

Question 31Develop RPA solutions

In Power Automate for desktop, what does a UI element store together with the friendly name?

  1. The selector properties that identify a control in a window Correct answer.
  2. The machine group that the desktop flow will run on
  3. The Azure Key Vault secret used to sign in to the app
  4. The schedule that starts the desktop flow each day

Explanation

A UI element is a reusable reference that holds the selector identifying a control in an application window; actions then target that control by the element's name.

Question 32Develop RPA solutions

Which Power Automate for desktop tool captures mouse clicks and keystrokes on a running application and turns them into actions?

  1. The console
  2. The asset library
  3. The Recorder Correct answer.
  4. The flow debugger

Explanation

The Recorder observes clicks and keystrokes in a target application and generates the corresponding UI actions, which can then be edited in the designer.

Question 33Develop RPA solutions

A desktop flow must run on a user's computer while that user is signed in and watching the progress. Which run mode should be configured?

  1. Attended Correct answer.
  2. Queue-based
  3. Server-side through an on-premises data gateway
  4. Unattended

Explanation

Attended runs execute in an interactive, signed-in user session, which fits scenarios where a person monitors the flow or supplies input during execution.

Question 34Develop RPA solutions

Which variable data type holds only the values True or False?

  1. Boolean Correct answer.
  2. Number
  3. Text
  4. List

Explanation

Boolean variables can store only True or False and are typically used in conditions, loops, and action settings that accept a yes/no value.

Question 35Develop RPA solutions

Which block is used to define how a group of actions responds when one of those actions fails?

  1. Comment
  2. On block error Correct answer.
  3. For each
  4. If

Explanation

The On block error block wraps a group of actions and specifies the behavior when one fails, such as retrying or continuing execution at a label.

Question 36Develop RPA solutions

Which action loads the values of an Excel worksheet into a data table variable?

  1. Read from Excel worksheet Correct answer.
  2. Attach to Excel
  3. Launch Excel
  4. Write to Excel worksheet

Explanation

Read from Excel worksheet retrieves the content of a worksheet into a data table variable so the rows can be processed with loops and table actions.

Question 37Develop RPA solutions

Which action pauses a desktop flow until a specific application window becomes available?

  1. Set variable
  2. Go to
  3. If
  4. Wait for window Correct answer.

Explanation

Wait for window pauses execution until a window matching the specified title appears, preventing later actions from targeting an application that has not finished opening.

Question 38Develop RPA solutions

Which action repeats a set of actions once for each item in a list?

  1. Switch
  2. For each Correct answer.
  3. Block error
  4. If

Explanation

For each iterates over a list, data table rows, or another collection and executes the enclosed actions one time per item.

Question 39Develop RPA solutions

An action sometimes fails because a web page loads slowly. Which change reduces these intermittent failures without stopping the flow?

  1. Change the desktop flow to run in unattended mode
  2. Move the action into a subflow and call the subflow once
  3. Place the action inside a Comment block so it runs only once
  4. Configure the action to retry after a delay with a maximum number of attempts Correct answer.

Explanation

Transient failures are best handled by retrying the same action a defined number of times with an interval, which gives the page time to finish loading.

Question 40Develop RPA solutions

What does adding several machines to a machine group provide when an unattended desktop flow is triggered?

  1. A copy of the flow is stored on every machine in the group
  2. Runs are distributed so that an available machine picks up each run Correct answer.
  3. All machines share a single signed-in Windows user session
  4. The flow runs on all machines at once and the results are merged

Explanation

A machine group makes multiple machines available as targets, so triggered runs are queued and dispatched to whichever machine is free, improving throughput and availability.

Question 41Develop RPA solutions

A desktop flow signs in to an application with a username and password. Which approach stores the secret so it can be rotated and audited centrally?

  1. Put the password in a cloud flow variable before the desktop flow runs
  2. Store the credential in Azure Key Vault and reference it from the flow Correct answer.
  3. Type the password into an action field and save the desktop flow
  4. Store the password in a text file on each machine

Explanation

Secrets kept in Azure Key Vault are retrieved at run time, so they can be rotated and audited without appearing in the flow definition.

Question 42Develop RPA solutions

What is a subflow in Power Automate for desktop?

  1. A copy of a desktop flow saved under a different name
  2. A cloud flow that starts a desktop flow on a machine
  3. A named set of actions that can be called with optional parameters Correct answer.
  4. A scheduled run of the same desktop flow at a later time

Explanation

A subflow groups actions into a reusable unit with optional input and output parameters, and other parts of the flow invoke it with the Run subflow action.

Question 43Develop RPA solutions

Which prerequisite must be met before Power Automate for desktop can automate a web page in Microsoft Edge?

  1. The page is opened in Internet Explorer compatibility mode
  2. The page is added to the UI element repository as an image
  3. The Power Automate browser extension is installed and enabled Correct answer.
  4. The browser is started with all extensions disabled

Explanation

The browser extension relays information between the desktop flow and the browser so web elements can be addressed with selectors during automation.

Question 44Develop RPA solutions

A legacy application exposes no UI Automation or accessibility data for a button. Which approach lets the flow click that button?

  1. Read the button's name using the Get details of UI element action
  2. Capture the button as an image and click it with an image-based action Correct answer.
  3. Add a Wait for window action before every click
  4. Read the button's caption from an Excel worksheet

Explanation

When an application exposes no automation properties, image recognition locates the control on screen and the mouse action clicks the matched position.

Question 45Develop RPA solutions

Which action runs a PowerShell script and can return its output into a variable?

  1. Run DOS command
  2. Run PowerShell script Correct answer.
  3. Run Python script
  4. Run VBScript

Explanation

Run PowerShell script executes inline script or a script file and can store the standard output in a variable for later actions.

Question 46Develop RPA solutions

Why should a production desktop flow be stored inside a Power Platform solution?

  1. Solutions package the flow and its dependencies for export Correct answer.
  2. Solutions allow a desktop flow to run without a machine
  3. Solutions convert desktop flows into cloud flows
  4. Solutions reduce the number of actions a desktop flow can contain

Explanation

Solutions are the application lifecycle unit in Power Platform: they carry the flow together with connection references, environment variables, and other components between environments.

Question 47Develop RPA solutions

Which feature stores items of work so that several unattended machines can each take the next item to process?

  1. Work queues Correct answer.
  2. Environment variables
  3. Solution publisher
  4. UI element repository

Explanation

Work queues hold work items that unattended desktop flows take one at a time, which coordinates processing across multiple machines without duplicate handling.

Question 48Develop RPA solutions

A flow must work with an Excel workbook that a user already has open. Which action connects to that running instance?

  1. Read from Excel worksheet
  2. Launch Excel
  3. Attach to Excel Correct answer.
  4. Close Excel

Explanation

Attach to Excel binds to a workbook instance that is already open, so actions can read and write it without starting a second copy.

Question 49Develop RPA solutions

Which action writes a custom message to the desktop flow console so it can be reviewed in the run details?

  1. Comment
  2. Set variable
  3. Display message
  4. Write to console Correct answer.

Explanation

Write to console emits text during execution, and the message appears in the console log of the run, which helps with debugging and tracing.

Question 50Develop RPA solutions

Which action should be used when a variable's value must be compared against several discrete cases?

  1. Switch Correct answer.
  2. While
  3. For each
  4. If

Explanation

Switch evaluates one value against multiple defined cases and runs the matching branch, avoiding long chains of nested If actions.