← All Linux Flashcard Decks

CompTIA Linux+ Linux Installation and Package Management Flashcards

7 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 7 CompTIA Linux+ Linux Installation and Package Management flashcards as text
  1. Which partitioning scheme supports more than four primary partitions and disks larger than 2TB?

    Answer: GPT (GUID Partition Table)

    GPT supports up to 128 partitions by default and disks larger than 2TB, overcoming the limitations of the older MBR scheme.

  2. Which dnf command downloads a package's RPM file to the current directory WITHOUT installing it?

    Answer: dnf download

    `dnf download` retrieves the RPM file from the configured repositories without performing installation.

  3. A Linux system using UEFI firmware requires a special partition. Which filesystem type must this partition use?

    Answer: FAT32 (vfat)

    The EFI System Partition (ESP) must be formatted as FAT32 (vfat) because UEFI firmware can only read this filesystem natively.

  4. Which file contains the list of trusted GPG keys used by RPM to verify package signatures?

    Answer: /etc/pki/rpm-gpg/

    RPM GPG keys are stored in /etc/pki/rpm-gpg/ and imported into the RPM database using `rpm --import`.

  5. Which apt-cache command shows reverse dependencies — packages that depend on a given package?

    Answer: apt-cache rdepends

    `apt-cache rdepends` lists all packages that declare a dependency on the specified package.

  6. During a network-based PXE installation of Linux, which service provides the installation files to the client?

    Answer: TFTP / HTTP / NFS

    PXE boot uses DHCP to assign an IP, TFTP to deliver the bootloader and kernel, and HTTP or NFS to serve the installation tree.

  7. Which command upgrades only already-installed packages on a Debian-based system without installing new ones or removing any?

    Answer: apt upgrade

    `apt upgrade` updates installed packages to newer versions but never installs new packages or removes existing ones to resolve conflicts.