nerdexam
CompTIA

220-1102 · Question #377

Which of the following best describes when to use the YUM command in Linux?

The correct answer is A. To add functionality. The YUM (Yellowdog Updater, Modified) command in Linux is used to manage software packages, allowing users to install, update, remove, and query packages, thereby adding or modifying system functionality. It handles dependencies automatically for these operations.

Operating Systems

Question

Which of the following best describes when to use the YUM command in Linux?

Options

  • ATo add functionality
  • BTo change folder permissions
  • CTo show documentation
  • DTo list file contents

How the community answered

(34 responses)
  • A
    91% (31)
  • B
    3% (1)
  • C
    3% (1)
  • D
    3% (1)

Why each option

The `YUM` (Yellowdog Updater, Modified) command in Linux is used to manage software packages, allowing users to install, update, remove, and query packages, thereby adding or modifying system functionality. It handles dependencies automatically for these operations.

ATo add functionalityCorrect

`YUM` is a command-line package-management utility for RPM-compatible Linux operating systems, such as CentOS and Fedora. Its primary purpose is to simplify the process of installing, updating, and removing software packages and their dependencies, which effectively means adding or removing functionality to the system.

BTo change folder permissions

To change folder permissions, the `chmod` command is used, not `YUM`.

CTo show documentation

To show documentation for commands or system features, the `man` (manual) command is typically used, not `YUM`.

DTo list file contents

To list file contents, commands like `ls`, `cat`, or `more` are used, not `YUM`.

Concept tested: Linux package management-YUM

Source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-yum

Topics

#Linux commands#Package management#YUM#Software installation

Community Discussion

No community discussion yet for this question.

Full 220-1102 Practice