ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 177 - XK0-005 discussion

Report
Export

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
Answers
A.
/etc/yum.conf
B.
/etc/ssh/sshd.conf
Answers
B.
/etc/ssh/sshd.conf
C.
/etc/yum.repos.d/db.repo
Answers
C.
/etc/yum.repos.d/db.repo
D.
/etc/resolv.conf
Answers
D.
/etc/resolv.conf
Suggested 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 RPMbased 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. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 19: Managing Packages and Software, page 559.

asked 02/10/2024
Emma Buchanan
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first