nerdexam
CompTIA

XK0-005 · Question #721

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…

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…

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

How the community answered

(17 responses)
  • A
    88% (15)
  • B
    6% (1)
  • C
    6% (1)

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 manager#Package exclusion#System configuration#Kernel updates

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice