exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 30 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 30
Topic #: 1
[All LFCS Questions]

Which RPM command will output the name of the package which supplied the file /etc/exports?

  • A. rpm -F /etc/exports
  • B. rpm -qf /etc/exports
  • C. rpm -Kl /etc/exports
  • D. rpm -qp /etc/exports
  • E. rpm -qi /etc/exports
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Buruguduystunstugudunstuy
6 months, 1 week ago
Selected Answer: B
Option B. rpm -qf /etc/exports is the RPM command that will output the name of the package which supplied the file /etc/exports. The rpm -qf command is used to query the package that owns a specific file. It prints the name of the package that supplied the file, as well as other information about the package. Option A: The rpm -F command is used to upgrade an installed package to a newer version, or to downgrade it to an older version. It does not query the package that owns a specific file. Option C: The rpm -Kl command is used to verify the files in an installed package. It checks the file sizes, timestamps, and checksums of the files, and compares them to the values that are stored in the package. It does not query the package that owns a specific file. Option D: The rpm -qp command is used to query the package that is stored in a specific RPM file. It does not query the package that owns a specific file. Option E: The rpm -qi command is used to display the information about an installed package. It does not query the package that owns a specific file.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago