← All LFCS Certification Flashcard Decks

Software Package Management Flashcards

7 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 7 Software Package Management flashcards as text
  1. What happens when you run `apt-get install -f` (or `--fix-broken`)?

    Answer: Resolves and fixes broken package dependencies automatically

    `apt-get install -f` attempts to correct broken dependencies by installing missing packages or removing conflicting ones.

  2. Which `rpm` command rebuilds the RPM database after it becomes corrupted?

    Answer: rpm --rebuilddb

    `rpm --rebuilddb` rebuilds the RPM database from the installed package headers, fixing corruption issues.

  3. In a YUM/DNF .repo file, what does the `enabled=0` directive do?

    Answer: Disables the repository so it is not used by default

    Setting `enabled=0` prevents DNF/YUM from querying this repository unless explicitly enabled with `--enablerepo`.

  4. Which command shows which installed RPM packages have files that have been modified since installation?

    Answer: rpm -Va

    `rpm -Va` verifies all installed packages, reporting files whose attributes differ from the original package metadata.

  5. What is the role of `/etc/apt/preferences` or `/etc/apt/preferences.d/` on Debian systems?

    Answer: Defines package pinning rules that control which version APT installs

    APT pinning in /etc/apt/preferences allows administrators to specify which package versions or repositories take priority.

  6. What does the `dnf provides /usr/bin/python3` command do?

    Answer: Shows which package provides the file /usr/bin/python3

    `dnf provides` performs a reverse lookup to find which package supplies a specific file or capability.

  7. When compiling software from source using the traditional method, which sequence is correct?

    Answer: ./configure && make && make install

    The standard build sequence is: configure (checks dependencies and sets up build), make (compiles), then make install (copies binaries).

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

  1. docs.linuxfoundation.org — Renewal, score release, exam format, passing score · verified Oct 2026
  2. training.linuxfoundation.org — Test delivery, eligibility, fees, registration deadline, time limit, score validity · verified Oct 2026