It seems to me that the correct answer is not here.
Kill -9 is the right answer, all of the other answers are wrong.
Kill -1 restart process
kill -3 send a control c that can be ignored
kill - 15 = request a graceful shutdown that can be ignored
kill -HUP same as kill -1
kill -TERM same as kill -15
To forcibly stop a process, the administrator should use the -9 signal, also known as SIGKILL. Therefore, the correct option is not listed among the provided choices. If you have the option to provide a custom signal, you can use kill -9 followed by the process ID.
In this case, if you must choose from the given options:
B. kill -3 sends a SIGQUIT signal, which can also terminate a process, but it allows the process to perform a core dump before exiting. It's a bit less forceful than SIGKILL.
So, the closest option among the given choices is B. kill -3. However, if the goal is to forcefully terminate the process, using kill -9 would be more appropriate.
The -15 signal (SIGTERM) is used to request a process to terminate. It allows the process to perform cleanup operations before exiting. If a process doesn't respond to SIGTERM, more aggressive signals like -9 (SIGKILL) can be used, but it does not allow the process to perform any cleanup. The administrator might resort to using -9 only if a process is unresponsive to the regular termination signals.
A. kill -1 (or kill -SIGHUP) - Sends a SIGHUP signal to the specified process, which typically requests the process to reload its configuration files. This may not terminate the process, so it may not be the best choice for forcibly stopping a process.
B. kill -3 (or kill -SIGQUIT) - Sends a SIGQUIT signal to the specified process, which requests the process to terminate and create a core dump. This may not terminate the process, so it may not be the best choice for forcibly stopping a process.
C. kill -15 (or kill -SIGTERM) - Sends a SIGTERM signal to the specified process, which requests the process to terminate gracefully. This is the default signal and is the recommended way to stop a process, as it allows the process to clean up its resources before exiting. However, some processes may not respond to the SIGTERM signal, in which case a more forceful approach may be necessary.
D. kill -HUP - This is the same as kill -1, which may not be the best choice for forcibly stopping a process.
E. kill -TERM - This is the same as kill -15, which may not be the best choice for forcibly stopping a process.
If the process needs to be forcibly stopped, the best option would be to use kill -9 (or kill -SIGKILL), which sends a SIGKILL signal to the specified process. This signal immediately terminates the process without giving it a chance to clean up its resources. However, this should only be used as a last resort, after other options (such as SIGTERM) have been tried and failed.
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
TheRealManish
Highly Voted 2 years, 5 months agodiabolee
Most Recent 5 months agoBlatzzy
1 year, 4 months agosalthehash
1 year, 5 months agolinux_admin
2 years, 2 months agolinux_admin
2 years, 2 months agoMaryamNesa
2 years, 5 months ago