ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 171 - XK0-005 discussion

Report
Export

A systems administrator has been unable to terminate a process. Which of the following should the administrator use to forcibly stop the process?

A.
kill -1
Answers
A.
kill -1
B.
kill -3
Answers
B.
kill -3
C.
kill -15
Answers
C.
kill -15
D.
kill -HUP
Answers
D.
kill -HUP
E.
kill -TERM
Answers
E.
kill -TERM
Suggested answer: E

Explanation:

The administrator should use the command kill -TERM to forcibly stop the process. The kill command is a tool for sending signals to processes on Linux systems. Signals are messages that inform the processes about certain events and actions. The processes can react to the signals by performing predefined or user-defined actions, such as terminating, suspending, resuming, or ignoring. The -TERM option specifies the signal name or number that the kill command should send. The TERM signal, which stands for terminate, is the default signal that the kill command sends if no option is specified. The TERM signal requests the process to terminate gracefully, by closing any open files, releasing any resources, and performing any cleanup tasks. However, if the process does not respond to the TERM signal, the kill command can send a stronger signal, such as the KILL signal, which forces the process to terminate immediately, without any cleanup. The administrator should use the command kill -TERM to forcibly stop the process. This is the correct answer to the question. The other options are incorrect because they either do not terminate the process (kill -1 or kill -3) or do not terminate the process forcibly (kill -15 or kill -HUP). Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 14: Managing Processes, page 431.

asked 02/10/2024
NEXAR DONADIO
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first