Free UiPath-ADAv1 Exam Braindumps (page: 12)

Page 11 of 65

A developer needs to create a repetitive process in the REFramework. Following the best practices, which action(s) should be performed to defend against potential robot crashes such as "out of memory"?

  1. Build a script that compares current CPU usage values to a threshold and clears data as needed.
  2. After every transaction, clear the transaction data, close the applications, and re-open the applications.
  3. All "Invoke Workflow File" activities from the Main.xaml file should be marked with the Isolated option.
  4. Add a "Clear Collection" activity at the beginning of the Process.xaml workflow.

Answer(s): B

Explanation:

The REFramework is a template that helps developers create robust and reliable automation processes. It follows the best practices of error handling, logging, and retry mechanisms. One of the best practices is to clear the transaction data, close the applications, and re-open the applications after every transaction. This helps to avoid potential robot crashes such as "out of memory" by freeing up the memory and resources used by the applications. It also ensures that the applications are in a consistent state for the next transaction.


Reference:

REFramework documentation, REFramework best practices



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?

  1. OutputFileName argument is optional.
  2. Range argument accepts complex range values or "All".
  3. PageCount argument outputs the number of extracted pages.
  4. Password-protected PDF files cannot be processed with this activity.

Answer(s): 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 file. The OutputFileName argument is required and specifies the path and name of the new PDF file. The Range argument accepts complex range values or "All" to indicate which pages to extract. For example, "1-3,5,7-9" will extract pages 1 to 3, 5, and 7 to 92. The PageCount argument outputs the number of pages in the original PDF file, not the extracted pages. Password- protected PDF files can be processed with this activity by using the Password argument to provide the password.


Reference:

Extract PDF Page Range documentation, Extract PDF Page Range example.



Review the following graphics:











If the automation is executed and Notepad.exe is not running, which Log Message text value is contained in the Output panel?

  1. Exception
  2. ApplicationNotFoundException
  3. Try
  4. SelectorNotFoundException

Answer(s): D

Explanation:

Based on the image you sent, the automation process consists of four steps: opening Notepad.exe, typing some text, saving the file, and closing Notepad.exe. Each step has a Log Message activity that writes a text value to the Output panel. If Notepad.exe is not running, the first step will fail and throw an exception. The exception type is SelectorNotFoundException, because the Open Application activity cannot find the selector for Notepad.exe. Therefore, the Log Message text value that is contained in the Output panel is "SelectorNotFoundException", which is option D).


Reference:

Open Application documentation.



What distinguishes the Settings sheet from the Assets sheet in the "Config.xlsx" file?

  1. Settings sheet contains hard-coded values. Assets sheet contains all names of Orchestrator Assets including those of type Credential.
  2. Settings sheet contains only values used for the initialization of applications. Assets sheet contains only Credential Assets stored in Orchestrator.
  3. Settings sheet contains hard-coded values. Assets sheet contains all names of Orchestrator Assets except those of type Credential.
  4. Settings sheet contains Credential Assets stored in Orchestrator. Assets sheet contains hard-coded values.

Answer(s): C

Explanation:

The Config.xlsx file is a configuration file that stores the values of various parameters used in the automation process. It has three sheets: Settings, Constants, and Assets. The Settings sheet contains hard-coded values that may need to be changed occasionally, such as file paths, file names, timeout values, etc. The Constants sheet contains values that are universal variables for the process, such as selectors, URLs, etc. The Assets sheet contains the names of Orchestrator Assets that are used to store dynamic values that can be accessed across different processes, such as credentials, text, boolean, integer, etc. However, the Assets sheet does not contain the names of Credential Assets stored in Orchestrator, because they are retrieved using a different activity (Get Credentials) than other assets (Get Asset). Therefore, the Credential Assets are stored in the Settings sheet instead of the Assets sheet.


Reference:

Config.xlsx documentation, Settings, Constants and Assets sheet in config file, Config Dictionary in ReFramework without Excel, Custom Configuration File Reader, [UiPath Framework -

Assets VS Settings Sheet of Config.xlsx].






Post your Comments and Discuss UiPath UiPath-ADAv1 exam with other Community members:

UiPath-ADAv1 Discussions & Posts