Courseiva
TroubleshootinghardMultiple SelectObjective-mapped

XK0-006 Troubleshooting Practice Question

A system fails to boot with a kernel panic. The administrator wants to recover by accessing a root shell. Which THREE methods can be used to achieve this?

⚠ Common exam trap

Test-takers frequently confuse the GRUB command line with a Linux shell, mistakenly thinking filesystem repair commands like fsck can be run directly from GRUB, or they may think removing 'quiet' alone grants root access when it only affects verbosity.

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

Append 'single' to the kernel command line in GRUB

Appending 'single' to the kernel command line in GRUB instructs the kernel to boot into single-user mode, which provides a root shell without requiring a password. This is a standard method for recovering from a kernel panic by allowing the administrator to repair filesystems or troubleshoot boot issues.

Answer analysis

Option-by-option breakdown

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

  • Run 'fsck /dev/sda1' from the GRUB command line

    Why it's wrong here

    GRUB cannot run fsck; it's not a full shell.

  • Append 'single' to the kernel command line in GRUB

    Why this is correct

    Boots into single-user mode.

  • Press 'e' in GRUB and remove 'quiet'

    Why it's wrong here

    Removing quiet only shows verbose output, does not give root shell.

  • Append 'rd.break' to the kernel command line in GRUB

    Why this is correct

    Breaks before root filesystem is mounted, giving a shell.

  • Boot from a live CD and chroot into the installed system

    Why this is correct

    Live CD provides a working environment; chroot accesses installed system.

About these practice questions

One of 979 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.