An IT technician has written a custom script to perform nightly backups on company workstations. After deployment, users report frequent browser crashes and slow system performance in the mornings. Upon investigation, the technician discovers that the script is executing multiple instances of the backup process, consuming an excessive amount of system resources. Which of the following is the most appropriate action for the technician to resolve the issue?
You selected this option
Reinstall all browsers on the affected workstations, assuming that the browsers are causing the crashes.
You selected this option
Advise users to close all browsers before leaving work to ensure the script can run without causing browser crashes.
You selected this option
Modify the script to include a condition that checks for running instances before initiating a new backup process to avoid running multiple simultaneous instances.
You selected this option
Implement a group policy to restrict the amount of RAM and CPU usage browsers are allowed, preventing them from crashing due to insufficient resources.
To resolve the browser crashes and system performance issues, the technician should modify the script to prevent multiple instances of the backup process from running simultaneously. This action ensures that the script consumes only the necessary amount of system resources, avoiding the overutilization that leads to system crashes and performance degradation. Running the script at a time when workstations are least used and ensuring only one instance runs at a time prevents overconsumption of resources. Limiting browser functions, reinstalling the browsers, or instructing users to close their browsers do not address the underlying problem of multiple backup processes running concurrently.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a script in the context of IT and backups?
Open an interactive chat with Bash
Why is it important to check for running instances in a script?
Open an interactive chat with Bash
What can happen if a backup script consumes too many system resources?