nerdexam
CompTIA

XK0-006 · Question #10

An administrator attempts to install updates on a Linux system but receives error messages regarding a specific repository. Which of the following commands should the administrator use to verify…

The correct answer is D. yum repolist all. The yum repolist all command lists all configured repositories along with their status (enabled or disabled), allowing the administrator to verify if the problematic repository is installed and active.

System Management

Question

An administrator attempts to install updates on a Linux system but receives error messages regarding a specific repository. Which of the following commands should the administrator use to verify that the repository is installed and enabled?

Options

  • Ayum repo-pkgs
  • Byum list installed repos
  • Cyum reposync available
  • Dyum repolist all

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    5% (2)
  • D
    92% (36)

Explanation

The yum repolist all command lists all configured repositories along with their status (enabled or disabled), allowing the administrator to verify if the problematic repository is installed and active.

Topics

#yum#repository management#repolist#package manager

Community Discussion

No community discussion yet for this question.

Full XK0-006 Practice