Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 101-500 topic 1 question 63 discussion

Actual exam question from LPI's 101-500
Question #: 63
Topic #: 1
[All 101-500 Questions]

FILL BLANK -
What directory contains configuration files for additional yum repositories? (Specify the full path to the directory.)

Show Suggested Answer Hide Answer
Suggested Answer: /etc/yum.conf

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
mentor84
Highly Voted 3 years, 11 months ago
It's asking about directory, not a file, so I believe the correct answer is: /etc/yum.repos.d/
upvoted 38 times
...
cast7omadrid1
Highly Voted 4 years, 1 month ago
it is recommended to define individual repositories in new or existing .repo files in the /etc/yum.repos.d/ directory. The values you define in individual [repository] sections of the /etc/yum.conf file override values set in the [main] section. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-configuring_yum_and_yum_repositories
upvoted 10 times
3glag
4 years, 1 month ago
yes its right
upvoted 3 times
...
CuriousLinuxCat
3 years ago
Although what mentor84 said is correct, what ultimately determines the path to the /etc/yum.repos.d/ is the values that you set in the /etc/yum.conf. A tricky question. Just think of it as, "who is in charge of the yum.repos.d file? Oh yeah, the /etc/yum.comf..."
upvoted 4 times
...
...
Jack67
Most Recent 10 months, 2 weeks ago
yum.conf is the file, the correct answer is: /etc/yum.repos.d/
upvoted 1 times
Jos015
9 months, 2 weeks ago
I agree: https://learning.lpi.org/en/learning-materials/101-500/102/102.5/102.5_01/ Managing Software Repositories For yum the “repos” are listed in the directory /etc/yum.repos.d/. Each repository is represented by a .repo file, like CentOS-Base.repo. Additional, extra repositories can be added by the user by adding a .repo file in the directory mentioned above, or at the end of /etc/yum.conf. However, the recommended way to add or manage repositories is with the yum-config-manager tool.
upvoted 1 times
...
...
Amycert
1 year, 2 months ago
etc/yum.repos.d/ is the correct by chatgpt
upvoted 1 times
...
k3n_
1 year, 3 months ago
etc/yum.repos.d/ ChatGPT gives this answer
upvoted 1 times
...
Untaked
2 years, 1 month ago
/etc/yum.repos.d/ (Correct) set options for individual repositories by editing the [repository] sections in /etc/yum.conf and .repo files in the /etc/yum.repos.d/ directory; https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-configuring_yum_and_yum_repositories
upvoted 1 times
...
wvdw1962
2 years, 3 months ago
In my opinion it has to be: /etc/yum.repos.d - they are asking for a directory - /etc/yum.conf not available in all distros, not in Ubuntu, not in Fedora, it exists in Centos and RedHat, but in both no path to a directory like /etc/yum.repos.d
upvoted 1 times
...
serlan
2 years, 4 months ago
/etc/yum.repos.d/
upvoted 1 times
...
starout
2 years, 4 months ago
Unequivocal /etc/yum.conf
upvoted 1 times
...
McReseau
2 years, 11 months ago
/etc/yum.repos.d/
upvoted 4 times
dilopezat
2 years, 8 months ago
I think this is the right answer. /etc/yum.repos.d/
upvoted 3 times
...
...
penguinx64
3 years, 2 months ago
Fedora doesn't have yum.conf but Red Hat does
upvoted 1 times
...
Robert12
3 years, 3 months ago
It is extremely difficult to answer this question correctly, your always going to answer /etc/yum.repos.d because the question specifically asks which directory. Your never going to think of answering /etc/yum.conf because its a configuration file .
upvoted 3 times
...
mriron
3 years, 4 months ago
it is written as: The configuration file for yum and related utilities is located at /etc/yum.conf. This file contains one mandatory [main] section, which allows you to set Yum options that have global effect, and can also contain one or more [repository] sections, which allow you to set repository-specific options.
upvoted 1 times
...
MashkoorQadir
3 years, 4 months ago
/etc/yum.conf is not a directory wrong answer
upvoted 3 times
...
dalziad
3 years, 7 months ago
je pense la vrai reponse est /etc/yum.repos.d par ce que il nous demande le repertoire et non le fichier !
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...