โ† All RHCSA Flashcard Decks

RHCSA Software Package Management Flashcards

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

Read the first 7 RHCSA Software Package Management flashcards as text
  1. Which command displays detailed information about an installed RPM package including its description and install date?

    Answer: rpm -qi

    rpm -qi shows package info (name, version, description, install date); -ql lists files, -qd lists docs, -qR lists dependencies.

  2. A DNF module stream is enabled but you want to switch to a different stream. What must you do first?

    Answer: dnf module reset

    You must run 'dnf module reset ' to clear the active stream before enabling a different one.

  3. Which file would you examine to see the history of all DNF transactions on a system?

    Answer: /var/log/dnf.log

    /var/log/dnf.log records all DNF transactions; the history database is in /var/lib/dnf/ but the human-readable log is /var/log/dnf.log.

  4. How do you list only the packages that are available as updates but NOT install them?

    Answer: dnf check-update

    'dnf check-update' lists packages with available updates without installing them; it exits with code 100 if updates exist.

  5. An administrator runs 'rpm -V httpd' and sees 'S.5....T. /etc/httpd/conf/httpd.conf'. What does the '5' indicate?

    Answer: MD5 checksum differs from the package

    In rpm -V output, '5' means the MD5 checksum (digest) of the file differs from what the package recorded at install time.

  6. Which DNF command is used to find which installed package provides the file /usr/bin/python3?

    Answer: dnf provides /usr/bin/python3

    'dnf provides ' identifies which package owns or provides a specific file path or capability.

  7. What is the effect of running 'dnf install @Base' on a RHEL system?

    Answer: Installs the Base environment group of packages

    The @ prefix indicates an environment group; 'dnf install @Base' installs the Base environment group as defined in the repository metadata.