nerdexam
CompTIACompTIA

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

System Management

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

#YUM#Package Management#Configuration Files#Package Exclusion

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions