XK0-005 · Question #693
XK0-005 Question #693: Real Exam Question with Answer & Explanation
The correct answer is D: yum history undo last. The yum history undo last command allows the administrator to undo the most recent transaction, effectively removing the httpd package and any installed dependencies. This is the safest and easiest way to revert package installations in RPM-based systems using yum.
Question
An administrator accidentally installed the httpd RPM package along with several dependencies. Which of the following options is the best way for the administrator to revert the package installation?
Options
- Adnf clean all
- Brpm -e httpd
- Capt-get clean
- Dyum history undo last
Explanation
The yum history undo last command allows the administrator to undo the most recent transaction, effectively removing the httpd package and any installed dependencies. This is the safest and easiest way to revert package installations in RPM-based systems using yum.
Topics
Community Discussion
No community discussion yet for this question.