Courseiva
System Management →hardMultiple Choice

XK0-006 System Management Practice Question

A process with PID 2345 is not responding. The administrator wants to force stop the process immediately. Which command should be used?

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

✓

kill -9 2345

SIGKILL (signal 9) forcefully terminates a process. kill -9 2345 sends SIGKILL to PID 2345.

Answer analysis

Option-by-option breakdown

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

  • ✓

    kill -9 2345

    Why this is correct

    SIGKILL (signal 9) cannot be caught, blocked or ignored by the process, so the kernel terminates PID 2345 immediately. This satisfies the requirement to force stop an unresponsive process, unlike the default SIGTERM sent by plain kill.

  • ✗

    kill -1 2345

    Why it's wrong here

    Signal 1 (SIGHUP) is a hangup that many daemons treat as a reload or terminate, but it does not guarantee immediate forced termination of an unresponsive process. It is tempting because it can end some processes, yet SIGKILL (signal 9) is the correct choice for an unresponsive PID.

  • ✗

    pkill -15 -f processname

    Why it's wrong here

    pkill -15 sends SIGTERM by name match, which a hung process can ignore, and it targets by pattern rather than the specified PID. It is tempting for bulk process management, but the scenario names PID 2345, so kill -9 2345 is the precise forced stop.

  • ✗

    kill -15 2345

    Why it's wrong here

    Signal 15 (SIGTERM) requests graceful termination and can be caught or ignored, so an unresponsive process may not stop. It is tempting as the default kill signal, but SIGKILL (signal 9) is required to force immediate termination of PID 2345.

About these practice questions

Courseiva writes every XK0-006 question from scratch — 781 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 XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.