nerdexam
CompTIA

XK0-004 · Question #86

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…

The correct answer is B. yum upgrade D. rpm -qa. Since the package is already installed on the machine, yum upgrade will be used. Then rpm -qa

System Management

Question

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.)

Options

  • Ayum install <package name>
  • Byum upgrade
  • Crpm -e <package name>
  • Drpm -qa
  • Eapt-get <package name>
  • Fapt-get upgrade

How the community answered

(38 responses)
  • A
    8% (3)
  • B
    87% (33)
  • C
    3% (1)
  • F
    3% (1)

Explanation

Since the package is already installed on the machine, yum upgrade will be used. Then rpm -qa

Topics

#YUM#RPM#package management#Red Hat

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice