ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 40 - XK0-005 discussion

Report
Export

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

A.
/etc/systemd/journald.conf
Answers
A.
/etc/systemd/journald.conf
B.
/etc/systemd/systemd-journalctl.conf
Answers
B.
/etc/systemd/systemd-journalctl.conf
C.
/usr/lib/systemd/journalctl.conf
Answers
C.
/usr/lib/systemd/journalctl.conf
D.
/etc/systemd/systemd-journald.conf
Answers
D.
/etc/systemd/systemd-journald.conf
Suggested answer: A

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. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 18: Automating Tasks; journald.conf(5) - Linux manual page

asked 02/10/2024
Karesa Potts
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first