nerdexam
CompTIACompTIA

XK0-005 · Question #1508

XK0-005 Question #1508: Real Exam Question with Answer & Explanation

The correct answer is A: /etc/systemd/journald.conf. The file that holds the system configuration for journal when running systemd is /etc/systemd/journald.conf. This file contains various settings that control the behavior of the journald daemon, which is responsible for collecting and storing log messages from various sources. Th

System Management

Question

Which of the following files holds the system configuration for journal when running systemd?

Options

  • A/etc/systemd/journald.conf
  • B/etc/systemd/systemd-journalctl.conf
  • C/usr/lib/systemd/journalctl.conf
  • D/etc/systemd/systemd-journald.conf

Explanation

The file that holds the system configuration for journal when running systemd is /etc/systemd/journald.conf. This file contains various settings that control the behavior of the journald daemon, which is responsible for collecting and storing log messages from various sources. The journald.conf file can be edited to change the default values of these settings, such as the storage location, size limits, compression, and forwarding options of the journal files. The file also supports a drop-in directory /etc/systemd/journald.conf.d/ where additional configuration files can be placed to override or extend the main file.

Topics

#systemd#journald#configuration files#Linux administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions