LPIC-1 Exam 101 v5 (Linux Administrator) — Question 76

When removing a package on a system using dpkg package management, which dpkg option ensures configuration files are removed as well?

Answer options

Correct answer: B

Explanation

--purge is the correct option because it not only removes the package but also any associated configuration files. The other options do not provide this functionality: --remove only uninstalls the package without deleting configuration files, while --clean, --vacuum, and --declare are not related to package removal.