A junior systems administrator is upgrading a package that was installed on a Red Hat-based system. The administrator is tasked with the following: Update and install the new package.
Verify the new package version is installed.
Which of the following should be done to BEST accomplish these task? (Choose two.)
A. yum install <package name>
B. yum upgrade
C. rpm -e <package name>
D. rpm -qa
E. apt-get <package name>
F. apt-get upgrade
hmmm, RedHat only deals with yum and rpms, so :
E. apt-get
F. apt-get upgrade
are out.
Then we have
A. yum install – install a package
B. yum upgrade – update the packages on your system
C. rpm -e – erase a package
D. rpm -qa – query info on all packages installed
The task is to “Update and install the new package.” <- yum install works here
Verify the new package version is installed. <- I guess we can conclude it from the rpm -qa output?
So AD?
how is the answer including D when apt is for Debian systems not Red-hat?