The correct answer is that root can kill the www-data process with PID 5678. This is because the root user possesses the CAP_KILL capability, which bypasses the standard Linux permission checks that restrict ordinary users from sending signals to processes owned by another user. When root executes the kill command with a PID, it sends the default SIGTERM signal, and since root is not bound by the ownership or UID restrictions that apply to non-privileged users, any process—regardless of its owner—can be terminated. On the Linux Foundation Certified System Administrator LFCS exam, this concept tests your understanding of process management and Linux capabilities, often appearing in scenario-based questions where a non-root user would fail to kill another user’s process. A common trap is assuming root still needs the same permissions as a regular user; in reality, root’s capabilities override those checks. Memory tip: think of root as the “signal master”—CAP_KILL means no process is off-limits.
LFCS Essential Commands Practice Question
This LFCS practice question tests your understanding of essential commands. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Refer to the exhibit.
$ ps aux | grep apache
root 1234 0.0 0.2 12345 6789 ? Ss Jan01 0:00 /usr/sbin/apache2 -k start
www-data 5678 0.0 0.1 12345 1234 ? S Jan01 0:00 /usr/sbin/apache2 -k start
www-data 5679 0.0 0.1 12345 1234 ? S Jan01 0:00 /usr/sbin/apache2 -k start
Based on the exhibit, which process will be affected if the root user runs 'kill 5678'?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The www-data process with PID 5678
The 'kill 5678' command sends the default SIGTERM (signal 15) to the process with PID 5678. Since the root user has the CAP_KILL capability and is not subject to the ordinary permission checks that restrict non-root users, root can send signals to any process, including those owned by www-data. Therefore, the www-data process with PID 5678 will be terminated.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✓
The www-data process with PID 5678
Why this is correct
kill 5678 terminates the process with that PID.
Related concept
Read the scenario before looking for a memorised answer.
✗
The root process (PID 1234)
Why it's wrong here
PID 5678 is different from 1234.
✗
All www-data processes
Why it's wrong here
Only the process with PID 5678 is killed.
✗
No process, because root cannot kill www-data processes
Why it's wrong here
Root can kill any process.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may mistakenly believe root cannot kill processes owned by other users, or they may confuse the PID argument with a process name, thinking 'kill 5678' affects all processes of a given user or name.
Detailed technical explanation
How to think about this question
Under the hood, the kill() system call checks the caller's user ID and capabilities. For root (UID 0), the kernel bypasses the usual ownership check (where a non-root user can only signal processes with the same real or effective UID) and allows signaling any process. The default signal is SIGTERM (15), which requests graceful termination; if the process ignores it, a subsequent 'kill -9' (SIGKILL) would be needed. In real-world scenarios, this is why a root user can forcefully terminate a runaway web server process owned by www-data without permission errors.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Essential Commands — This question tests Essential Commands — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The www-data process with PID 5678 — The 'kill 5678' command sends the default SIGTERM (signal 15) to the process with PID 5678. Since the root user has the CAP_KILL capability and is not subject to the ordinary permission checks that restrict non-root users, root can send signals to any process, including those owned by www-data. Therefore, the www-data process with PID 5678 will be terminated.
What should I do if I get this LFCS question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This LFCS practice question is part of Courseiva's free Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LFCS exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.