nerdexam
CompTIACompTIA

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.

System Management

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

#Package Management#YUM History#System Administration#Reverting Changes

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions