Question 420
A quick workaround is proposed for this Linux problem: An administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. Which assumption creates the most relevant technical risk?
Explanation
Correct Answer
jobs reports jobs controlled by the current shell, not all processes on the system. This is the scenario's misleading assumption. An engineer should investigate: Check whether the chosen ps options include processes across users and terminals. Appropriate evidence afterward is: The output includes system daemons and other users' processes with their PIDs.
Incorrect Answers
Free memory output alone does not identify which process is consuming CPU. That would matter when the support team needs a live ranking of CPU-intensive processes during a short performance incident. The relevant distinction in this case is: jobs reports jobs controlled by the current shell, not all processes on the system.
fg cannot attach to an arbitrary process outside the invoking shell's job control. That would matter when a long-running batch task should be suspended and resumed in the foreground of the same shell. It does not address this case's requirement: An administrator wants to inspect all active processes and their owners rather than only the current shell's jobs.
A single ps command provides one snapshot rather than a recurring view. That would matter when a monitoring script must run a small diagnostic command repeatedly and display its changing output. That separate mechanism does not verify the needed Linux administration outcome in this case.