nerdexam
CompTIA

XK0-005 · Question #443

A Linux administrator has been tasked with installing the most recent versions of packages on a RPM- based OS. Which of the following commands will accomplish this task?

The correct answer is D. dnf update. The dnf update command will accomplish the task of installing the most recent versions of packages on a RPM-based OS. This command will check for available updates from the enabled repositories and apply them to the system. The apt-get upgrade command is used to install updates…

System Management

Question

A Linux administrator has been tasked with installing the most recent versions of packages on a RPM- based OS. Which of the following commands will accomplish this task?

Options

  • Aapt-get upgrade
  • Brpm -a
  • Cyum updateinfo
  • Ddnf update
  • Eyum check-update

How the community answered

(30 responses)
  • A
    3% (1)
  • C
    3% (1)
  • D
    93% (28)

Explanation

The dnf update command will accomplish the task of installing the most recent versions of packages on a RPM-based OS. This command will check for available updates from the enabled repositories and apply them to the system. The apt-get upgrade command is used to install updates on a Debian- based OS, not a RPM-based OS. The rpm -a command is invalid, as -a is not a valid option for rpm. The yum updateinfo command will display information about available updates, but it will not install them. The yum check-update command will check for available updates, but it will not install them.

Topics

#Package Management#DNF#System Updates#RPM

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice