CompTIA A+ Core 2 (220-1002) — Question 86

A Linux user reports that an application will not open and gives the error. Only one instance of the application may run at one time. A root administrator logs on to the device and opens a terminal. Which of the following pairs of tools will be needed to ensure no other instances of the software are currently running?

Answer options

Correct answer: D

Explanation

The correct answer is D, as 'ps' is used to check for running processes, and 'kill' is used to terminate any unwanted instances of the application. The other options do not provide the necessary tools to manage running processes effectively; for example, 'pad' and 'chmod' relate to file permissions, while 'sudo' and 'vi' are for editing files with elevated privileges.