LFCS Boot Process and System Initialization Flashcards
6 cards from real LFCS Certification practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 LFCS Boot Process and System Initialization flashcards as text
Which kernel parameter boots a systemd system into an emergency shell with only the root filesystem mounted read-only?
Answer: systemd.unit=emergency.target
systemd.unit=emergency.target starts the absolute minimum environment with the root FS read-only for deep repair.
What does the `rd.break` kernel parameter do when added to the GRUB boot line?
Answer: Drops to a shell in the initramfs before the root filesystem is mounted read-write
rd.break interrupts the boot inside the initramfs, giving a shell before the real root is switched to, useful for password resets.
After chrooting into /sysroot to reset the root password on an SELinux system, which command ensures file contexts are relabeled on next boot?
Answer: touch /.autorelabel
Creating /.autorelabel tells SELinux to relabel the entire filesystem on the next reboot, fixing any context mismatches.
What does the command `systemctl --failed` display?
Answer: Systemd units that have entered a failed state
systemctl --failed lists all units whose last activation attempt ended in failure, helping diagnose boot or service issues.
Which log file stores kernel ring buffer messages written during boot on most Linux distributions?
Answer: /var/log/dmesg
/var/log/dmesg contains a snapshot of the kernel ring buffer from the last boot, useful for diagnosing hardware and driver issues.
What command prints kernel ring buffer messages, often used to diagnose hardware detection during boot?
Answer: dmesg
dmesg reads and prints the in-memory kernel ring buffer, showing messages from device initialization, driver loading, and filesystem mounts.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- docs.linuxfoundation.org — Renewal, score release, exam format, passing score · verified Oct 2026
- training.linuxfoundation.org — Test delivery, eligibility, fees, registration deadline, time limit, score validity · verified Oct 2026