CompTIA Linux+ (XK0-004) — Question 257

A junior administrator needs to display information for an RPM package that contains software from an external provider.
Which of the following commands will display the package information?

Answer options

Correct answer: D

Explanation

The correct command is 'rpm -qi package.noarch.rpm', which provides detailed information about the installed RPM package. The other options either verify package integrity, query package files, or find which package a file belongs to, but do not display the package information directly.