Exam4Training

Which of the following should the Linux administrator configure so the requested packages can be installed?

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?
A . /etc/yum.conf
B . /etc/ssh/sshd.conf
C . /etc/yum.repos.d/db.repo
D . /etc/resolv.conf

Answer: C

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.

References: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 19: Managing Packages and Software, page 559.

Latest XK0-005 Dumps Valid Version with 136 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version