exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 33 discussion

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

When removing a package, which of the following dpkg options will completely remove the files including configuration files?

  • A. --clean
  • B. --delete
  • C. --purge
  • D. –remove
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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: C
Option C '--purge' will completely remove the package, including its configuration files. To remove a package using dpkg, you can use the following command: sudo dpkg --purge package_name This will remove the package and all its configuration files. Option A '--clean' option does not remove the package or its configuration files. It simply removes the downloaded package files from the system but leaves the package itself installed. Option B '--delete' option removes the package, but does not remove its configuration files. OptionD '--remove' option removes the package, but does not remove its configuration files or any other files that were installed outside of the package's control.
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