What is true regarding the configuration of yum? (Choose two.)
What is true regarding the configuration of yum? (Choose two.)
The configuration of package repositories in yum can be divided into multiple files, which is typically achieved by using separate files under the /etc/yum.repos.d/ directory. Additionally, yum repository configurations can include variables such as $basearch, which specifies the system's architecture, and $releasever, which denotes the operating system version. These features allow for flexible and dynamic repository management.
Correct: https://docs.fedoraproject.org/en-US/Fedora/17/html/System_Administrators_Guide/sec-Configuring_Yum_and_Yum_Repositories.html
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.
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.
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).
CORRECT ANSWER IS DE
It's correct
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.
I currently have a lecturer "at my disposal" and he says: C & D.
Answer: CD
C and D are the correct answer