UiPath Automation Developer Professional v1 — Question 84
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"?
Answer options
- A. Build a script that compares current CPU usage values to a threshold and clears data as needed.
- B. After every transaction, clear the transaction data, close the applications, and re-open the applications.
- C. Add a "Clear Collection" activity at the beginning of the Process.xaml workflow.
- D. All "Invoke Workflow File" activities from the Main.xaml file should be marked with the Isolated option.
Correct answer: D
Explanation
The correct answer is D because marking 'Invoke Workflow File' activities as Isolated ensures that each workflow runs in its own environment, reducing memory usage and preventing crashes. Options A and B do not address the fundamental isolation needed for stability, while C only clears collections and does not provide the necessary isolation between workflows.