nerdexam
CompTIACompTIA

XK0-005 · Question #10360

XK0-005 Question #10360: Real Exam Question with Answer & Explanation

The correct answer is C: /etc/yum.repos.d/db.repo. The Linux administrator should configure /etc/yum.repos.d/db.repo so that the requested packages can be installed. This file defines a custom repository for yum, which is a package manager for RPM- based systems. The file should contain information such as the name, baseurl, gpgc

System Management

Question

A database administrator requested the installation of a custom database on one of the servers. Which of the following should the Linux administrator configure so the requested packages can be installed?

Options

  • A/etc/yum.conf
  • B/etc/ssh/sshd.conf
  • C/etc/yum.repos.d/db.repo
  • D/etc/resolv.conf

Explanation

The Linux administrator should configure /etc/yum.repos.d/db.repo so that the requested packages can be installed. This file defines a custom repository for yum, which is a package manager for RPM- based systems. The file should contain information such as the name, baseurl, gpgcheck, and enabled options for the repository. By creating this file and enabling the repository, the administrator can use yum to install packages from the custom repository. The /etc/yum.conf file is the main configuration file for yum, but it does not define repositories. The /etc/ssh/sshd.conf file is the configuration file for sshd, which is a daemon that provides secure shell access to remote systems. The /etc/resolv.conf file is the configuration file for DNS resolution, which maps domain names to IP addresses.

Topics

#Linux Package Management#YUM Configuration#Repository Management#System Administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions