CompTIA Linux+ (XK0-005) — Question 159

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?

Answer options

Correct answer: C

Explanation

The correct answer is C, as the /etc/yum.repos.d/db.repo file is where repository configurations are stored, allowing the installation of packages using YUM. Option A, /etc/yum.conf, contains general YUM configuration settings, but does not specify repositories. Option B, /etc/ssh/sshd.conf, is related to SSH configurations, and option D, /etc/resolv.conf, deals with DNS settings, neither of which pertain to package installation.