Courseiva

CCNA Resource Management Questions

11 questions · Resource Management topic · All types, answers revealed

1
MCQeasy

A developer is creating a UiPath automation that will run on a machine where multiple robots are installed. The developer needs to ensure that the automation can access a shared network drive and write log files. Which account should be used for the robot to have the necessary permissions?

A.The built-in SYSTEM account
B.A domain user account with appropriate permissions
C.The local administrator account
D.The current interactive user account
AnswerB

A domain user account can be granted specific permissions to the shared network drive and log file location. This follows the principle of least privilege and ensures the robot can access required resources. It is the recommended approach for robots that need network access.

Why this answer

A domain user account with appropriate permissions allows the robot to access shared network drives and write log files securely. This account can be granted least privilege, reducing security risks. It is the standard practice for unattended robots that require network resource access.

Exam trap

The trap here is assuming that the SYSTEM account or local administrator can access network resources, when in fact domain credentials are typically required.

2
MCQmedium

A developer needs to ensure that a UiPath automation can run on a machine that does not have Microsoft Excel installed. The automation must read data from an Excel file and write it to a DataTable. Which activity should be used to achieve this?

A.Read CSV
B.Excel Application Scope with Read Range
C.Workbook Read Range
D.Read Text File
AnswerC

Workbook Read Range is part of the UiPath.Excel.Activities package and uses the Open XML SDK to read Excel files without requiring Microsoft Excel to be installed. It can read data into a DataTable, making it suitable for environments where Excel is not available.

Why this answer

Workbook Read Range is the correct activity because it reads Excel files using the Open XML SDK, which does not require Microsoft Excel to be installed. Excel Application Scope relies on Interop and requires Excel, while Read CSV and Read Text File handle different file formats and do not return a DataTable from an Excel file.

Exam trap

The trap here is assuming that Excel Application Scope is always needed for Excel files, overlooking the Workbook activities that work without Excel installed.

3
MCQmedium

A developer is building an unattended automation that must run on a dedicated Windows machine and interact with a desktop application. The process will be triggered by Orchestrator on a scheduled basis. The developer needs to ensure that the robot can log in to the machine even when no user is logged in interactively. Which UiPath component should be installed and configured on the machine?

A.UiPath Assistant
B.UiPath Studio
C.UiPath Robot in Unattended mode
D.UiPath Robot in Attended mode
AnswerC

Unattended robots can run without human intervention and can be configured to log in to the machine automatically using stored credentials. This allows Orchestrator to start jobs even when no user is logged in. It is the correct choice for scheduled unattended automation that requires desktop interaction.

Why this answer

Unattended robots are specifically designed to execute processes without human intervention, including automatic login to the Windows session. They integrate with Orchestrator to receive jobs and can run on dedicated machines. This makes them the appropriate choice for scheduled unattended automation that interacts with desktop applications.

Exam trap

The trap here is confusing attended and unattended robot capabilities, assuming that any robot installed on a machine can run without a logged-in user.

4
MCQeasy

A developer is creating a UiPath automation that must run on a schedule every weekday at 9:00 AM. The automation uses a process that requires a specific robot account. Which Orchestrator feature should be used to configure this?

A.Asset
B.Trigger
C.Job
D.Queue
AnswerB

Triggers in Orchestrator are used to schedule processes to run at specific times or on recurring schedules. A time-based trigger can be configured to run every weekday at 9:00 AM. The trigger specifies the process and the robot account, ensuring the automation runs as required.

Why this answer

The correct feature is a Trigger, which allows scheduling a process to run at specified times, such as every weekday at 9:00 AM. Triggers can be time-based or queue-based, and they associate the process with the robot account. Queues, Assets, and Jobs do not provide scheduling capabilities.

Exam trap

The trap here is confusing a Job with a Trigger: a Job is an instance of a process execution, while a Trigger defines when and how jobs are created.

5
MCQhard

A developer needs to configure a UiPath Orchestrator Queue to ensure that if a transaction fails due to a business rule violation, it is not retried, but if it fails due to a system exception, it is retried up to 3 times. The queue currently has default settings. Which combination of queue settings and transaction status handling achieves this?

A.Set the queue's 'Max # of retries' to 3, and in the process, use 'Set Transaction Status' with Status 'Failed' and ErrorType 'Business' for business exceptions, and ErrorType 'Application' for system exceptions.
B.Set the queue's 'Max # of retries' to 3, and in the process, use 'Set Transaction Status' with Status 'Failed' for all exceptions, and rely on the queue's retry mechanism to distinguish between business and system exceptions.
C.Set the queue's 'Max # of retries' to 0, and in the process, use 'Set Transaction Status' with Status 'Failed' and ErrorType 'Business' for business exceptions, and ErrorType 'Application' for system exceptions, and manually re-add failed system exceptions to the queue.
D.Set the queue's 'Max # of retries' to 3, and in the process, use 'Set Transaction Status' with Status 'Failed' and ErrorType 'Business' for system exceptions, and ErrorType 'Application' for business exceptions.
AnswerA

Max # of retries defines the maximum retry attempts for Application exceptions. Business exceptions are not retried regardless of the retry count. By setting ErrorType to Business for business rule violations, the item is marked Failed without retry. For system exceptions, ErrorType Application triggers retries up to the maximum. This matches the requirement precisely.

Why this answer

To prevent retries for business exceptions and allow up to 3 retries for system exceptions, set the queue's Max # of retries to 3. Then, when a business rule violation occurs, use Set Transaction Status with ErrorType Business; for system exceptions, use ErrorType Application. Orchestrator will not retry Business exceptions, but will retry Application exceptions until the maximum retry count is reached.

Exam trap

The trap here is confusing the ErrorType values: Business exceptions are never retried, while Application exceptions are retried according to the queue's Max # of retries setting.

6
MCQmedium

A developer is building a UiPath automation that must process invoices. The process uses a REFramework and needs to guarantee that each invoice is processed exactly once, even if the robot crashes mid-transaction. The invoices are stored in an Orchestrator Queue named 'Invoices'. What is the correct approach to retrieve and process queue items?

A.Use the 'Get Transaction Item' activity with the 'Reference' property set to the invoice number, process the item, and then use the 'Update Queue Item' activity to change its status to 'Successful'.
B.Use the 'Add Queue Item' activity to add each invoice to the queue, then use 'Get Transaction Item' to process them, and finally delete the queue items after processing.
C.Use the 'Get Queue Items' activity to fetch all items with Status 'New', loop through them, and update each item's status to 'Successful' after processing.
D.Use the 'Get Transaction Item' activity to retrieve a single item with Status 'New', process it, then set its status to 'Successful' using 'Set Transaction Status'.
AnswerD

Get Transaction Item retrieves a New item and changes its status to In Progress, preventing other robots from picking it up. After successful processing, Set Transaction Status marks it Successful. If the robot crashes, the item remains In Progress and can be retried based on queue settings, ensuring exactly-once semantics under normal conditions.

Why this answer

The correct approach uses Get Transaction Item to atomically retrieve and lock a New queue item, then Set Transaction Status to mark it Successful after processing. This ensures that each item is processed once, and if a crash occurs, the item remains In Progress and can be retried. Other options either fail to lock items, use incorrect activities, or delete items instead of updating status.

Exam trap

The trap here is assuming that Get Queue Items can be used for transactional processing, but it only reads items without locking them, leading to duplicate processing.

7
MCQeasy

A developer is creating a UiPath automation that must process invoices from a shared folder. The automation should move each processed invoice to an archive folder and log the transaction. The developer wants to ensure that the automation can handle multiple files and that each file is processed only once. Which activity should be used to retrieve the list of files from the shared folder?

A.For Each File in Folder
B.Move File
C.Read Text File
D.Get File Info
AnswerA

For Each File in Folder iterates through all files in a specified folder and can be configured to process each file. It provides the file path for each iteration, allowing the automation to process and then move each file. This activity is designed for batch processing of files and ensures each file is handled individually.

Why this answer

For Each File in Folder is the correct activity because it enumerates all files in a specified folder and allows the automation to process each file in a loop. It provides the file path for each iteration, enabling subsequent actions like moving and logging. Other activities either work on single files or perform actions that do not list files.

Exam trap

The trap here is confusing activities that operate on a single file with those that enumerate multiple files, such as assuming Move File can list files.

8
MCQmedium

A developer is building a UiPath automation that processes invoices. The process must run unattended on a virtual machine and needs to open a web application that requires a client certificate stored in the Windows certificate store. The developer wants to ensure the certificate is available only to the robot user and not to other users on the same machine. Which UiPath feature should the developer use to manage the certificate securely?

A.Windows Certificate Store with robot user permissions
B.Orchestrator Asset of type Text
C.Orchestrator Credential Asset
D.UiPath Orchestrator Queue with certificate reference
AnswerA

The Windows Certificate Store is the native location for client certificates. By importing the certificate into the robot user's personal store and granting only that user access, the developer ensures the certificate is available exclusively to the robot. UiPath activities that interact with web applications can then use the certificate automatically when the robot user runs the process.

Why this answer

A client certificate for a web application must be stored where the robot user can access it securely. The Windows Certificate Store, combined with file system and store permissions limited to the robot user, ensures the certificate is available only to that user. Other UiPath asset types cannot store certificates or enforce per-user access, so they are unsuitable for this scenario.

Exam trap

The trap here is assuming that Orchestrator Credential Assets can store any secret, including certificates, when they are limited to username and password pairs.

9
MCQmedium

A developer is building a UiPath automation that processes a large Excel file. The process must run unattended on a virtual machine that has 8 GB of RAM. To optimize memory usage, the developer wants to read only the necessary columns instead of the entire sheet. Which activity should be used to read a specified range of cells from an Excel file?

A.Write Range
B.Read Range
C.Excel Application Scope
D.Read Cell
AnswerB

Read Range reads a specified range from an Excel file and returns a DataTable. It allows specifying the range (e.g., "A1:C10") and sheet name, so the developer can limit the data read to only the required columns, reducing memory footprint. This directly addresses the scenario's need to optimize memory usage by avoiding reading the entire sheet.

Why this answer

Read Range is the correct activity because it reads a specified range from an Excel file and returns a DataTable. By specifying a limited range, the developer can avoid loading unnecessary columns into memory, which is crucial on a VM with only 8 GB of RAM. Other activities either write data or read only single cells, and Excel Application Scope is a container that requires additional activities to read data.

Exam trap

The trap here is confusing the Excel Application Scope container with the actual data-reading activity, assuming it reads data by itself.

10
MCQeasy

A developer needs to store a password that an unattended robot will use to log into a legacy application. The password must be encrypted and accessible only to the robot at runtime. Which UiPath Orchestrator asset type should the developer use?

A.Text asset
B.Bool asset
C.Credential asset
D.Integer asset
AnswerC

Credential assets are specifically designed to store sensitive information such as usernames and passwords. They are encrypted in Orchestrator and can be retrieved by robots at runtime using the Get Credential activity. Access can be controlled via roles, ensuring only authorized robots and users can retrieve the credential. This matches the requirement for a secure, robot-accessible password store.

Why this answer

Credential assets are the only Orchestrator asset type that securely stores passwords. They encrypt the value and allow controlled access via robot roles. The Get Credential activity retrieves the username and password as a secure string, which can be used in login activities without exposing the plain text.

Other asset types lack encryption and the ability to store secrets, making them inappropriate for this requirement.

Exam trap

The trap here is assuming that any asset type can store a password if you simply put the text in, but only Credential assets provide encryption and secure retrieval.

11
MCQmedium

A developer is building a UiPath automation that processes insurance claims. The process must read each claim from a queue, validate the claim data against a web service, and then update the claim status in a legacy system. The validation step occasionally encounters a temporary network timeout, and the developer wants the transaction to be retried automatically up to three times before being marked as failed. The developer has configured the Orchestrator queue with Max Retry = 3. Which activity or configuration should the developer use to ensure that the retry count is respected and the transaction is retried correctly?

A.Configure the queue's Max Retry to 3 and use the Postpone Transaction Item activity to delay the transaction by a fixed time before retrying.
B.Use the Get Transaction Item activity inside a Retry Scope activity with the NumberOfRetries property set to 3.
C.Use the Add Queue Item activity to re-add the claim to the queue after a failure, and rely on the queue's Max Retry setting to limit retries.
D.Set the queue's Max Retry to 3 and use the Set Transaction Status activity with the status Failed in the catch block, allowing Orchestrator to automatically retry the transaction.
AnswerD

When a queue item is marked as Failed via Set Transaction Status, Orchestrator checks the queue's Max Retry setting. If the item's retry count is below Max Retry, Orchestrator resets the item to New and increments the retry count, making it available for reprocessing. This leverages the native queue retry mechanism, ensuring the transaction is retried up to three times before being permanently failed.

Why this answer

Orchestrator queues support automatic retries when a transaction is marked as Failed. The Max Retry property defines how many times a failed item will be retried. The developer must use Set Transaction Status with the Failed status in the catch block to trigger this mechanism.

This ensures the item is retried up to the configured limit without creating duplicate queue items or relying on local retry logic.

Exam trap

The trap here is assuming that a Retry Scope activity or re-adding the item is needed for queue retries, when actually the queue's Max Retry setting works automatically when the transaction is marked as Failed.

Ready to test yourself?

Try a timed practice session using only Resource Management questions.