Which command verifies the integrity of a package and its dependencies on an RPM-based system?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

Which command verifies the integrity of a package and its dependencies on an RPM-based system?

Explanation:
Verifying installed packages uses a dedicated verification operation that checks the files a package installed against what the package declares. Running this verification for a package compares each installed file’s attributes—size, MD5 checksum, permissions, owner, group, modification time, and SELinux context—against the package metadata. If anything has changed, the verification reports a discrepancy, signaling potential tampering or corruption. This is exactly what’s meant by confirming the package’s integrity. The other options perform different tasks: querying what a package provides or requires, installing a package, or checking the package’s digital signature. So the verification command is the one that assesses the integrity of the package’s installed files (and by extension, helps ensure that the package and its content are as expected).

Verifying installed packages uses a dedicated verification operation that checks the files a package installed against what the package declares. Running this verification for a package compares each installed file’s attributes—size, MD5 checksum, permissions, owner, group, modification time, and SELinux context—against the package metadata. If anything has changed, the verification reports a discrepancy, signaling potential tampering or corruption. This is exactly what’s meant by confirming the package’s integrity.

The other options perform different tasks: querying what a package provides or requires, installing a package, or checking the package’s digital signature. So the verification command is the one that assesses the integrity of the package’s installed files (and by extension, helps ensure that the package and its content are as expected).

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy