QuizzesProcesses, Jobs & Signals — Concept Check
intermediate
linux

Processes, Jobs & Signals — Concept Check

Questions on Processes, Jobs & Signals. A process is a running program with its own PID, memory, and file descriptors. Linux tools like ps, top, htop, kill, and job control let you monitor, manage, and signal any process.

8 minutes 8 questions Pass at 70%
Time Limit
8 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

8 questions on Processes, Jobs & Signals — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.You notice a process with a 'Z' state in the output of 'ps aux'. What does this indicate?

    • AThe process is sleeping and waiting for an event to occur.
    • BThe process is running and actively using CPU resources.
    • CThe process is stopped and can be resumed with a signal.
    • DThe process is a zombie, waiting for its parent to read its exit status.
  2. 2.You send a SIGTERM to a process, but it doesn't terminate. What should you do next?

    • AWait longer, as SIGTERM takes time to process.
    • BSend a SIGKILL to forcefully terminate the process.
    • CUse 'fg' to bring the process to the foreground and then terminate.
    • DSend another SIGTERM to ensure it receives the signal.
  3. 3.A background job is running, and you want to bring it to the foreground. What command should you use?

    • Afg
    • Bjobs
    • Cbg
    • Ddisown
  4. 4.You want to view a live updating list of processes sorted by CPU usage. Which command should you use?

    • Apstree -p
    • Bps aux
    • Ctop and press 'P'
    • Dhtop and press 'M'
  5. 5.You use 'kill -9' on a process, but it doesn't terminate. What might be happening?

    • AThe process is in uninterruptible sleep state.
    • BThe process is ignoring the signal.
    • CThe process is a zombie and already terminated.
    • DThe process is running as a different user.
  6. 6.After logging out, you notice a background process stopped. What might have caused this?

    • AThe process was disowned before logout.
    • BThe process received a SIGHUP signal.
    • CThe process was using 'screen' or 'tmux'.
    • DThe process was running with 'nohup'.
  7. 7.You want to kill all processes running 'nginx'. Which command should you use?

    • Apkill -f nginx
    • Bkillall nginx
    • Cps aux | grep nginx | kill
    • Dkill -9 $(pgrep nginx)
  8. 8.What is the default action of the SIGINT signal when sent to a process?

    • AIgnore the signal
    • BReload the process configuration
    • CTerminate the process
    • DStop the process