Courseiva

UiPath Automation Developer Associate (UiPath-ADAv1) — Questions 151–225

285 questions total · 4pages · All types, answers revealed

Page 2

Page 3 of 4

Page 4
151
MCQmedium

A developer stores a DataTable named dtOrders that was read from an Excel file. They need to keep only the rows where the column "Status" equals "Open" and store the result in a new DataTable variable called dtOpenOrders. Which activity should they use to accomplish this with the least configuration effort?

A.Remove Data Row activity executed repeatedly until only rows where Status equals "Open" remain
B.Filter Data Table activity with the condition Status = "Open" configured in the Filter Wizard
C.For Each Row activity with an If activity inside that adds matching rows to a second DataTable
D.Select method on the DataTable with a lambda expression that returns rows where Status equals "Open"
AnswerB

The Filter Data Table activity is purpose-built for this scenario: it accepts an input DataTable, applies row/column filter conditions defined in its wizard (such as Status = "Open"), and outputs a new DataTable without any loop or LINQ code. It is the native, least-effort approach for filtering a DataTable by a column value inside a UiPath Studio sequence.

Why this answer

Filtering rows by a column value is a standard DataTable operation, and UiPath provides the Filter Data Table activity specifically for it. Configuring the condition Status = "Open" in the activity's wizard produces a new DataTable in one step, preserving the source table. Loop-based alternatives or DataTable.Select require more activities or type conversions that this scenario does not call for.

Exam trap

The trap here is assuming that DataTable.Select returns a DataTable, when it actually returns a DataRow array that would need additional conversion.

152
MCQhard

Refer to the exhibit. What is the most likely cause of this exception when iterating through a list?

A.The list is null.
B.The index is greater than or equal to the count of items in the collection.
C.The list contains duplicate items.
D.The list items are of different types.
AnswerB

This is the classic cause of an ArgumentOutOfRangeException. If you attempt to access `list(10)` when the list only contains 10 items (indices 0 to 9), the runtime will raise this exception because the requested index is outside the valid bounds of the collection.

Why this answer

An ArgumentOutOfRangeException occurs when code attempts to access a list element at an index that does not exist. This is a common logic error in loops. Understanding this helps developers ensure their loop bounds are correctly calculated.

Preventing these errors is essential for avoiding data processing crashes, especially when dealing with dynamic data sets that change size during runtime.

Exam trap

Candidates often confuse this with a 'NullReferenceException'. They fail to recognize that accessing an index equal to the collection count is a classic off-by-one error causing ArgumentOutOfRangeException.

153
Multi-Selecthard

A UiPath developer is preparing to publish a package to Orchestrator so that it can be run by Unattended Robots. The developer must ensure the package is versioned correctly and that the process can be executed by the intended robots. Which TWO actions are required to make the process runnable? (Choose two.)

Select 2 answers
A.Install UiPath Studio on the machine where the Unattended Robot runs
B.Set the package version to a fixed value such as 1.0.0 and never increment it
C.Manually copy the .nupkg file to each robot's local NuGet cache folder
D.Create a process in Orchestrator that references the published package and assign it to an environment
E.Publish the project as a NuGet package to a feed accessible by Orchestrator
AnswersD, E

A process in Orchestrator ties a specific package version to an environment containing the target robots. Assigning the process to an environment makes it available for execution by the robots in that environment. Without this association, the package exists in the feed but cannot be run by any robot.

Why this answer

To make a process runnable by Unattended Robots, the developer must first publish the project as a versioned NuGet package to a feed Orchestrator can access. Then, an Orchestrator process must be created that references that package and is assigned to an environment containing the target robots. These two steps connect the code artifact to the runtime infrastructure and enable execution.

Exam trap

The trap here is assuming that publishing alone makes a process runnable, when Orchestrator still requires a process definition tied to an environment before robots can execute it.

154
MCQhard

A developer is building an automation that reads a large CSV file into a DataTable and then needs to keep only rows where the 'Status' column equals 'Active' and the 'Region' column equals 'EMEA'. The developer wants to avoid iterating through every row. Which method should be used to produce the filtered DataTable?

A.Use a For Each Row activity and an If activity to remove non-matching rows with Remove Data Row.
B.Use the Sort Data Table activity with the 'Status' column and then delete rows from the top.
C.Use the Filter Data Table activity with two conditions joined by the AND operator.
D.Use the Select method on the DataTable with a filter expression and assign the result to a DataRow array.
AnswerC

Filter Data Table is designed to filter rows based on one or more column conditions and can combine them with AND or OR. Setting Status = 'Active' AND Region = 'EMEA' produces the required subset without any explicit loop, which is the most efficient and maintainable approach for this scenario.

Why this answer

Filter Data Table evaluates column conditions and returns only matching rows, supporting AND/OR combinations natively. This satisfies the requirement to avoid row-by-row iteration and produces a DataTable directly. The other options either iterate, return a different data structure, or do not filter at all, making them unsuitable for this scenario.

Exam trap

The trap here is confusing the DataTable.Select method, which returns an array, with Filter Data Table, which returns a filtered DataTable.

155
MCQmedium

A developer is building an unattended process that reads a queue of invoice items. For each transaction, the process must attempt to extract data from a PDF. If extraction fails, the item should be retried up to two more times, and after all retries are exhausted, the item should be marked as failed without stopping the entire job. The developer places the extraction logic inside a Try Catch block within a Retry Scope activity. Which configuration correctly ensures that each failed attempt is retried and that the final failure is handled gracefully?

A.Place the Try Catch inside the Retry Scope, set the Retry Scope NumberOfRetries property to 2, and leave the Catch block empty.
B.Place the Retry Scope inside the Catch block, set the NumberOfRetries property to 2, and place the extraction logic in the Try block.
C.Place the Retry Scope inside the Try block, set the NumberOfRetries property to 3, and place a Catch block for System.Exception that marks the item as failed.
D.Place the Retry Scope inside the Try block, set the NumberOfRetries property to 2, and place a Catch block for System.Exception that marks the item as failed.
AnswerD

This configuration places the Retry Scope around the extraction logic, so each failed attempt triggers a retry up to the NumberOfRetries limit. After the retries are exhausted, the Retry Scope throws the exception, which is caught by the Catch block that marks the item as failed, allowing the process to continue with the next item.

Why this answer

The Retry Scope must wrap the action that can fail so it can re-execute that action on failure. The Try Catch must wrap the Retry Scope so that when retries are exhausted, the resulting exception is caught and handled by marking the item as failed. Setting NumberOfRetries to 2 gives two retries after the initial attempt, matching the requirement.

An empty Catch block would suppress the error and prevent proper item status updates.

Exam trap

The trap here is confusing the nesting order: placing Try Catch inside Retry Scope causes the first failure to be swallowed, so no retries occur, while placing Retry Scope inside Try Catch ensures retries happen before the exception is caught.

156
Multi-Selecthard

A developer is building a workflow that reads rows from a DataTable and, for each row, must decide whether to process the row or skip it based on a status column. The developer wants to use a For Each Row activity and control the loop from inside its body. Which TWO activities can be placed inside the For Each Row body to alter the normal iteration? (Choose two.)

Select 2 answers
A.Break
B.Continue
C.Throw
D.Terminate Workflow
E.Delay
AnswersA, B

The Break activity immediately terminates the innermost loop in which it is placed. Inside a For Each Row body, placing Break causes the loop to stop processing further rows and execution continues with the activity that follows the loop. This is one of the two activities in the scenario that can alter normal iteration, satisfying the requirement to exit the loop early based on a condition.

Why this answer

Break and Continue are the two loop-control activities that can be placed inside a For Each Row body to change iteration behavior. Break exits the loop entirely, while Continue skips the rest of the current iteration and moves to the next row. Terminate Workflow, Throw, and Delay do not provide this kind of iteration control and would either end the process, raise an error, or simply pause execution.

Exam trap

The trap here is confusing activities that stop the whole workflow, such as Terminate Workflow, with activities that only affect the current loop, such as Break and Continue.

157
MCQmedium

What is the primary technical advantage of using 'Fuzzy Selectors' within the Object Repository for web-based UI automation?

A.They provide faster execution times compared to standard selectors.
B.They enable the automation to ignore all attribute values completely.
C.They allow for resilient matching despite minor changes in element attributes.
D.They are the only way to interact with non-standard UI elements.
AnswerC

The core strength of fuzzy matching is its ability to handle minor variations, such as slightly different text labels or attribute values. This prevents the automation from crashing when the application undergoes small, non-functional UI tweaks. This resilience is a critical feature for building stable, long-running automation processes in web environments.

Why this answer

Fuzzy selectors allow for a degree of flexibility by matching elements even when minor attribute discrepancies occur. This is achieved through the 'fuzzy level' configuration, which determines the sensitivity of the match. By accommodating small variations in text or attribute values, fuzzy selectors prevent the automation from failing due to trivial changes in the application's front-end, making the bot significantly more resilient to unstable UI environments.

Exam trap

Candidates often confuse fuzzy selectors with dynamic selectors, assuming fuzzy selectors handle changing IDs or variable text automatically without needing configuration or understanding the fuzzy level property.

158
MCQhard

A developer wants to trigger a process when a new file is added to a specific SharePoint folder. The process should start within minutes of the file upload. Which Integration Service feature should be used?

A.Use a time-based trigger in Orchestrator to check the SharePoint folder every minute.
B.Create a connection to SharePoint and use the 'File Created' trigger in Integration Service.
C.Create an Orchestrator queue and add an item when a file is uploaded via a separate monitoring script.
D.Configure a webhook in SharePoint to call an Orchestrator API endpoint that starts the process.
AnswerB

Integration Service provides connectors with event triggers, such as 'File Created' for SharePoint. By creating a connection and configuring this trigger, the process can be started automatically when a new file is detected. This meets the near-real-time requirement without polling, as the trigger subscribes to SharePoint events.

Why this answer

Integration Service offers native event triggers for various connectors, including SharePoint. The 'File Created' trigger listens for new files and can start a process almost immediately. This is the most efficient and low-maintenance solution compared to polling, external scripts, or custom webhooks.

Exam trap

The trap here is underestimating Integration Service triggers and instead opting for custom polling or webhooks, which are more complex and less reliable.

159
MCQhard

A developer needs to log a message that includes a customer's credit card number for debugging purposes. The automation runs in a production environment with Orchestrator logging enabled. What should the developer do to comply with security best practices?

A.Mask the credit card number before logging, such as showing only the last four digits, and log the masked value at 'Info' level.
B.Log the credit card number at 'Verbose' level to ensure it is only visible during detailed debugging.
C.Use the 'Add Log Fields' activity to attach the credit card number as a custom field, which encrypts it automatically.
D.Log the credit card number at 'Error' level, because Error logs are encrypted in Orchestrator.
AnswerA

Masking sensitive data before logging is a security best practice. By showing only the last four digits, the developer can still identify the card for debugging without exposing the full number. Logging the masked value at Information level is appropriate for debugging in production, as it provides useful context without compromising sensitive information. This complies with data protection regulations.

Why this answer

Security best practices dictate that sensitive information like credit card numbers should never be logged in plain text, regardless of log level. Masking the data before logging ensures that only a portion is visible, which is sufficient for debugging while protecting the full number. Logging the masked value at Information level is appropriate for production debugging and complies with regulations such as PCI DSS.

Exam trap

The trap here is believing that certain log levels or activities like Add Log Fields provide automatic protection or encryption for sensitive data, when in fact they do not.

160
Multi-Selectmedium

You are building a workflow to process emails from a shared mailbox using the 'Get Outlook Mail Messages' activity. The workflow must filter emails with a specific subject and save attachments to a local folder. Which two properties or actions are required to achieve this? (Choose two.)

Select 2 answers
A.Set the MarkAsRead property to True to ensure emails are marked as read
B.Use the Move Outlook Mail Message activity to move emails to a subfolder
C.Set the OnlyUnreadMessages property to True to process only unread emails
D.Use the Save Attachments activity after retrieving the mail messages
E.Set the Filter property to "[Subject] = 'Invoice'"
AnswersD, E

The Save Attachments activity is designed to save attachments from a MailMessage object to a specified folder. After retrieving filtered emails, you must iterate through them and use Save Attachments to save the files. This action is necessary to persist the attachments locally for further processing.

Why this answer

To filter emails by subject, you must set the Filter property with a DASL query. To save attachments, you need to use the Save Attachments activity on the retrieved MailMessage objects. These two actions directly address the requirements of filtering and saving attachments.

Other properties like MarkAsRead or OnlyUnreadMessages are optional and not necessary for the core task.

Exam trap

The trap here is thinking that marking emails as read or moving them is required, when the core requirements are only filtering and saving attachments.

161
MCQeasy

A hospital's finance department wants to automate invoice processing but must ensure that patient billing data never leaves the hospital's on-premises infrastructure. They already own a UiPath Orchestrator license and have an existing Active Directory environment. Which deployment model should they choose?

A.UiPath Automation Cloud (public multi-tenant SaaS)
B.UiPath Automation Cloud with a Dedicated Tenant
C.UiPath Robot installed on each user's workstation without Orchestrator
D.UiPath Orchestrator on-premises with Windows authentication
AnswerD

On-premises Orchestrator keeps all orchestration data, credentials, and package artifacts inside the hospital's network, satisfying the data residency requirement. Windows authentication integrates with the existing Active Directory, enabling single sign-on and role-based access without additional identity infrastructure. This is the standard choice for regulated industries that cannot use public cloud.

Why this answer

The hospital's requirement that patient billing data never leave its on-premises infrastructure eliminates all cloud-hosted Orchestrator options. An on-premises Orchestrator deployment keeps orchestration metadata, credentials, and packages inside the hospital's network while leveraging existing Active Directory for authentication. This satisfies both the data residency constraint and the identity integration requirement.

Exam trap

The trap here is assuming that a dedicated tenant or private cloud isolation satisfies data residency, when the data still physically resides outside the organization's network.

162
MCQmedium

You want to ensure that a variable is accessible across different 'Invoke Workflow' activities. What is the correct approach?

A.Define the variable in the global config file.
B.Create the variable in the top-most sequence of the project.
C.Pass the variable through Arguments.
D.Use a static variable in a C# code block.
AnswerC

Arguments are the specific tool provided by UiPath to allow data exchange between workflows. By assigning a variable to an argument in the 'Invoke Workflow' activity, you explicitly permit the movement of data across the workflow boundary, ensuring that the invoked process has the necessary information to perform its specific task.

Why this answer

Variables defined in a scope are local to that file. To share data between different workflows, you must use 'Arguments'. Arguments act as the interface for workflows, allowing data to be passed in ('In'), out ('Out'), or both ('InOut').

This modular approach is essential for large-scale projects where reusability and clean separation of concerns are critical for long-term project maintainability and successful automation execution.

Exam trap

Many candidates mistakenly believe that making a variable global or changing its scope inside the same file will allow it to pass across different invoked workflows.

163
MCQmedium

You are automating a report generation process using UiPath Studio. The workflow opens an Excel file with the 'Use Excel File' activity, writes data to the 'Report' sheet, and then needs to save the file in .xlsx format to a network share. The file must remain open for subsequent steps in the same Excel scope. Which activity should you use to save the workbook while keeping the Excel application open?

A.Save Workbook
B.Write Range
C.Excel Application Scope
D.Save Excel File
AnswerA

The 'Save Workbook' activity, available within the 'Use Excel File' scope, saves the current workbook to its original location without closing the Excel application. This is ideal when you need to persist changes and continue working with the same Excel file. It ensures the file is saved in its existing format and location, meeting the requirement.

Why this answer

Within a 'Use Excel File' scope, the 'Save Workbook' activity saves the currently open workbook to its original path without closing Excel. This allows subsequent activities to continue using the same Excel instance. Other activities like 'Write Range' only modify the in-memory data, and 'Excel Application Scope' is a container, not a save action.

Therefore, 'Save Workbook' is the correct choice.

Exam trap

The trap here is confusing the container activity 'Excel Application Scope' with a save operation, or assuming that writing data automatically saves the file.

164
MCQhard

A developer places a Break activity inside an If block that is nested within a For Each loop. The If block also contains a Log Message activity after the Break. What happens when the condition in the If block evaluates to True?

A.The Log Message activity executes, and the For Each loop continues with the next item.
B.The For Each loop exits immediately, and the Log Message activity is skipped.
C.The workflow throws an exception because Break is used inside an If block.
D.The Log Message activity executes, and then the For Each loop exits.
AnswerB

Break immediately terminates the innermost loop that contains it. Any activities placed after Break within the same block, including the Log Message, are not executed because control jumps out of the loop right away. Execution resumes with the activity that follows the For Each loop, which matches this option exactly.

Why this answer

Break transfers control out of the innermost loop immediately, so any activities after it in the same block, such as the Log Message, do not execute. The loop does not continue to the next item, and no exception is thrown because Break inside an If block within a loop is valid. The other options confuse Break with Continue or misstate its rules.

Exam trap

The trap here is mixing up Break and Continue, or assuming that activities placed after Break in the same block still run before the loop exits.

165
MCQhard

A developer wants to create a test case that verifies a workflow correctly calculates a discount. The test must run multiple times with different input values and expected results, and the developer wants to avoid duplicating the test case. Which UiPath feature should be used to achieve this?

A.Data-driven test cases using the Data Variation feature
B.Mocking the workflow with a mock activity
C.Using the Verify Expression activity inside a loop
D.Data-driven test cases using the Test Data Queue
AnswerA

Data Variation allows a test case to be executed multiple times with different sets of input and expected output values. The developer can define variations in the test case, each with its own data, and the test will run once per variation. This avoids duplicating the test case and is the intended feature for parameterized testing in UiPath. It integrates with the Test Explorer and provides clear pass/fail results per variation.

Why this answer

Data Variation is a feature in UiPath Test Suite that enables a single test case to be executed with multiple sets of input and expected output values. Each variation is defined within the test case, and the test runs once per variation. This eliminates the need to duplicate the test case and provides clear, per-variation results.

It is the recommended approach for data-driven testing in UiPath.

Exam trap

The trap here is assuming that Test Data Queues are the primary way to parameterize a test case, when in fact Data Variation is the built-in feature for local data-driven testing.

166
Multi-Selecthard

Which THREE actions are required to successfully set up a Queue-based trigger in Orchestrator?

Select 3 answers
A.Create a new Process in Orchestrator associated with the target automation package.
B.Configure the Robot machine to bypass firewall restrictions.
C.Define a Queue in the Orchestrator folder where the process will run.
D.Set the trigger to monitor the specific Queue and map it to the desired Process.
E.Manually restart the Orchestrator service to apply the new trigger rules.
AnswersA, C, D

A process must be defined in Orchestrator to tell the system which package and entry point to execute when the trigger fires. Without an associated process, the Orchestrator has no executable instruction to perform when the queue condition is met, rendering the trigger configuration incomplete and ineffective for automation.

Why this answer

Setting up Queue triggers requires a careful sequence of configuration to ensure that the robot is ready to process incoming data. This involves defining the specific queue, setting the appropriate thresholds, and ensuring the process is mapped to a robot that has the correct permissions. Failure to align these components leads to silent failures where triggers are active but processes never launch, which is a common support issue in automation maintenance.

Exam trap

Candidates often forget that simply creating a queue and a process is insufficient without explicitly mapping the trigger to monitor that specific queue.

167
Multi-Selecthard

Which THREE actions are essential for ensuring data integrity when overwriting an existing file during a data export operation?

Select 3 answers
A.Always delete the file before starting the write operation.
B.Check if the file is currently in use by another process.
C.Create a temporary backup of the existing file.
D.Perform a 'File Exists' check prior to write operations.
E.Set file attributes to Read-Only during the move.
AnswersB, C, D

Verifying if a file is in use prevents access denied exceptions that crash automation. This check allows the bot to implement a retry logic or alert the user, ensuring the workflow remains resilient against external process conflicts that are common in shared directory environments where multiple users or processes access files.

Why this answer

Data integrity requires verifying file state before writing. Checking if the file is locked prevents I/O exceptions. Taking a backup of the original file provides a rollback mechanism if the write process fails, while verifying existence and permissions ensures the bot has the authority to complete the task.

These steps are crucial in production environments to avoid data loss and maintain a reliable audit trail for all file modifications during execution.

Exam trap

Candidates often jump straight into file overwrite operations without checking for file locks or creating backups, resulting in runtime exceptions and data loss.

168
MCQmedium

If you define a variable with a 'String' type but attempt to pass it into an 'Int32' input field, what will happen in UiPath Studio?

A.The workflow will automatically convert the string to an integer.
B.The activity will be underlined with a red error icon, indicating a validation error.
C.The workflow will execute normally but throw a runtime error.
D.The value will be ignored and the property will remain empty.
AnswerB

UiPath Studio provides real-time validation feedback. When a variable type does not match the expected property type, the activity displays a validation error icon. This alerts the developer to the issue immediately, allowing for correction before attempting to execute the workflow, thus maintaining high code quality and reliability.

Why this answer

UiPath Studio performs strict type checking at design time. When an activity expects a specific data type, it validates the variable provided. If the types do not match, Studio will flag an error, often displaying a red exclamation mark in the Properties panel.

This prevents runtime type-mismatch exceptions, ensuring that the automation process is robust and that data is handled correctly according to its defined structure.

Exam trap

