Courseiva
Essential CommandsmediumMultiple ChoiceObjective-mapped

LFCS Essential Commands Practice Question

A system administrator needs to stop a misbehaving process gracefully, allowing it to clean up resources. The process is unresponsive to the standard SIGTERM signal. What should the administrator do next?

⚠ Common exam trap

Watch out — candidates often think SIGKILL is the immediate solution for any unresponsive process, but the LFCS exam emphasizes the proper escalation sequence (SIGTERM first, then SIGKILL) to ensure graceful resource cleanup.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use 'kill -15' again, wait a few seconds, then use 'kill -9' if still unresponsive.

The standard escalation path for terminating an unresponsive process is to first send SIGTERM (signal 15) to request a graceful shutdown, then after a brief wait, send SIGKILL (signal 9) if the process has not terminated. This allows the process a chance to clean up resources before being forcibly killed, which is the recommended practice in Linux process management.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use 'kill -15' again, wait a few seconds, then use 'kill -9' if still unresponsive.

    Why this is correct

    This is the recommended procedure: try graceful termination first, then force kill if needed.

  • Wait for the process to finish on its own.

    Why it's wrong here

    The process is unresponsive; waiting may be indefinite.

  • Use 'kill -9' immediately.

    Why it's wrong here

    SIGKILL should be a last resort; it does not allow graceful cleanup.

  • Send SIGTERM again with a higher priority.

    Why it's wrong here

    Signals do not have priorities; resending the same signal is unlikely to help.

About these practice questions

Courseiva writes every LFCS question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.