Which of the following should be done to BEST accomplish these task?

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

comptia-exams

2 thoughts on “Which of the following should be done to BEST accomplish these task?

  1. 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?

    9
    2

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.