ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 144 - XK0-005 discussion

Report
Export

In which of the following filesystems are system logs commonly stored?

A.
/var
Answers
A.
/var
B.
/tmp
Answers
B.
/tmp
C.
/etc
Answers
C.
/etc
D.
/opt
Answers
D.
/opt
Suggested answer: A

Explanation:

The filesystem that system logs are commonly stored in is /var. The /var filesystem is a directory that contains variable data files on Linux systems. Variable data files are files that are expected to grow in size over time, such as logs, caches, spools, and temporary files. The /var filesystem is separate from the / filesystem, which contains the essential system files, to prevent the / filesystem from being filled up by the variable data files. The system logs are files that record the events and activities of the system and its components, such as the kernel, the services, the applications, and the users. The system logs are useful for monitoring, troubleshooting, and auditing the system. The system logs are commonly stored in the /var/log directory, which is a subdirectory of the /var filesystem. The /var/log directory contains various log files, such as syslog, messages, dmesg, auth.log, and kern.log.

The filesystem that system logs are commonly stored in is /var. This is the correct answer to the question. The other options are incorrect because they are not the filesystems that system logs are commonly stored in (/tmp, /etc, or /opt). Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 16: Managing Logging and Monitoring, page 487.

asked 02/10/2024
Abel Galleguillos
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first