โ† All LCA Flashcard Decks

Linux System Installation & Configuration Flashcards

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

Read the first 7 Linux System Installation & Configuration flashcards as text
  1. Which file in /etc contains the default runlevel for a System V init-based Linux system?

    Answer: /etc/inittab

    The /etc/inittab file defines the default runlevel and controls the init process behavior on System V init systems.

  2. During a Kickstart-based RHEL installation, which directive specifies the disk partitioning scheme?

    Answer: part

    The 'part' (or 'partition') directive in a Kickstart file defines disk partitions, but 'part' is the standard short form used.

  3. What is the purpose of the /etc/fstab 'dump' field (5th column)?

    Answer: Enables filesystem backup via dump utility

    The 5th field in /etc/fstab is used by the dump utility to determine if the filesystem should be backed up (1=yes, 0=no).

  4. Which bootloader configuration file must be updated after adding a new kernel in a GRUB 2 system?

    Answer: /boot/grub2/grub.cfg

    On GRUB 2 systems, /boot/grub2/grub.cfg is the active config file, but it should be regenerated with grub2-mkconfig rather than edited directly.

  5. Which command verifies the integrity of an RPM package against its installed file list?

    Answer: rpm -V packagename

    The 'rpm -V' (verify) command checks installed package files against the RPM database for size, checksum, permissions, and other attributes.

  6. A system fails to boot after editing /etc/fstab. Which rescue mode command removes a bad entry without a GUI?

    Answer: vi /etc/fstab after mounting root read-write

    In rescue mode, remounting the root filesystem read-write with 'mount -o remount,rw /' then editing /etc/fstab with vi corrects bad entries.

  7. Which systemd target is the closest equivalent to SysV runlevel 3?

    Answer: multi-user.target

    multi-user.target corresponds to SysV runlevel 3: full multi-user, network enabled, but no graphical display manager.