nerdexam
CompTIA

XK0-005 · 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
  • Drpm -qa
  • Eapt-get <package name>

How the community answered

(48 responses)
  • A
    10% (5)
  • B
    73% (35)
  • E
    17% (8)

Explanation

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

Topics

#Package management#YUM#RPM#Red Hat Linux

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice