Question 110
A Linux administrator faces this situation: A configuration file may have been modified after RPM installation and integrity must be assessed. Which action best resolves the specific issue while preserving correct system behavior?
Explanation
Correct Answer
Use rpm -V package-name to examine database-backed file integrity attributes. This corrects the case-specific failure. First verify: Compare rpm verification output with planned local configuration changes. Then demonstrate success: Verification identifies relevant deviations for review without reinstalling the package blindly.
Incorrect Answers
Use rpm -ql package-name to list the installed package's file manifest. That would matter when a security reviewer wants all files supplied by an installed RPM package before modifying the service. The relevant distinction in this case is: Use rpm -V package-name to examine database-backed file integrity attributes.
Use rpm -qi package-name and appropriate dependency queries before changing the installation. That would matter when an RPM update is blocked and an engineer needs package metadata rather than guessing file versions. It does not address this case's requirement: A configuration file may have been modified after RPM installation and integrity must be assessed.
Run rpm -K on the downloaded package and reject an untrusted or invalid signature. That would matter when a package file is downloaded from a mirror and must be checked for authenticity before installation. That separate mechanism does not verify the needed Linux administration outcome in this case.