LFCS practice question 14 of 35
When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.)
Full set: 260 questionsThe rpm --verify (or -V) command compares metadata about the installed files of a package against the information stored in the RPM database when the package was installed. This verification process checks for discrepancies in several attributes. Among the attributes checked are the file's modification time (timestamp), its MD5 checksum to ensure content integrity, and its size. These three checks help determine if files have been altered since their initial installation.
C. Inode numbers are not checked by rpm --verify. An inode number is a filesystem-specific pointer and can change (e.g., during a backup/restore) without the file's content changing.
E. GnuPG signatures are used to verify the authenticity of the RPM package file itself (rpm -K), not the integrity of the files after they have been installed on the system.
1. rpm man page (on any RHEL/CentOS/Fedora system), Section: "VERIFY OPTIONS". It details the output format of rpm -V, where S indicates file Size, 5 indicates MD5 sum, and T indicates mTime (modification time).
2. Red Hat Enterprise Linux 8 Documentation, "Building, running, and managing containers", Section 5.1. "Verifying installed packages". The documentation lists the attributes checked, including "MD5 checksum", "File size", and "Modification timestamp (mtime)".
Keep practicing
Take the free LFCS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other LFCS practice questions
- Question 1Which of the following commands should be added to /etc/bash_profile in order to change t…
- Question 2Which of the following commands reboots the system when using SysV init? (Choose TWO corr…
- Question 3Which of the following tasks can be accomplished using the command date? (Choose TWO corr…
- Question 4Which of the following environment variables overrides or extends the list of directories…
- Question 5Which of the following are syslog facilities? (Choose TWO correct answers.)
- Question 6Which of the following programs uses the hosts.allow file to perform its main task of che…
