โ† All Linux Flashcard Decks

CompTIA Linux+ Test System Architecture Flashcards

5 cards from real Linux practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 5 CompTIA Linux+ Test System Architecture flashcards as text
  1. Which of the following is responsible for the boot process in a Linux system?

    Answer: GRUB

    GRUB (Grand Unified Bootloader) is responsible for the boot process in a Linux system. It loads the kernel into memory and passes control to it, initiating the operating system startup. Without GRUB, the system would not be able to locate and load the necessary kernel files to begin booting.

  2. Which of the following files contains the kernel parameters used by the bootloader?

    Answer: /boot/grub/grub.cfg

    The `/boot/grub/grub.cfg` file contains the configuration for the GRUB bootloader, including the kernel parameters used during system startup. This file specifies which kernel to load, its location, and any additional boot options or arguments. Modifying this file allows administrators to customize the boot behavior of the Linux system.

  3. What is the purpose of the init process in a Linux system?

    Answer: To manage system services and processes

    The `init` process (or its modern successor, `systemd`) is the first process launched by the kernel and has a PID of 1. Its primary purpose is to manage all other system services and processes, bringing the system to a functional state. It handles system startup, shutdown, and the ongoing management of daemons and user processes.

  4. What does the dmesg command display in Linux?

    Answer: Diagnostic messages related to hardware and kernel boot

    The `dmesg` command displays the kernel ring buffer messages, which contain diagnostic information from the kernel. This output includes details about hardware detection, device drivers, and other kernel-level events that occurred during the boot process. It is invaluable for troubleshooting hardware issues or understanding system startup behavior.

  5. Which directory contains essential system files such as the kernel and bootloader files?

    Answer: /boot

    The `/boot` directory contains essential files required for the system to boot, including the Linux kernel image and GRUB bootloader configuration files. These files are critical for the initial startup sequence, allowing the operating system to load into memory. Without them, the system would be unable to start.