nerdexam
CompTIA

XK0-005 · Question #685

A systems administrator is tasked with configuring a repository on an RPM-based Linux system. Which of the following need to be reviewed and modified? (Choose two.)

The correct answer is A. /etc/yum.conf E. /etc/yum.repos.d. On RPM-based systems like Red Hat or CentOS, repository configuration is handled via yum or dnf. The main configuration file is /etc/yum.conf, while individual repository files are stored in /etc/yum.repos.d/. These files dictate where packages are fetched from.

System Management

Question

A systems administrator is tasked with configuring a repository on an RPM-based Linux system. Which of the following need to be reviewed and modified? (Choose two.)

Options

  • A/etc/yum.conf
  • B/etc/apt/sources.list.d
  • C/etc/pam.d
  • D/etc/apt.conf
  • E/etc/yum.repos.d
  • F/etc/ssh/ssh_config

How the community answered

(41 responses)
  • A
    85% (35)
  • B
    2% (1)
  • C
    2% (1)
  • D
    2% (1)
  • F
    7% (3)

Explanation

On RPM-based systems like Red Hat or CentOS, repository configuration is handled via yum or dnf. The main configuration file is /etc/yum.conf, while individual repository files are stored in /etc/yum.repos.d/. These files dictate where packages are fetched from.

Topics

#Package Management#Yum#Repository Configuration#Linux Configuration Files

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice