ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 323 - XK0-005 discussion

Report
Export

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?

A.

dnf clean all

Answers
A.

dnf clean all

B.

rpm -e httpd

Answers
B.

rpm -e httpd

C.

apt-get clean

Answers
C.

apt-get clean

D.

yum history undo last

Answers
D.

yum history undo last

Suggested answer: D

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.

asked 09/10/2024
Jonathan Moreno
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first