XK0-005 · Question #1716
XK0-005 Question #1716: Real Exam Question with Answer & Explanation
The correct answer is A: /etc/yum.conf. The /etc/yum.conf file contains configuration settings for the YUM package manager. To exclude kernel updates, the administrator should add exclude=kernel* to the [main] section of this file. This ensures that all future YUM updates skip kernel packages, making the exclusion pers
Question
A server administrator has scheduled a cron job to run YUM updates on all servers without manual intervention, but kernel packages must be excluded from the updates at all times. Which of the following configuration files needs to be modified to make these changes persistent?
Options
- A/etc/yum.conf
- B/etc/dnf/dnf.conf
- C/etc/yum/pluginconf.d/packages.conf
- D/etc/yum.repo.d/kernel.repo
Explanation
The /etc/yum.conf file contains configuration settings for the YUM package manager. To exclude kernel updates, the administrator should add exclude=kernel* to the [main] section of this file. This ensures that all future YUM updates skip kernel packages, making the exclusion persistent.
Topics
Community Discussion
No community discussion yet for this question.