Candidates often assume the workflow will attempt a runtime conversion or force a cast, ignoring that UiPath performs strict type validation at design time, preventing the project from even starting.

169
MCQeasy

While iterating through a list of 10 items using a 'For Each' activity, a developer uses a 'Continue' activity inside an 'If' block that checks if the current item is equal to 5. What happens when the loop reaches the 5th item?

A.The loop terminates immediately and no further items are processed.
B.The 5th item is processed, and then the loop stops.
C.The remaining activities in the loop for the 5th item are skipped, and the loop proceeds with the 6th item.
D.The 5th item is skipped and the loop restarts from the 1st item.
AnswerC

This is the correct technical definition of the 'Continue' activity. It acts as a shortcut to the end of the current loop iteration. By using it, the developer ensures that the logic for the 5th item is aborted mid-way, and the 'For Each' mechanism immediately moves to fetch the next item (the 6th) and begins a new iteration.

Why this answer

The Continue activity is used to skip the remaining activities within the current iteration of a loop and immediately jump to the next iteration. In this scenario, when the item is 5, the activities following the If block inside the loop are ignored, and the loop starts again with the 6th item. This is a standard way to bypass specific items that do not meet certain criteria.

Exam trap

Candidates often mistakenly believe 'Continue' terminates the entire loop execution or that it resets the loop index, rather than simply skipping the remaining activities for the current item only.

170
MCQeasy

What is the primary function of the UiPath Assistant?

A.To develop and debug automation workflows.
B.To allow users to launch and manage attended automations.
C.To act as an Orchestrator server for the local machine.
D.To perform automated machine learning training.
AnswerB

The Assistant is specifically designed for end-users to interact with their attended robots. It displays the list of available processes, allows for triggering them on demand, and provides real-time feedback on execution status, fulfilling the role of the user interface for human-robot interaction.

Why this answer

The UiPath Assistant is the user interface that allows human users to interact with Attended robots. It provides a simple way to launch processes, view status, and manage the robot's local configuration. It is the primary contact point for end-users, making it crucial for the success of attended automations where users need a clear and intuitive way to trigger robot tasks.

Exam trap

Candidates often confuse the UiPath Assistant with UiPath Studio or Orchestrator, assuming it is used for building workflows or enterprise-wide management rather than running attended tasks locally.

171
MCQeasy

A developer needs to create a test case that checks whether a newly added 'Calculate Discount' workflow returns the correct discount amount for a given customer type. The developer wants to ensure the test can be run independently and repeatedly. Which project template should the developer use?

A.Library
B.REFramework
C.Process
D.Test Automation Project
AnswerD

The Test Automation Project template in UiPath Studio is specifically designed for creating test cases. It includes the Testing activities and a structure that supports independent, repeatable test execution. This template is the correct choice for building a test that verifies the Calculate Discount workflow's output, as it provides the necessary testing framework and activities.

Why this answer

The Test Automation Project template is purpose-built for creating test cases in UiPath. It includes the necessary testing activities and project structure to support independent and repeatable test execution. Other templates are designed for production automation or reusable components, not for test case development.

Exam trap

The trap here is selecting the Process template because it is the default, but it does not include the testing framework needed for test cases.

172
MCQmedium

Refer to the exhibit. What is the most efficient way to resolve this connection error in Integration Service?

A.Delete the connection and create a new one with the same name.
B.Manually update the OAuth token in the Orchestrator Asset.
C.Click the 'Re-authenticate' button in the Integration Service connection settings.
D.Restart the Orchestrator service to force a token refresh.
AnswerC

The 'Re-authenticate' function is the standard, built-in resolution for expired connections. It triggers the OAuth flow, allowing the user to provide fresh credentials and obtain valid tokens. This updates the existing connection object in place, ensuring that all dependent automations resume successfully without any modifications to the underlying workflow logic.

Why this answer

When a refresh token becomes invalid, the connection must be re-authenticated to establish a new trust relationship between the platform and the target application. Integration Service simplifies this by allowing users to click 'Re-authenticate' on the connection object. This process regenerates the necessary tokens without requiring the user to recreate the connection or update the associated automation workflows, preserving continuity and minimizing downtime for business-critical processes.

Exam trap

Test-takers often suggest recreating the entire integration connection or rewriting workflows when a simple token refresh is all that is needed.

173
MCQmedium

When using the UiPath Robot in 'Attended' mode, what is the most significant behavioral difference compared to 'Unattended' mode?

A.Attended robots require a license for each machine.
B.Attended robots run under the context of the logged-in user.
C.Attended robots cannot interact with Orchestrator.
D.Attended robots are slower than Unattended robots.
AnswerB

Attended bots run in the user's active session and interact with the desktop as the user. Unattended bots typically run in a separate, isolated session to perform tasks in the background, allowing the user to continue their work without interruption while the robot performs its tasks.

Why this answer

Attended robots are designed to work alongside a human, often triggered by user interaction. Unattended robots operate in the background, triggered by schedules or queues. This distinction is vital for architectural planning, as attended automations often require access to the user's active session, while unattended robots run in isolated sessions without direct human supervision or interaction.

Exam trap

Candidates often mistakenly believe the difference is in the 'speed of execution' or 'type of applications' used, rather than the critical distinction of the user session context.

174
MCQhard

A developer implements a 'Pick' activity with two 'PickBranch' activities. Branch A has a 'Click' activity as a trigger, and Branch B has a 'Delay' activity set to 30 seconds as a trigger. If the user clicks the element after 10 seconds, what happens?

A.Branch A executes its action, and Branch B is cancelled.
B.Both Branch A and Branch B execute their actions since both triggers were eventually met.
C.Branch B executes its action after 30 seconds because it was already scheduled.
D.The Pick activity throws an exception because two triggers cannot run simultaneously.
AnswerA

Since the 'Click' in Branch A occurred at 10 seconds, it beat the 30-second 'Delay' in Branch B. The Pick activity identifies Branch A as the winner, executes its 'Action' sequence, and immediately cancels the 'Delay' in Branch B. This prevents the workflow from waiting the full 30 seconds, allowing for more responsive and efficient automation behavior.

Why this answer

The Pick activity is a control flow activity that waits for one of its branches' triggers to be satisfied. As soon as the first trigger completes, that branch's action is executed, and all other branches are cancelled. This 'race' condition is perfect for handling timeouts or UI events where you only want to proceed with the first event that occurs, ensuring the robot doesn't wait unnecessarily.

Exam trap

Candidates often assume that once a Pick activity starts, all branches will eventually finish executing, missing the core 'race condition' behavior where the first completed trigger cancels all other branches.

175
Multi-Selectmedium

A developer is implementing exception handling for a robotic process automation project that interacts with multiple applications. The developer wants to ensure that system exceptions are retried a limited number of times, while business exceptions are logged and the transaction is marked as failed. Which two activities or features should the developer use to achieve this? (Choose two.)

Select 2 answers
A.Use a While loop with a counter to manually retry the entire workflow on any exception.
B.Use a Try-Catch activity with multiple Catch blocks, one for System.Exception and one for BusinessRuleException.
C.Use the Retry Scope activity to automatically retry the activities that throw system exceptions.
D.Set the 'ContinueOnError' property to True for all activities that interact with applications.
E.Configure the Global Exception Handler to retry all exceptions a fixed number of times.
AnswersB, C

A Try-Catch with multiple Catch blocks allows handling different exception types separately. A Catch block for System.Exception can implement retry logic, while a Catch block for BusinessRuleException can log the error and mark the transaction as failed. This provides the required differentiation between system and business exceptions.

Why this answer

To handle system exceptions with retries and business exceptions with logging, the developer should use a Try-Catch with multiple Catch blocks to separate the handling logic, and a Retry Scope to automatically retry activities that throw system exceptions. The Retry Scope can be configured to retry a specified number of times, and any business exceptions can be caught and handled appropriately. This combination provides robust and differentiated exception handling.

Exam trap

The trap here is thinking that the Global Exception Handler can differentiate between exception types for retry purposes, but it is designed for unhandled exceptions and does not provide per-type retry logic.

176
MCQmedium

A UiPath developer is building an automation that calls a REST API to retrieve a list of active employees. The API returns the following JSON response: {"employees": [{"id": 101, "name": "Alice"}, {"id": 102, "name": "Bob"}], "total": 2}. The developer uses the HTTP Request activity, which outputs the response as a string variable named apiResponse. The developer then uses a Deserialize JSON activity to convert apiResponse into a JObject variable named jsonObj. To iterate through each employee and extract the name, which expression correctly retrieves the array of employee objects from jsonObj?

A.jsonObj.employees
B.jsonObj("employees")
C.jsonObj.SelectToken("$.employees[0].name")
D.jsonObj("employees").ToString()
AnswerB

In UiPath, when you deserialize a JSON string into a JObject, you can access properties using the indexer syntax. The property 'employees' is a top-level key, so jsonObj("employees") returns a JArray containing the employee objects. This expression is correct because it directly references the key and yields the array needed for iteration. The other options either incorrectly navigate the structure or use unsupported syntax, making this the only valid choice.

Why this answer

The JSON response has a top-level property 'employees' that contains an array of objects. After deserializing into a JObject, the correct way to retrieve this array is by using the indexer with the property name as a string, yielding a JArray. This JArray can then be used in a For Each loop to access each employee's name.

The other expressions either extract only a single value, use unsupported syntax, or convert the array to a string, none of which meet the requirement.

Exam trap

The trap here is assuming that dot notation (jsonObj.employees) works for accessing JSON properties in UiPath, when actually the JObject indexer with a string key is required.

177
Multi-Selectmedium

Which THREE features are provided by UiPath Automation Hub to assist organizations in managing their automation program?

Select 3 answers
A.Crowdsourcing automation ideas from employees.
B.Automated generation of C# and VB.NET source code.
C.Prioritization based on ROI and complexity metrics.
D.Centralized documentation of automation benefits and lifecycle.
E.Live debug sessions of running production bots.
AnswersA, C, D

Automation Hub allows any employee to submit ideas for automation through a portal. This crowdsourcing approach ensures that the organization taps into the knowledge of its workforce to identify the most repetitive and time-consuming tasks that are ripe for automation.

Why this answer

Automation Hub is designed for the discovery and governance of automation ideas. It provides a structured way for employees to submit ideas, for COEs to prioritize them based on ROI, and for teams to track progress. These features are essential for scaling RPA programs, as they ensure that the business focuses on high-value tasks rather than low-impact technical experiments.

Exam trap

Candidates often select 'automated code generation' or 'direct execution of workflows' as features of Automation Hub, confusing it with Studio or Orchestrator, which perform actual development and execution tasks.

178
MCQmedium

A developer is working on a shared library project in UiPath Studio. After pushing changes to the remote Git repository, the CI/CD pipeline fails to package the library. What is the most likely cause of this failure?

A.The project.json file contains an identical version number to the previously published version.
B.The Git repository is configured with a local branch that is not tracking the origin/main branch.
C.The developer did not commit the 'project.json' file along with the workflow changes.
D.There are local uncommitted changes residing in the 'Library' folder on the developer machine.
AnswerA

NuGet feeds require unique versions for each package. If the version number remains the same as an existing package, the server rejects the upload. Developers must increment the version number in the project settings or via CI/CD parameters to ensure successful publishing to the Orchestrator library feed.

Why this answer

Library projects require specific metadata in the project.json file to be packaged correctly for Orchestrator. When a developer pushes changes, they must ensure the versioning and dependencies are updated according to the library's lifecycle requirements. Failure to increment the version number or resolve missing dependencies in the project settings will cause the NuGet packaging step to fail during the automated build process, preventing deployment to the tenant feed.

Exam trap

Candidates frequently forget that NuGet packages are immutable; they assume that pushing changes to Git automatically triggers a new package version without updating the project.json file's version string.

179
MCQeasy

A developer needs to ensure that a test case fails if a specific condition is not met. Which activity should be used to assert that a variable equals an expected value?

A.Assert Equals
B.Log Message
C.If
D.Verify Expression
AnswerA

Assert Equals is a dedicated activity in UiPath Test Suite that compares two values and fails the test if they are not equal. It is the most straightforward way to assert that a variable equals an expected value. It provides clear reporting in the test results, indicating the expected and actual values when the assertion fails. This activity is part of the UiPath.Testing.Activities package and is commonly used in test cases.

Why this answer

Assert Equals is the activity designed to compare two values and fail the test if they are not equal. It is part of the UiPath.Testing.Activities package and is used to verify expected results in test cases. It provides clear failure messages, making it ideal for asserting that a variable equals an expected value.

Exam trap

The trap here is confusing Verify Expression with Assert Equals; both can check conditions, but Assert Equals is specifically for equality assertions.

180
MCQhard

Refer to the exhibit. Several developers are reporting this error when using a shared library. What is the most likely cause?

A.The library package was corrupted during the upload to Orchestrator.
B.The activity lacks input validation for optional arguments.
C.The project is using an incompatible version of the .NET framework.
D.The Git repository history is causing an invalid library compilation.
AnswerB

The NullReferenceException indicates that the code is attempting to access a member on an uninitialized object. By failing to validate that input arguments are provided or properly initialized, the activity fails at runtime. Developers should implement check logic to handle null or empty inputs gracefully within the activity.

Why this answer

The 'Object reference not set' error in a library suggests a null value is being passed into a component that expects a initialized object. When multiple developers report this, it implies the library's design does not handle missing inputs gracefully. This highlights the importance of input validation in libraries, as shared components must be resilient to various usage patterns across different projects to prevent widespread failures in production.

Exam trap

Candidates often blame environment setup or network connectivity instead of looking at the component's internal design flaws regarding missing input validation.

181
MCQeasy

Which panel in UiPath Studio allows you to view and manage all variables currently active in the selected container?

A.Properties Panel
B.Project Panel
C.Variables Panel
D.Activities Panel
AnswerC

The Variables panel is specifically designed to list, create, and manage the variables used within the selected scope. It provides columns for name, type, scope, and default values, allowing developers to maintain a clear overview of the data structures being used throughout the development of the automation project.

Why this answer

The Variables panel is the dedicated interface for managing all data variables within the current scope of the workflow. Being familiar with the layout and functionality of this panel is fundamental for any UiPath developer, as it is used constantly to create, rename, and adjust the scope or data types of variables that drive the logic of your automation processes.

Exam trap

Candidates sometimes confuse the 'Variables' panel with the 'Arguments' or 'Data Manager' panels, which serve different purposes in managing workflow data and project-wide resources.

182
MCQmedium

A developer is building an RPA test that verifies an invoice total. The invoice total is calculated by a separate workflow that queries a database. To keep the test fast and deterministic, the developer wants to replace the database call with a static value during test execution. Which UiPath testing capability should be used?

A.Data-driven testing with an Excel file
B.Orchestrator queue with a test transaction
C.Mocking
D.Workflow Analyzer rule enforcement
AnswerC

Mocking in UiPath allows replacing a real activity's output with a predefined value or behavior, so the test runs without the actual database dependency. This makes the test fast, repeatable, and isolated. The developer can configure a mock for the database query activity to return a fixed invoice total, then verify the calculation logic independently of external systems.

Why this answer

Mocking is the UiPath testing feature designed to replace the behavior of a specific activity with a controlled output, which removes external dependencies like databases. This makes the test fast, stable, and focused on the logic under test. The other options either do not isolate the dependency or are unrelated to simulating activity results.

Exam trap

The trap here is confusing data-driven testing with mocking, because both involve supplying values, but only mocking replaces the actual activity execution.

183
Multi-Selectmedium

A developer needs to read a CSV file named invoices.csv whose first line contains column headers and whose values are separated by semicolons rather than commas. The resulting data must be available as a DataTable for downstream processing. Which TWO actions are required to accomplish this correctly? (Choose two.)

Select 2 answers
A.Use the Read Text File activity to load the whole file and then split each line manually in a loop
B.Leave the Read CSV activity's IncludeColumnNames property checked so the header line becomes the DataTable column names
C.Set the Read CSV activity's Encoding property to a specific code page to change the delimiter interpretation
D.Use the Read CSV activity and set its Delimiter property to ";"
E.Use the Excel Read Range activity inside Excel Application Scope, pointing at invoices.csv
AnswersB, D

The IncludeColumnNames property, when enabled, causes the first line of the file to be interpreted as column headers rather than data. Since the scenario states the first line contains headers, keeping this property checked produces a DataTable whose columns are named from that line, which is exactly what downstream processing expects.

Why this answer

Read CSV is the activity designed to turn delimited text into a DataTable. Because this file uses semicolons, the Delimiter property must be changed from the default comma, and because the first line holds headers, IncludeColumnNames must remain enabled so those headers become the DataTable's column names. Together these two settings produce the expected structured data.

Exam trap

The trap here is assuming the default comma delimiter will work, or confusing the Encoding property with delimiter handling.

184
MCQmedium

An automation must append new transaction rows to an existing CSV file at the end of each run without deleting the data already present. The developer is configuring the Write CSV activity. Which property must be set to achieve append behavior?

A.Set the IncludeColumnNames property to False.
B.Set the Delimiter property to a newline character.
C.Set the Encoding property to UTF-8.
D.Set the Append property to True.
AnswerD

The Write CSV activity exposes an Append property. When set to True, new rows are added to the end of the existing file instead of overwriting it. This directly satisfies the requirement to preserve previously written transaction rows while adding the current run's data. Leaving it at the default False would truncate and replace the file content.

Why this answer

Write CSV overwrites the target file by default, so preserving existing rows requires explicitly enabling the Append property. IncludeColumnNames, Delimiter, and Encoding affect formatting and character representation, not whether prior content survives. Only Append changes the write mode to add rows at the end of the file.

Exam trap

The trap here is confusing formatting properties such as IncludeColumnNames with the property that actually controls overwrite versus append behavior.

185
Multi-Selectmedium

Which TWO of the following are best practices for effective exception handling in UiPath?

Select 2 answers
A.Catch the general 'System.Exception' type in all blocks to ensure no errors are missed.
B.Use the 'Log Message' activity within the 'Catch' block to record exception details.
C.Always re-throw the original exception at the end of every 'Catch' block.
D.Use meaningful custom error messages when throwing exceptions.
E.Place the entire workflow inside one massive Try-Catch block.
AnswersB, D

Logging exception details is critical for post-mortem analysis. By capturing the exception message and source, developers can quickly reconstruct the state of the process at the time of failure, which is essential for diagnosing production issues in complex automated workflows that run unattended.

Why this answer

Effective exception handling prevents process crashes and ensures meaningful errors are reported. Using specific exception types and logging descriptive messages allows developers to distinguish between business rule violations and technical failures. This distinction is critical for monitoring, as it helps stakeholders understand whether an issue is caused by faulty data or an unstable system, allowing for targeted remediation efforts.

Exam trap

Candidates often select generic default error messages or skip logging within catch blocks, making post-execution debugging and root-cause analysis extremely difficult.

186
Multi-Selectmedium

Which THREE of the following are true regarding the default behavior of UiPath logging?

Select 3 answers
A.Logs are stored in the local Windows Event Viewer by default
B.Robot logs are sent to Orchestrator if the robot is connected
C.Log messages from 'Write Line' are always sent to Orchestrator
D.Default logging level for a new Robot is set to 'Information'
E.Logs can be retrieved via the Orchestrator API
AnswersB, D, E

Once a robot is successfully connected to Orchestrator, its logs are automatically forwarded to the Orchestrator database. This centralization is a core feature of the platform, enabling remote monitoring, reporting, and troubleshooting of unattended robots deployed across an enterprise without needing to manually collect log files from multiple machines.

Why this answer

UiPath logging is highly integrated with the platform, capturing execution events, robot status, and activity transitions by default. Understanding this behavior is crucial for developers to avoid 'log bloat' and ensure that necessary information is captured without negatively impacting system performance. These features are baked into the Robot and Orchestrator interaction, ensuring that even without custom configuration, a basic audit trail is available for every process execution.

Exam trap

Candidates frequently assume that logs are stored locally on the machine by default or that the default logging level is 'Verbose', which is incorrect for new robot configurations.

187
Multi-Selecthard

A developer is configuring a Global Exception Handler in UiPath Studio. The handler uses a Try Catch activity and needs to decide whether to retry the failed transaction or terminate the process. Which TWO of the following statements about the Global Exception Handler are correct? (Choose two.)

Select 2 answers
A.The Global Exception Handler can only be used in unattended automation scenarios.
B.The Global Exception Handler can be configured to retry the entire workflow from the beginning automatically.
C.The Global Exception Handler can be used to catch exceptions that are not handled by any local Try Catch activity.
D.The Global Exception Handler can access the exception object and its properties to determine the type of error.
E.The Global Exception Handler can be used to catch exceptions thrown by the Orchestrator when starting a job.
AnswersC, D

The Global Exception Handler (GEH) is designed to catch exceptions that propagate up from the main workflow if not handled locally. It provides a centralized place to handle unexpected errors, log them, and decide on recovery actions. This is a core feature of the GEH.

Why this answer

The Global Exception Handler catches unhandled exceptions that propagate from the main workflow, and it provides access to the exception object for inspection. It does not automatically retry the workflow, nor does it catch Orchestrator-level errors or restrict usage to unattended scenarios.

Exam trap

The trap here is assuming that the Global Exception Handler automatically retries the workflow, when retry logic must be explicitly implemented.

