As per that same link, E might be also correct (as usual, the explanation is ambiguous):
"The values you define in the [main] section of the /etc/yum.conf file may override values set in individual [repository] sections."
That sounds to me like it's saying the opposite of E.
E is saying that /etc/yum.conf is ignored if the directory /etc/yum.repos.d/ contains files, while your quote is saying that any settings that you define/change in the configuration file can override values in the individual repos.
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.
I,m not sure about the D answer, i'm not on RH enviroment.
The correct statements regarding the configuration of yum are:
C. The configuration of package repositories can be divided into multiple files.
This is true. In the typical configuration, repository information is stored in separate files under the /etc/yum.repos.d/ directory.
D. Repository configurations can include variables such as $basearch or $releasever.
This is true. Yum configuration files support variables like $basearch (architecture of the system, e.g., x86_64) or $releasever (version of the operating system).
https://learning.lpi.org/en/learning-materials/101-500/102/102.5/102.5_01/
I think it could be C and D. E contradicts this:
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.
This section is not available anymore. Please use the main Exam Page.101-500 Exam Questions
Log in to ExamTopics
Sign in:
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.
aMiPL
Highly Voted 3 years, 7 months agoblk_542
1 year, 11 months agoAdam_H
1 year, 10 months agodpereiro4481
Most Recent 6 months, 2 weeks agoNinymo
7 months, 2 weeks agoRalf_G
8 months, 1 week agoFoelixxx
9 months agoTewodros89
10 months, 3 weeks agoArmiche
1 year, 1 month agoJos015
1 year, 3 months agosheilawu
1 year, 5 months ago