ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 294 - XK0-005 discussion

Report
Export

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?

A.

/etc/yum.conf

Answers
A.

/etc/yum.conf

B.

/etc/dnf/dnf.conf

Answers
B.

/etc/dnf/dnf.conf

C.

/etc/yum/pluginconf.d/packages.conf

Answers
C.

/etc/yum/pluginconf.d/packages.conf

D.

/etc/yum.repo.d/kernel.repo

Answers
D.

/etc/yum.repo.d/kernel.repo

Suggested answer: A

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.

asked 09/10/2024
Stian Godoe
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first