188
MCQeasy

Which property in the 'Message Box' activity allows a developer to pause the execution until the user clicks a button?

A.Delay
B.Wait
C.None, the activity is synchronous by default.
D.Timeout
AnswerC

The Message Box activity is modal and synchronous, meaning it automatically pauses the robot's execution flow until the user dismisses the box. This built-in behavior is useful for simple debugging, though it should be removed before deploying to an unattended production environment.

Why this answer

The Message Box is a synchronous activity by design; it pauses the entire execution thread. Understanding this behavior is essential for debugging because it provides a simple way to manually inspect the UI or system state at specific points without setting complex breakpoints in the workflow during the initial phase of development.

Exam trap

Candidates often search for a non-existent property to make the Message Box asynchronous, forgetting that the activity is inherently synchronous and blocks the execution thread by design.

189
MCQmedium

When designing a test case in UiPath, which activity is mandatory to ensure the test outcome is verified against an expected result?

A.Log Message
B.Throw
C.Verify Expression
D.Write Line
AnswerC

Verify Expression is specifically designed to evaluate a boolean condition and determine if a test case meets its success criteria. By comparing the actual outcome to the expected result, it allows the Test Suite to accurately report whether the test has passed or failed, which is essential for validation.

Why this answer

The Verify Expression activity is the cornerstone of test case validation in UiPath. It evaluates a condition and logs the result as either a pass or a fail within the test report. Without this activity, a test might execute without error but fail to confirm that the logic produced the correct output.

This is vital for maintaining the integrity of automated tests in CI/CD pipelines where objective success criteria are required.

Exam trap

Many candidates select 'Log Message' or 'Write Line' for test validation. These activities record data but do not perform the logical assertion required to mark a test case as pass or fail.

190
MCQmedium

Which log level should be used when logging sensitive information such as user passwords or personal identification numbers in a production environment?

A.Trace
B.Verbose
C.None of the above
D.Error
AnswerC

No log level is appropriate for logging sensitive information. Security standards explicitly prohibit exposing passwords or PII in logs, as these files are often accessible to support teams and monitoring systems. Developers must implement data masking or use secure credential stores to handle sensitive data without writing it to disk.

Why this answer

Logging sensitive information in production environments is a security violation that can lead to data breaches or non-compliance with privacy regulations like GDPR. Regardless of the log level, sensitive data should never be written to logs. Instead, developers should use secure assets or encrypted variables to handle credentials, ensuring that logs remain clean of confidential data while still providing enough context for troubleshooting automation execution flows.

Exam trap

Candidates often select 'Trace' or 'Debug' assuming that lower severity log levels safely hide sensitive data, forgetting that any log level will still expose plain-text credentials in the output.

191
MCQeasy

A business analyst is creating a new automation project in UiPath Studio and wants to use a pre-built template that follows best practices for transactional business processes, including robust error handling and retry mechanisms. Which project template should the analyst select?

A.Robotic Enterprise Framework
B.Hello World
C.Blank Process
D.Library
AnswerA

The Robotic Enterprise Framework (REFramework) is a template in UiPath Studio designed for transactional business processes. It includes built-in best practices such as state machine architecture, comprehensive exception handling, retry logic, and logging, making it ideal for complex, production-ready automations that require reliability and scalability.

Why this answer

The Robotic Enterprise Framework is specifically designed for transactional business processes, offering a robust structure with state machine, exception handling, and retry logic. Other templates like Blank Process, Hello World, and Library do not provide the built-in best practices and reliability features needed for production-grade automations.

Exam trap

The trap here is confusing a Library project with a framework template, as both are reusable, but only REFramework provides a complete transactional process structure with error handling.

192
MCQmedium

Which approach is recommended for managing sensitive credentials (like database passwords) in UiPath automations?

A.Store them in a local text file with restricted permissions.
B.Store them as Orchestrator Assets.
C.Hard-code them as String variables in a secure workflow.
D.Pass them as input arguments via the Command Line Interface.
AnswerB

Orchestrator Assets provide a secure, encrypted mechanism to store sensitive data. By using the 'Credential' type, the credentials are kept secure and only retrieved at runtime, ensuring that they are not stored in plain text within the automation projects or the robot's local configuration files.

Why this answer

Using Orchestrator Assets to store sensitive information is the industry standard for security. It ensures that credentials are encrypted in the central database and are never hard-coded in the workflow. This separation of concerns allows for easier password rotation and prevents security breaches that could occur if hard-coded credentials were exposed in version control or project files.

Exam trap

Candidates often suggest 'storing in a text file' or 'using environment variables,' which are insecure and violate standard security practices for handling sensitive enterprise credentials in UiPath.

193
MCQmedium

A developer needs to handle a situation where a button's selector changes slightly based on the language setting of the web application. How should this be handled in the Object Repository?

A.Create a separate UI element for every possible language setting.
B.Parameterize the selector attribute with a variable.
C.Hardcode all possible language variations into the selector string.
D.Disable the Object Repository and use image-based automation.
AnswerB

Parameterization is the standard, best-practice solution for handling dynamic attribute values. By using variables within the selector, the developer creates a single, reusable object that adapts to different environments or application states. This ensures that the code remains clean, scalable, and easy to maintain as requirements evolve over the project lifetime.

Why this answer

The correct approach is to parameterize the selector within the Object Repository. By replacing the language-specific text with a variable (e.g., '{{button_text}}'), the developer can pass the appropriate value from the workflow at runtime. This maintains a single object definition while allowing for dynamic, context-aware execution.

It leverages the Object Repository's flexibility to accommodate variations without creating multiple, redundant UI elements for each language variation, keeping the project organized.

Exam trap

Candidates frequently select options that involve creating entirely separate screens or duplicate elements for each language variation instead of leveraging dynamic variables.

194
Multi-Selecthard

Which THREE actions are recommended when structuring a UiPath library to ensure high reusability and maintainability?

Select 3 answers
A.Hard-code folder paths within the library activities for consistency.
B.Use In/Out arguments to keep logic decoupled from the parent process.
C.Include comprehensive XML documentation for all activities.
D.Include the main process logic inside the library project.
E.Implement unit tests within the library project to validate individual components.
AnswersB, C, E

Using arguments allows the library component to receive inputs and return outputs without needing to know the parent project's state. This encapsulation is the core principle of modularity, enabling the library to be tested independently and used across various contexts without modification or tight coupling to specific variables.

Why this answer

Creating a library requires a focus on decoupling logic from the main process. By ensuring that activities are modular, well-documented, and properly tested, developers create components that can be used across multiple projects. Using descriptive naming conventions and robust error handling within the library ensures that consumers of the library understand how to handle potential issues, ultimately reducing the technical debt associated with maintaining shared automation components across an enterprise.

Exam trap

Candidates often create 'monolithic' libraries that rely on global variables or hardcoded paths, making the library impossible to use in different projects without extensive modification.

195
Multi-Selectmedium

Which THREE items are considered best practices when creating Test Cases in UiPath?

Select 3 answers
A.Ensure each test case is independent and can run in any order.
B.Hardcode test data directly into the workflow activities.
C.Use Mocks to isolate the workflow being tested from external dependencies.
D.Include complex UI interactions in every single unit test.
E.Use descriptive naming conventions for test cases for clear reporting.
AnswersA, C, E

Independence is critical for test reliability. If one test depends on the outcome or state of another, a failure in the first test causes cascading failures in the second. Independent tests allow for parallel execution, reducing overall test duration and making it significantly easier to isolate the cause of failures.

Why this answer

Best practices for testing ensure that automation remains resilient, maintainable, and scalable. By isolating units, using mock data, and maintaining independence between tests, developers can create a robust testing suite. These practices ensure that failures are easy to diagnose and that the suite can run reliably in automated CI/CD pipelines without needing constant manual intervention or complex environment setups that often lead to flaky or unreliable testing results.

Exam trap

Candidates often select answers that include 'using real production data' for testing, which is a major security and reliability risk in automated testing environments.

196
MCQmedium

Which data manipulation approach is most efficient for transforming a DataTable with 10,000 rows without using activities in a loop?

A.Use the 'For Each Row' activity to update values.
B.Use the 'Invoke Code' activity with a LINQ query.
C.Write the data to Excel, perform the transformation there, and read it back.
D.Use the 'Filter Data Table' activity 10,000 times.
AnswerB

Executing LINQ within 'Invoke Code' provides the highest performance for complex transformations. It allows the developer to use the full power of the .NET framework to manipulate DataTable objects in a single, memory-resident pass. This is the preferred method for large-scale data manipulation that requires high throughput and minimal latency in production.

Why this answer

Using LINQ on a DataTable allows for high-performance data transformation in memory. By leveraging 'AsEnumerable', you can perform complex filtering, sorting, and grouping operations without the overhead of UI-based activities. This approach is highly efficient for large datasets, significantly reducing the execution time compared to iterating row-by-row, as it utilizes optimized .NET underlying collection processing which is designed for speed and memory efficiency in enterprise-grade automation scenarios.

Exam trap

Candidates often default to a 'For Each Row' loop because it is easier to write, ignoring that it is significantly slower than LINQ for large datasets.

197
Multi-Selecthard

Which TWO of the following scenarios are best suited for using the Workflow Analyzer's security rules?

Select 2 answers
A.Detecting if Orchestrator assets are retrieved using hardcoded strings.
B.Checking if the workflow follows camelCase naming conventions.
C.Identifying usage of unencrypted file paths for sensitive documents.
D.Validating the version number of the UiPath.System.Activities package.
E.Ensuring that the project icon is updated for the process.
AnswersA, C

Hardcoding asset names or sensitive credentials in workflows is a security risk. Workflow Analyzer security rules can identify these patterns, prompting developers to use proper asset management. This ensures that sensitive information is kept secure in Orchestrator rather than exposed within the source code, reducing the risk of unauthorized data access.

Why this answer

Workflow Analyzer security rules are designed to prevent common vulnerabilities, such as the accidental exposure of sensitive data or the use of insecure coding practices. By automatically checking for these issues, the analyzer acts as a first line of defense in the development lifecycle. This is crucial for maintaining compliance with data protection regulations and ensuring that automations do not become vectors for security breaches within the corporate network environment.

Exam trap

Candidates mistakenly select general code formatting or naming convention rules when asked specifically about Workflow Analyzer security rules.

198
Multi-Selecthard

You are building a UiPath automation that reads an Excel file with the Modern Excel activities. The file is stored on a network share, and the robot runs unattended. You need the workflow to reliably open the workbook, read a range, and then close the file without leaving Excel processes running. Which TWO activities or settings are required to achieve this? (Choose two.)

Select 2 answers
A.Add a Kill Process activity targeting EXCEL.EXE at the end of the workflow.
B.Configure the Excel Process Scope's 'Process Mode' to 'Create New' or 'Use Existing' as appropriate for the environment.
C.Use an Excel Process Scope activity to manage the Excel process lifecycle.
D.Enable the 'ReadOnly' property on the Read Range activity.
E.Set the Use Excel File activity's 'Save Changes' property to True.
AnswersB, C

The Process Mode property determines whether Excel is started fresh or an existing instance is reused. Selecting the appropriate mode is necessary to control how the process is managed and closed. Combined with the scope, it ensures the Excel instance is terminated correctly after the read operation on the network share.

Why this answer

Excel Process Scope manages the Excel process lifecycle, and its Process Mode setting determines how the instance is created or reused so it can be closed properly. Together they prevent orphaned Excel processes. Saving changes, killing the process, and a non-existent ReadOnly property do not fulfill the requirement of reliable open-read-close behaviour for an unattended robot.

Exam trap

The trap here is relying on Kill Process to clean up Excel instead of using Excel Process Scope to manage the instance lifecycle.

199
MCQmedium

What is the best way to handle logging when working with large datasets in a loop?

A.Log every single item processed inside the loop
B.Use the 'Log Message' activity with a condition to log every N items
C.Disable all logs during the execution of the loop
D.Always set the log level to 'Trace' during the loop
AnswerB

Conditional logging allows for tracking progress without the performance penalty of logging every single iteration. By logging every N items, the developer gets a heartbeat of the process execution, ensuring visibility into the loop's status while keeping the overall log volume manageable and meaningful for analysis and monitoring purposes.

Why this answer

Logging inside a loop with large datasets can cause massive performance issues and produce unreadable logs. The best practice is to log summary information outside the loop or at significant intervals, such as every 100 iterations. This provides visibility into the process progress without overwhelming the logging system with redundant, high-frequency entries that add no meaningful value to the troubleshooting or audit trail.

Exam trap

Candidates often suggest logging every iteration to ensure visibility, which causes significant performance degradation and log bloat, failing to realize the impact on system resources during large dataset processing.

200
Multi-Selecthard

When dealing with 'SelectorNotFoundException', which THREE actions should a developer consider to increase the robustness of the automation?

Select 3 answers
A.Use dynamic selectors with wildcards for attributes that change frequently.
B.Always increase the 'TimeoutMS' property to a very high value like 300,000.
C.Use the 'Anchor' feature to identify elements relative to stable UI components.
D.Avoid using 'UiExplorer' as it generates overly complex selectors.
E.Use variables in selectors to make them dynamic based on runtime data.
AnswersA, C, E

Wildcards allow the robot to match UI elements even if parts of their attributes change, such as timestamps or dynamic IDs. This is a best practice for identifying elements in web applications where IDs are generated on the fly, significantly improving the selector's long-term durability.

Why this answer

SelectorNotFoundException is a common challenge in UiPath. Improving selector stability is critical because applications often change their UI structure dynamically. By using reliable attributes, wildcards, and anchors, a developer can ensure the robot remains functional despite minor interface changes, thereby reducing maintenance overhead and improving the overall stability and reliability of the automation solution in production environments.

Exam trap

Candidates often rely solely on hardcoded UI attributes, forgetting that combining dynamic variables, wildcards, and anchors is essential for robust automation.

201
MCQmedium

What is the primary benefit of using a 'Mock' in a test case?

A.To increase the execution speed of the test by removing UI automation.
B.To ensure that the test covers all possible UI interactions.
C.To isolate the workflow logic from external systems and environment variables.
D.To automatically document the workflow's logic flow for stakeholders.
AnswerC

Mocks isolate the code from external dependencies, ensuring that the test is deterministic and independent. By providing fixed, expected outputs from external services, developers can focus on validating their own logic, avoiding failures caused by external downtime, configuration changes, or inconsistent test data in connected systems.

Why this answer

Mocks allow for the isolation of the workflow under test by replacing real dependencies like APIs or databases with simulated ones. This ensures that the test results are solely dependent on the logic within the workflow, not the availability or state of external systems. This is critical for creating stable, fast, and repeatable tests that can run independently of external environment factors, which are often the primary cause of intermittent test failures.

Exam trap

Students often believe mocks are used to speed up execution by replacing UiPath activities, whereas their actual purpose is to isolate workflows from unpredictable external systems.

202
MCQeasy

A developer has created a UI descriptor in the Object Repository for a login button. Later, the application is updated and the button's label changes from 'Login' to 'Sign In'. The developer updates the selector in the Object Repository to reflect the new label. What is the effect on existing workflows that use this UI descriptor?

A.The workflows will automatically use the updated selector without any further changes.
B.The workflows will fail until the developer manually updates each activity's selector.
C.The workflows will continue to use the old selector because they are cached.
D.The workflows will need to be recompiled to pick up the new selector.
AnswerA

The Object Repository centralizes UI descriptors, so when a selector is updated there, all activities referencing that descriptor automatically use the new selector. This is a key benefit of the Object Repository: it eliminates the need to manually update each workflow. The change propagates seamlessly, ensuring consistency and reducing maintenance effort.

Why this answer

Updating a selector in the Object Repository automatically propagates to all workflows that reference that UI descriptor. This centralized management ensures that changes are applied consistently without manual intervention, which is a primary reason to use the Object Repository in UiPath projects.

Exam trap

The trap here is thinking that workflows need manual updates or recompilation; the Object Repository propagates changes automatically.

203
MCQhard

Which activity is best suited for extracting specific data points from an XML response, as opposed to a JSON response?

A.Deserialize JSON
B.Deserialize XML
C.Read Text File
D.For Each Row
AnswerB

Deserialize XML is the dedicated activity for converting raw XML strings into an XDocument object. Once converted, the developer can apply XPath expressions to navigate the tree and extract values. This is the industry-standard way to parse XML responses, ensuring accurate data retrieval from complex hierarchical document formats in UiPath.

Why this answer

When dealing with XML, the structure is hierarchical and requires different parsing techniques than JSON. The 'Deserialize XML' activity combined with XPath queries is the standard approach in UiPath. XPath allows developers to pinpoint specific nodes within an XML tree, providing a robust method for data extraction that is resilient to node ordering or complex document structures commonly found in legacy enterprise web services.

Exam trap

Test-takers frequently confuse JSON deserialization activities with XML methods, attempting to parse hierarchical XML structures using JSON parsing logic.

204
MCQmedium

You are building a project using the Object Repository. You need to ensure that when a UI element’s selector changes in the application, you only update it once to reflect the change throughout all workflows. Which approach achieves this goal?

A.Copy the selector into an asset in Orchestrator and reference the asset in each activity.
B.Use the 'Update Element' feature in the Project panel to overwrite local selectors for every workflow file.
C.Define the UI element within a library project and reference it via the Object Repository in your workflows.
D.Create global variables for selectors and inject them into each activity using the property grid.
AnswerC

Defining UI elements within a shared library project creates a centralized source of truth. When workflows reference elements from this library, updating the descriptor within the library updates all dependent projects, ensuring streamlined maintenance and consistent element interaction across the entire automation suite for your organization's UI-based processes.

Why this answer

The Object Repository promotes reusability and maintainability by decoupling UI elements from individual workflows. By defining elements in the Object Repository, you create a centralized library. When the target application UI updates, modifying the descriptor within the library automatically propagates the change to all referencing workflows, significantly reducing maintenance overhead.

This architectural pattern ensures consistency and minimizes the risk of broken automations due to minor interface changes in the underlying target application.

Exam trap

Candidates frequently assume that modifying elements within a local process workflow automatically updates other projects, forgetting that centralized reuse specifically requires a library project reference.

205
MCQhard

A developer is using the HTTP Request activity to call an API that returns a large JSON response. The developer needs to extract a specific value from the response and use it in subsequent steps. The response is stored in a variable of type String. After deserializing the JSON into a JObject, which activity and configuration should the developer use to reliably extract the value using a JSONPath expression?

A.Use the Select Token activity, set the Input property to the original JSON string, and set the JsonPath property to the desired expression.
B.Use the Deserialize JSON activity again with the JObject as input and specify the JSONPath in the JsonPath property.
C.Use the Assign activity to call the JObject.SelectToken method directly, passing the JSONPath expression as a string argument.
D.Use the Select Token activity, set the Input property to the JObject, and set the JsonPath property to the desired expression.
AnswerD

The Select Token activity is specifically designed to query a JObject using a JSONPath expression. Setting the Input property to the deserialized JObject and providing the JSONPath in the JsonPath property returns the matching token. This is the most reliable and efficient method for extracting values from JSON in UiPath, as it leverages Newtonsoft.Json's JSONPath support.

Why this answer

After deserializing the JSON string into a JObject, the Select Token activity is the correct tool to query it with a JSONPath expression. It accepts a JObject as input and returns the matching token. Using Deserialize JSON again or passing a string to Select Token would fail.

Directly calling JObject.SelectToken is possible but not the standard UiPath approach.

Exam trap

The trap here is attempting to use Select Token directly on a JSON string without first deserializing it into a JObject.

206
MCQeasy

A developer has created a library in UiPath Studio and wants to share it with other developers in the team. The library is currently stored locally. What is the recommended way to distribute the library to the team?

A.Copy the .nupkg file to a shared network folder and instruct team members to add that folder as a package source.
B.Publish the library to Orchestrator, and have team members install it from the Orchestrator package feed.
C.Instruct team members to copy the library project folder from the developer's machine to their own.
D.Export the library as a .zip file and send it via email to each team member.
AnswerB

Publishing to Orchestrator makes the library available to all team members through a centralized feed. They can easily install it using Manage Packages in UiPath Studio. This method ensures version control and easy updates, and is the standard approach for sharing libraries in a team environment.

Why this answer

The recommended way is to publish the library to Orchestrator, which provides a centralized, version-controlled feed. Team members can then install it via Manage Packages. Other methods like network folders, email, or copying folders lack the management, versioning, and ease of use that Orchestrator offers.

Exam trap

The trap here is thinking that a shared network folder is equivalent to Orchestrator for package distribution, but it lacks centralized management and versioning.

207
MCQhard

Refer to the exhibit. The automation project consistently fails with a 'Timeout' exception during a long-running API call. What is the most appropriate action to resolve this issue?

A.Decrease the timeout value to 1000ms.
B.Increase the timeout value to a higher threshold.
C.Remove the timeout property entirely.
D.Switch the request to use the GET method instead.
AnswerB

Increasing the timeout gives the server more time to complete its processing and return a result. This is the standard resolution for workflows that are failing due to legitimate, long-running backend operations. It ensures the robot successfully collects the data without triggering a premature exception while waiting for the service response.

Why this answer

The Timeout property specifies how long the UiPath activity waits for a server response. If an API process takes longer than the configured threshold, the robot aborts the operation. Increasing this value is the correct action when dealing with known, slow-responding APIs, ensuring the robot allows sufficient time for processing without prematurely terminating the connection and causing a failure in the workflow logic.

Exam trap

Candidates often try to wrap the HTTP Request in a 'Retry Scope' to fix a timeout, rather than addressing the root cause by increasing the activity's timeout property.

208
Multi-Selectmedium

Which TWO statements about using Git with UiPath Studio are correct?

Select 2 answers
A.Studio automatically commits changes to Git every time a file is saved.
B.Git ignore files should be used to exclude unnecessary temporary files.
C.The 'Team' tab allows developers to clone, push, and pull repositories.
D.Git is only useful for large projects with more than ten developers.
E.You must use an external Git client because Studio does not support Git.
AnswersB, C

Using a .gitignore file is standard practice to exclude files like .local, .settings, or temporary artifacts from the repository. This keeps the repository lightweight and prevents merge conflicts caused by machine-specific temporary files that do not contain meaningful automation logic or configuration data.

Why this answer

Integration with Git provides a robust foundation for change management and collaboration. It allows developers to track changes, manage features through branching, and recover from mistakes. Understanding the interaction between local Studio workspaces and remote repositories is fundamental.

Proper use of Git ensures that the project history is preserved and that the team can effectively collaborate on complex automation projects without overwriting each other's work or introducing conflicting changes into the production environment.

Exam trap

Candidates frequently select answers implying that compiled assemblies or temporary user workspace data should be committed directly to version control.

209
MCQmedium

You are building a UiPath automation in Studio and need a variable that holds a collection of invoice amounts so you can sum them later with a For Each activity. You want to declare it in the Variables panel with a type that supports indexed access and a Count property. Which data type should you select from the Browse for types dialog?

A.System.Data.DataTable
B.System.Collections.ArrayList
C.System.Double[]
D.System.Collections.Generic.List(Of Double)
AnswerD

List(Of Double) is a generic collection that offers indexed access, a Count property, and works directly with For Each and LINQ aggregation methods. Declaring it in the Variables panel with this type lets you add invoice amounts via the Add method and later compute totals, making it the appropriate structured type for a dynamic collection of numeric values in this scenario.

Why this answer

A generic List(Of Double) provides strongly typed storage, dynamic resizing through Add, indexed access, and a Count property, all of which align with collecting invoice amounts before summation. Arrays are fixed-size, DataTable is tabular, and ArrayList is untyped, so none matches the requirement as cleanly as the generic list declared through Browse for types.

Exam trap

The trap here is assuming that any collection type with a Count property is interchangeable, when only a generic List offers both dynamic growth and strong typing for numeric aggregation.

210
MCQhard

A finance team uses an Attended Robot on each analyst's desktop. Analysts frequently lock their workstations or log off at day's end while long-running document reviews are still in progress. The automation must continue processing even when the analyst is not actively using the machine. Which deployment change best satisfies this requirement?

A.Convert the automation to an Unattended Robot and trigger it from Orchestrator so it runs without an interactive desktop session.
B.Deploy the process to a High-Density Robot on the analyst's workstation and schedule it during business hours.
C.Increase the Attended Robot's timeout setting in Orchestrator so the session stays active after workstation lock.
D.Keep the Attended Robot but configure the UiPath Assistant to start automatically at user logon.
AnswerA

Unattended Robots execute under a dedicated robot account and do not depend on an interactive user session, so locking or logging off the analyst does not interrupt the job. Orchestrator triggers and monitors the run, which matches the need for continuous processing.

Why this answer

Unattended execution decouples the automation from the interactive desktop session, letting Orchestrator start and monitor jobs on a dedicated robot account. This is the correct model when work must proceed while users are locked out or signed off, whereas Attended execution is inherently tied to the logged-in user's session.

Exam trap

The trap here is treating Assistant autostart or timeout tuning as a way to keep Attended automations alive after the user session ends.

211
MCQeasy

Which action must a developer perform to add a UI element from a screen to the Object Repository?

A.Manually create an XML file in the project folder and type the selector string.
B.Select the element using the UI Explorer and click 'Add to Object Repository'.
C.Copy the element's selector string into a global variable within the project.
D.Use the 'Highlight' activity to record the element's position on the screen.
AnswerB

This is the standard, built-in mechanism provided by UiPath Studio. It ensures that the selector is correctly captured, validated, and stored in the repository. Using the official UI Explorer tool ensures that all relevant attributes and anchor configurations are captured accurately, minimizing the risk of selector-related errors during future automation execution.

Why this answer

The Object Repository is integrated directly into the 'UI Explorer' or the 'Use Application/Browser' recording tools. To add an element, a developer captures the target using the screen scraping or recording interface, then selects the option to add the target to the project repository. This process captures the necessary selector information and stores it, allowing the developer to name and manage the element effectively for subsequent use across the project workflows.

Exam trap

Candidates often manually build selectors in the properties panel instead of using the UI Explorer's 'Add to Object Repository' feature, missing the benefits of the centralized, standardized repository structure.

212
MCQmedium

You need to send an email with an attachment that is generated during the runtime. What is the critical step to ensure the file is ready to be attached?

A.Use the 'Wait for Download' activity.
B.Use a 'Retry Scope' to wait until the file is accessible.
C.Enable the 'DelayAfter' property on the Send Mail activity.
D.Rename the file immediately after creation.
AnswerB

A Retry Scope with a condition to check if the file is accessible or exists is the robust way to handle file locks. This ensures the robot waits until the generating process has fully closed the file handle before attempting to attach it, preventing 'File in Use' exceptions.

Why this answer

Before attaching a file to an email, you must ensure the file handle has been released by the application that created it (e.g., Excel or a PDF generator). If the automation attempts to access the file while the generating application still has an open lock, the 'Send SMTP Mail Message' activity will fail. Implementing a short delay or verifying file existence is standard practice to ensure stability.

Exam trap

Candidates often attempt to attach a newly generated file immediately without waiting, assuming the file creation process instantly releases the operating system lock.

213
MCQeasy

In the context of the Try-Catch activity, what is the purpose of the 'Finally' block?

A.To handle errors that occurred specifically in the 'Catch' block.
B.To execute code that must run regardless of success or failure.
C.To catch any remaining exceptions that the 'Catch' blocks missed.
D.To re-throw the exception that was caught in the 'Catch' block.
AnswerB

The 'Finally' block provides a guaranteed execution path for cleanup operations. Whether the 'Try' block succeeds or an exception is caught, the logic inside 'Finally' will run, ensuring that system resources are properly disposed of, which is essential for stable, long-running automation processes.

Why this answer

The 'Finally' block executes regardless of whether an exception occurred or if the 'Try' block completed successfully. This is crucial for cleanup tasks, such as closing file streams, releasing database connections, or logging end-of-process status. Mastery of this block ensures that resources are always managed correctly, preventing memory leaks or locked files that could hinder future process executions.

Exam trap

Candidates often mistake the Finally block for an error-handling catch mechanism, assuming it only runs when an exception occurs.

214
MCQmedium

Which activity is most effective for testing workflows that involve long-running transactions where the robot must wait for human intervention?

A.Delay
B.Wait for Form Task
C.Retry Scope
D.Parallel Activity
AnswerB

In long-running workflows, waiting for a human task is a common pattern. Testing such workflows requires the ability to interact with the task system or simulate its completion. Properly configured, the test can verify the workflow logic before, during, and after the human intervention, ensuring the entire process behaves correctly.

Why this answer

Long-running workflows use persistence points, requiring a different testing approach than standard processes. The Test Suite supports this by allowing the test to wait for the business process to reach a state of completion. By designing tests that handle the asynchronous nature of these workflows, developers ensure that the final result is correctly validated, even when the process spans a significant amount of time or involves multiple stages of interaction.

Exam trap

Test-takers often choose standard synchronous test assertions or delays, failing to recognize that long-running transactions require specific activities to handle human-in-the-loop persistence.

215
MCQeasy

You are building a process in UiPath Studio where a sequence must execute a fixed number of times based on a counter you manage yourself. You need a variable that starts at 1 and increments by 1 on each iteration. Which approach correctly creates and initializes that variable?

A.Create a variable of type String with default value "1" and increment it using counter = counter + 1.
B.In the Variables panel, create a variable with type Int32 and set its Default value to 1.
C.Add a Write Line activity with the text "counter = 1" to declare the variable.
D.Use an Assign activity with the expression counter = "1" to create the variable automatically.
AnswerB

The Variables panel is the central place to declare a variable. Setting the type to Int32 and the Default value to 1 means the variable is initialized to 1 each time the workflow runs. This is exactly how you create a counter that begins at 1. The panel automatically sets the scope, so the variable is available to activities in the same container.

Why this answer

The Variables panel is the correct place to declare and initialize variables in UiPath Studio. By setting the type to Int32 and the Default value to 1, the variable is ready for arithmetic operations such as incrementing. Other options either do not create a variable, assign the wrong data type, or rely on activities that cannot declare variables.

Exam trap

The trap here is assuming that an Assign activity or a Write Line activity can create a variable on the fly, when only the Variables panel or the expression editor's Create Variable shortcut actually declares it.

216
MCQmedium

A shared Unattended Robot in an Orchestrator tenant runs a nightly invoice-posting process. During month-end, the same robot must also pick up an ad-hoc urgent payment run while the nightly job is still executing. The tenant is licensed with a single Unattended Robot runtime. What will happen when the urgent job is dispatched to that robot?

A.Orchestrator terminates the running nightly job to prioritize the urgent job according to its higher queue priority setting.
B.The urgent job starts immediately in a second parallel session on the same robot machine, doubling the runtime usage temporarily.
C.The urgent job is rejected with a license error and must be manually re-created after the nightly job finishes.
D.The urgent job is queued in Orchestrator and starts automatically as soon as the nightly job releases the runtime.
AnswerD

Orchestrator enforces one concurrent job per licensed Unattended runtime, so the urgent job waits in the queue and is dispatched when the nightly invoice-posting process completes and frees the runtime. This preserves license compliance and is the expected behavior in a single-runtime tenant.

Why this answer

Each Unattended Robot license supports a single concurrent job execution, so a second dispatched job must wait until the first releases the runtime. Orchestrator places the urgent job in Pending status and starts it automatically when the nightly process completes, with no manual intervention and no license violation.

Exam trap

The trap here is assuming that a higher-priority job can preempt or run in parallel with a job already occupying the only Unattended runtime.

217
MCQmedium

A developer is building a library in UiPath Studio that performs common Excel operations. A workflow inside the library uses the Excel Application Scope activity and relies on the UiPath.Excel.Activities package. When the developer publishes the library to Orchestrator and another team installs it, they report that their process fails with a 'Missing activity' error even though their project already references a different version of UiPath.Excel.Activities. What should the developer have done to prevent this dependency conflict?

A.Convert the Excel-dependent workflows into Invoke Code activities so the library no longer references UiPath.Excel.Activities.
B.Publish the library as a template instead of a library package so that the Excel activities are bundled directly into the consumer project.
C.Instruct the consuming team to uninstall all other versions of UiPath.Excel.Activities from their Orchestrator tenant and reinstall only the version used by the library.
D.Set the UiPath.Excel.Activities dependency in the library's project.json to a specific version and mark it as a strict dependency.
AnswerD

Pinning the dependency to a specific version and marking it strict ensures that the consuming process uses a compatible version, preventing the missing activity error caused by version mismatch. It makes the library's contract explicit and reproducible, which is the recommended practice when sharing libraries across teams.

Why this answer

The library must declare its dependency on UiPath.Excel.Activities with a specific version and mark it as strict so that the consuming project resolves a compatible version. Without this, NuGet may pick a different version, causing missing activity errors. Pinning and marking strict is the standard way to ensure library dependencies are honored.

Exam trap

The trap here is assuming that the consuming project's existing reference automatically satisfies the library's dependency, when version resolution can still fail without a strict version constraint.

218
MCQhard

Refer to the exhibit. You are reading this JSON file to configure a file mover. Which activity sequence correctly parses this JSON and moves the files?

A.Use 'Read Text File', then 'Deserialize JSON', then 'Move File'.
B.Use 'Read CSV' and map the columns directly to the 'Move File' input arguments.
C.Use 'Read Text File' and regex extract the paths, then move the file.
D.Use 'Get Environment Variable' to read the JSON file contents.
AnswerA

This sequence correctly retrieves the raw content, transforms it into a structured object, and then utilizes the extracted keys for the file movement logic. It is the most reliable way to handle external configuration files, ensuring that values like 'SourcePath' are correctly retrieved and utilized during the execution of the file movement process.

Why this answer

Deserializing the JSON string into a custom object or JObject allows for type-safe access to configuration values. Using the 'Deserialize JSON' activity is the standard approach to convert raw text into a manageable format. Once parsed, the resulting object can be passed into the 'Move File' activity.

This pattern ensures that configuration changes are reflected dynamically without modifying the underlying workflow logic, which is essential for maintaining scalable and robust automation solutions.

Exam trap

Test-takers frequently confuse raw string handling with deserialization, attempting to pass unparsed JSON strings directly into file or data manipulation activities.

219
MCQeasy

Which of these is the most effective way to rename a variable throughout your entire project without breaking references?

A.Find and replace the name in all xaml files with a text editor.
B.Change the name in the Variables panel.
C.Delete the variable and create a new one with the desired name.
D.Rename it only in the property field of the first activity.
AnswerB

Changing the name in the Variables panel triggers an automated refactoring process within Studio. It updates all properties, activities, and expressions that reference the variable, ensuring no broken links occur. This is the only safe and supported method for renaming variables within a UiPath project to maintain consistency.

Why this answer

Renaming a variable directly in the Variables panel is the correct way to ensure that UiPath updates all references to that variable across the workflow. This is safer than attempting to rename it manually, as the Studio environment automatically tracks the variable ID and updates every activity where it is used, preventing broken references and ensuring the workflow remains valid and functional after the change.

Exam trap

Candidates often attempt to manually rename variables by searching and replacing text in the workflow, which risks breaking references in activities and properties throughout the project.

220
MCQmedium

A developer needs a workflow that waits for either an incoming email or a file to appear in a folder, whichever happens first, and then performs a different action for each case. The developer wants to avoid polling both conditions repeatedly. Which activity should be used to model this behavior?

A.Parallel
B.Pick
C.While
D.Switch
AnswerB

The Pick activity contains multiple PickBranch activities, each with a trigger and an action. Execution waits until the first trigger completes, runs that branch's action, and cancels the remaining branches. This exactly models the scenario where the workflow should proceed as soon as either the email arrives or the file appears, without waiting for both conditions.

Why this answer

The Pick activity is purpose-built for waiting on multiple triggers and continuing with the first one that completes, cancelling the others. That matches the requirement to react to either an incoming email or a new file without polling. Parallel waits for all branches, Switch routes on a value, and While requires manual polling, so none of them provide the desired behavior.

Exam trap

The trap here is assuming that Parallel will continue as soon as the first branch finishes, when in fact Parallel waits for all branches to complete before moving on.

221
MCQhard

Refer to the exhibit. The automation fails to send an email with a 20MB attachment. Which is the most likely cause and solution?

A.Change the Port to 25 and set EnableSSL to False.
B.Increase the Timeout property in the activity properties.
C.The server address is incorrect and should be set to pop.outlook.com.
D.The error is caused by an invalid sender email address format.
AnswerB

Large attachments require more transmission time. If the server takes longer than the configured timeout to process the email and send an acknowledgement, the robot throws a timeout exception. Increasing this value gives the network stack sufficient time to complete the transfer of the 20MB file.

Why this answer

The 'Operation has timed out' error in SMTP usually indicates that the attachment size exceeds the server's threshold or that the network latency prevents the upload within the defined 5000ms timeout window. Increasing the Timeout property in the Send SMTP Mail Message activity allows more time for the server to acknowledge the transmission of large files, which is necessary when working with substantial email attachments in enterprise mail environments.

Exam trap

Candidates often assume timeout errors on large attachments are caused by network connectivity loss, ignoring that default timeout limits are simply too short.

222
MCQhard

An unattended UiPath robot processes invoices by reading each PDF from a shared network folder, extracting the PO number, and posting it to an internal web application. Extraction works for most files, but a small subset of scanned PDFs fail OCR and throw a business-rule exception that should be logged and skipped without stopping the run. A separate class of failures — the internal web application returning HTTP 500 — must retry a few times before the item is abandoned. The developer wants a single structured design that distinguishes these two failure categories inside the per-invoice loop. Which approach should the developer implement?

A.Wrap the per-invoice processing in a Try Catch with a Catch block for System.Exception that logs the error, sleeps for 30 seconds, and then re-invokes the same workflow recursively until extraction succeeds.
B.Remove all Try Catch activities and rely solely on the Global Exception Handler, configuring it to catch BusinessRuleException and use the Continue activity to resume the For Each loop at the next invoice.
C.Wrap the per-invoice processing in a Try Catch whose Catch block filters on BusinessRuleException and continues the loop, and place the HTTP retry logic inside the Try block using a Retry Scope activity scoped only to the web-posting sequence.
D.Wrap the per-invoice processing in a Try Catch whose Catch block catches System.Exception and calls Rethrow, and configure a Global Exception Handler that logs the invoice number and resumes the next item.
AnswerC

BusinessRuleException is the correct UiPath exception type for deterministic, non-transient data problems such as unreadable scans, and catching it while continuing the loop skips the bad item without halting the run. The HTTP 500 is transient, so isolating the web-posting sequence inside a Retry Scope with a small attempt count lets it recover automatically. This single structure cleanly separates the two failure categories the scenario requires.

Why this answer

The scenario needs two distinct exception strategies inside the same loop: deterministic data failures that should be skipped, and transient HTTP failures that should be retried a bounded number of times. Catching BusinessRuleException and continuing the loop handles the unreadable scans, while a Retry Scope scoped to the web-posting sequence absorbs the HTTP 500 without affecting the rest of the item. Combining both in one Try Catch keeps the design structured and predictable.

Exam trap

The trap here is assuming that any catch-all handler or the Global Exception Handler can skip a single bad item and continue the loop, when only a properly typed Catch block inside the loop can do that.

223
MCQmedium

A developer is using a Switch activity to route a workflow based on a 'Status' string variable. If the variable contains 'In Progress' but no case is defined for this value, what is the expected behavior of the activity?

A.The workflow will throw a Runtime Execution Error indicating no case match.
B.The activity will be skipped entirely and move to the next activity in the sequence.
C.The workflow will execute the activities defined within the Default case.
D.The Switch activity will pause and wait for manual user intervention to select a path.
AnswerC

The Default case acts as a catch-all mechanism for any input that does not satisfy the conditions of the specific cases defined by the developer. By placing logic here, developers can ensure that even unhandled strings like 'In Progress' result in a controlled action, such as logging a warning or setting a fallback status before the process continues.

Why this answer

The Switch activity evaluates the expression and executes the activities within the matching case. When no match is found between the expression result and the predefined cases, the workflow executes the activities located in the Default section. This ensures that the automation handles unexpected input gracefully without failing, which is critical for maintaining robust and predictable control flow in production environments.

Exam trap

Many candidates mistakenly believe a Switch activity will throw an unhandled runtime error if a matching case is missing, overlooking the built-in fallback behavior of the Default case.

224
MCQeasy

Which UiPath component is responsible for executing the automation project logic directly on the user's machine or a virtual machine?

A.UiPath Studio
B.UiPath Orchestrator
C.UiPath Robot
D.UiPath Action Center
AnswerC

The UiPath Robot is the software component that executes the processes built in Studio. It receives instructions from Orchestrator or is triggered locally, interacts with local applications, and performs the tasks defined in the workflow. It is the primary engine for automation runtime.

Why this answer

UiPath Robot is the execution engine that connects to Orchestrator to run processes. It serves as the bridge between the centralized management platform and the local machine where the actual application interaction occurs. Understanding the role of the Robot is fundamental for developers to deploy automations correctly and monitor execution status effectively within the UiPath ecosystem.

Exam trap

Candidates often confuse the 'UiPath Robot' with 'UiPath Orchestrator,' thinking the management platform is responsible for the actual execution of the logic on the local machine.

225
MCQeasy

A developer wants a set of activities to execute sequentially, one after another, and also wants to be able to collapse that group into a single labeled block on the designer canvas for readability. The activities share the same variables and do not require any conditional or parallel behavior. Which container should the developer use?

A.Sequence
B.Flowchart
C.State Machine
D.Parallel
AnswerA

A Sequence executes its children in the exact order they appear, top to bottom, and it can be collapsed on the canvas with an editable DisplayName. It supports shared variables declared in its Variables panel, so the grouped activities keep their scope. Since no branching or concurrency is needed, Sequence is the simplest container that satisfies both the execution order and the readability requirement.

Why this answer

Sequence is the container for straight-line execution: children run top to bottom, variables can be shared across the group, and the whole block can be collapsed and renamed for clarity on the designer. Because the scenario forbids conditional and parallel behavior, the branching-oriented Flowchart and State Machine and the concurrent Parallel container are all unnecessary or actively wrong for this requirement.

Exam trap

The trap here is reaching for Parallel or Flowchart as a general-purpose grouping container when the requirement is plain ordered execution with no branching or concurrency.

Page 2

Page 3 of 4

Page 4

All pages