XK0-005 · Question #410
XK0-005 Question #410: Real Exam Question with Answer & Explanation
The correct answer is C: /etc/yum.repos.d/db.repo. {"question_number": 1, "explanation": "To install a custom or third-party package using yum/dnf on a Red Hat-based Linux system, the package repository must be defined in a .repo file placed in /etc/yum.repos.d/. Creating a file like db.repo in that directory tells yum where to f
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
{"question_number": 1, "explanation": "To install a custom or third-party package using yum/dnf on a Red Hat-based Linux system, the package repository must be defined in a .repo file placed in /etc/yum.repos.d/. Creating a file like db.repo in that directory tells yum where to find the custom database packages. /etc/yum.conf is the global yum configuration file but is not where individual repo definitions go. /etc/ssh/sshd.conf is for SSH daemon configuration, and /etc/resolv.conf handles DNS name resolution - neither is relevant to package installation.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.