Practice Free UIPATH-ADPV1 Exam Online Questions
A developer creates a process that uses data from multiple sources and uploads it to an Orchestrator queue. The data originates from emails in different email inboxes and needs to be processed in the same order in which the email was received.
To ensure the Queue Items are processed in the correct order, which property of the Add Queue Item activity should be used?
- A . Postpone
- B . Reference
- C . Itemlnformation
- D . Deadline
A
Explanation:
To ensure the Queue Items are processed in the correct order, the Postpone property of the Add Queue Item activity should be used. The Postpone property allows you to specify the date and time after which the queue item can be processed. This property can be used to prioritize the queue items based on the order of the emails received.
For example, if the email was received at 10:00 AM, the Postpone property can be set to 10:00 AM or later, so that the queue item will not be processed before that time. The Postpone property can be set to a DateTime value, a variable, or an expression that returns a DateTime value.
For example, the following expression sets the Postpone property to the current date and time plus one hour:
VB DateTime.Now.AddHours(1)
What can be verified in the InltAIISettlngsTestCase test case?
- A . Verify If a certain application is open in the execution environment.
- B . Verify the naming of a certain key present in the ‘Config’ dictionary.
- C . Verify the variable type for the ‘Config’ dictionary.
- D . Verify If a certain key is present in the ‘Config’ dictionary.
D
Explanation:
In the InitAllSettingsTestCase test case, one of the verifications that can be done is to check if a certain key is present in the ‘Config’ dictionary. This ensures that necessary configurations are available for the process.
The Extract PDF Page Range activity is used to extract a specific set of pages from a PDF file.
Which of the following statements correctly describes this activity?
- A . Password-protected PDF files cannot be processed with this activity.
- B . Range argument accepts complex range values or "All".
- C . OutputFileName argument is optional.
- D . PageCount argument outputs the number of extracted pages.
B
Explanation:
The Extract PDF Page Range activity is used to extract a specific set of pages from a PDF file and save them as a new PDF file1.
The activity has the following properties:
• Common
o DisplayName: The display name of the activity1.
• File
o FileName: The path of the PDF file you want to extract a range of pages from. This field supports only strings and String variables1.
o OutputFileName: The name you want to use for the file that is generated from the extracted range of pages. This field supports only strings and String variables1.
o Password: The password of the PDF file, if necessary. This field supports only strings and String variables1.
• Input
o Range: The range of pages that you want to retrieve. You can specify a single page (e.g. “7”), a range of pages (e.g. “7-12”), or a complex range, (e.g. “2-5, 7, 15-End” or “All”). Only string variables and strings are supported. By default, this field is cleared1.
• Misc
o Private: If selected, the values of variables and arguments are no longer logged at Verbose level1.
The statement that correctly describes this activity is B. Range argument accepts complex range values or “All”. This statement is true because the Range property allows you to specify the pages that you want to extract from the PDF file using different formats, such as single pages, ranges, or complex ranges1. You can also use the keyword “All” to extract all the pages from the PDF file1.
The other statements are incorrect because:
• A. Password-protected PDF files cannot be processed with this activity. This statement is false because the activity has a Password property that allows you to enter the password of the PDF file, if necessary1. This enables the activity to process password-protected PDF files1.
• C. OutputFileName argument is optional. This statement is false because the OutputFileName property is required for the activity to work1. This property specifies the name of the file that is generated from the extracted range of pages1. If this property is not provided, the activity will throw an exception1.
• D. PageCount argument outputs the number of extracted pages. This statement is false because the activity does not have a PageCount argument1. The activity does not output the number of extracted pages, but only the new PDF file that contains the extracted pages1.
HOTSPOT
A developer aims to employ the REFramework for automating a business process that Involves a TransactionData collection (DataTable) comprising vendor names and addresses.
Instructions: Choose the appropriate variable type for the Transactionltem from the provided drop-down list in the following exhibit.

Explanation:
The REFramework (Robotic Enterprise Framework) in UiPath is designed to work with transactional dat
a. For a process that involves iterating over a DataTable where each row represents a transaction item, the appropriate variable type for the TransactionItem would be a DataRow.
In the context of REFramework, a DataRow is typically used to represent a single transaction item when the transaction data is contained within a DataTable. This allows the framework to process
each row (or transaction) one by one.
Therefore, the correct variable type for the TransactionItem from the drop-down list should be DataRow.
Which of the following is an accurate example of using LINQ for querying data in a UiPath process?
- A . Applying LINQ to find duplicates in a list of integers by writing:
listOflntegers.FindDuplicates().ToList() - B . Utilizing LINQ to sort DataTable rows based on a specific column by writing:
dataTable.OrderBy(Function(x) x.ToString).CopyToDataTable() - C . Executing LINQ to merge two DataTables by writing:
dataTable1.Merge(dataTable2).CopyToDataTable() - D . Using LINQ to filter a list of strings containing only "UiPath" by writing:
listOfStrings.Where(Function(x) x = "UiPath").ToList()
D
Explanation:
LINQ stands for Language-Integrated Query, which is a set of features that allows you to query data from different sources using a common syntax1. In UiPath, you can use LINQ to query data from collections, such as lists, arrays, or dictionaries, or from data tables, such as Excel or CSV files2.
Option D is an accurate example of using LINQ for querying data in a UiPath process, because it uses the Where method to filter a list of strings based on a condition, and returns the result as a new list. The condition is that the string must be equal to “UiPath”, which is specified by the lambda expression Function(x) x = "UiPath". The ToList method converts the query result into a list type3.
The other options are not accurate examples of using LINQ for querying data in a UiPath process, because they either use methods that are not part of LINQ, or use LINQ for purposes other than querying data.
For example:
Option A uses a custom method FindDuplicates, which is not a standard LINQ method, and does not specify a lambda expression to define the query criteria4.
Option B uses LINQ to sort data table rows, which is not a querying operation, and does not use the Field method to access the column values5.
Option C uses the Merge method, which is a data table method, not a LINQ method, and does not use any query expression at all.
Reference:
1: What is LINQ? – C# | Microsoft Docs
2: LINQ – UiPath Activities
3: Enumerable.Where Method
(System.Linq) | Microsoft Docs
4: How to find duplicates in a list using LINQ – Stack Overflow
5: How to use LINQ on a DataTable in Uipath – Stack Overflow: DataTable.Merge Method (System.Data) | Microsoft Docs
In the context of the REFramework, if the OrchestratorQueueName key is present in both the Settings and Assets sheets, but an asset with the corresponding name is not present in Orchestrator, what will be the behavior at run time?
- A . An empty string will be saved for the "OrchestratorQueueName" key in the config dictionary.
- B . The flow will throw an exception in InitAllSettings workflow.
- C . The "OrchestratorQueueName" key is not added to the config dictionary and the flow will throw in Get Transaction Data workflow.
- D . The flow will use the value from the Settings sheets since the asset is missing.
B
Explanation:
In the Robotic Enterprise Framework (REFramework) for UiPath, the OrchestratorQueueName key is used to specify the name of the queue from which the robot will process transactions. If the OrchestratorQueueName key is specified in both the Settings sheet and the Assets sheet of the configuration, the REFramework will first attempt to get the value from the Orchestrator asset.
If the asset with the corresponding name to OrchestratorQueueName is not found in Orchestrator, the behavior at runtime would depend on how the REFramework’s InitAllSettings.xaml is implemented. Generally, if an asset is expected but not found in the Orchestrator, an exception is thrown because the asset is typically considered a required component for the process to run correctly.
Therefore, the most likely behavior at runtime would be:
B. The flow will throw an exception in the InitAllSettings workflow.
This would occur because the InitAllSettings workflow contains the logic to load configuration settings and assets, and if an expected asset is not found, an exception is usually thrown to prevent the process from continuing without required configuration.
In the context of the REFramework, if the OrchestratorQueueName key is present in both the Settings and Assets sheets, but an asset with the corresponding name is not present in Orchestrator, what will be the behavior at run time?
- A . An empty string will be saved for the "OrchestratorQueueName" key in the config dictionary.
- B . The flow will throw an exception in InitAllSettings workflow.
- C . The "OrchestratorQueueName" key is not added to the config dictionary and the flow will throw in Get Transaction Data workflow.
- D . The flow will use the value from the Settings sheets since the asset is missing.
B
Explanation:
In the Robotic Enterprise Framework (REFramework) for UiPath, the OrchestratorQueueName key is used to specify the name of the queue from which the robot will process transactions. If the OrchestratorQueueName key is specified in both the Settings sheet and the Assets sheet of the configuration, the REFramework will first attempt to get the value from the Orchestrator asset.
If the asset with the corresponding name to OrchestratorQueueName is not found in Orchestrator, the behavior at runtime would depend on how the REFramework’s InitAllSettings.xaml is implemented. Generally, if an asset is expected but not found in the Orchestrator, an exception is thrown because the asset is typically considered a required component for the process to run correctly.
Therefore, the most likely behavior at runtime would be:
B. The flow will throw an exception in the InitAllSettings workflow.
This would occur because the InitAllSettings workflow contains the logic to load configuration settings and assets, and if an expected asset is not found, an exception is usually thrown to prevent the process from continuing without required configuration.
While troubleshooting a process developed using the Robotic Enterprise (RE) Framework, you have placed a breakpoint at the "Invoke InitAllSettings" workflow activity.
Given the current state of the Executor, what will occur when you click on the Step Over button?
- A . Executor directs to the "If in_OrchestratorQ … " activity
- B . Executor directs to the first InitAllSettings workflow activity
- C . Executor directs to the first activity outside "If first run, read local configuration"
- D . Executor directs to the "First Run" sequence
A
Explanation:
When a breakpoint is placed at a particular activity within the workflow and the Step Over function is used, the Executor will move to the next activity in the sequence. Given the context of the REFramework, after stepping over the "Invoke InitAllSettings" workflow, the next activity that would execute is the "If in_OrchestratorQueueName …" activity, assuming there are no activities in between within the "InitAllSettings" workflow itself. Step Over will not go into the invoked workflow but will move to the next activity at the same level of the workflow where the breakpoint was placed.
Reference: UiPath Studio Guide: Debugging
Which part of a test case that is using BDD (Behavioral-Driven Development) template structure supports the Surround with mock feature?
- A . Then
- B . Setup
- C . When
- D . Given
B
Explanation:
In the BDD (Behavioral-Driven Development) template structure, the "Setup" part of a test case supports the Surround with mock feature. This section is used to set up the testing environment, including mock configurations.
In an RPA Testing project, you created the mock "MySequencemock" for the file "MySequence". You have to update "MySequence" and add a Log Message activity and a Verify Expression activity.
What will happen to "MySequencemock" file when you save the project, assuming that the file is closed?
- A . Only the Verify Expression activity will be added to the mock file.
- B . The changes made in "MySequence" workflow file are applied to the mock file.
- C . Only the Log Message activity will be added to the mock file.
- D . The changes made in "MySequence" workflow file are not applied to the mock file.
B
Explanation:
A mock file is a copy of a workflow file that is used for testing purposes, where some activities are replaced by mock activities that simulate the expected behavior1. A mock file can be created by selecting Mock workflow under test in the Create Test Case window2. The mock file is stored in the Project > Mocks folder, and it has the same name as the original workflow file, with the suffix “_mock” added2.
For example, if the original workflow file is named “MySequence.xaml”, the mock file will be named “MySequence_mock.xaml”.
When a mock file is created, the changes made in the original workflow file are automatically applied to the mock file when the project is saved2. This means that any new activities or modifications in the original workflow file are reflected in the mock file, except for the activities that are surrounded by mock activities2. The mock activities are not affected by the changes in the original workflow file, and they can only be edited within the mock file2.
Therefore, if you update “MySequence” and add a Log Message activity and a Verify Expression activity, and then save the project, the changes will be applied to the mock file, assuming that the file is closed. This means that the mock file will also have the Log Message activity and the Verify Expression activity added, unless they are inside a mock activity