exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 165 discussion

Actual exam question from CompTIA's XK0-005
Question #: 165
Topic #: 1
[All XK0-005 Questions]

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

  • A. /var
  • B. /tmp
  • C. /etc
  • D. /opt
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
Highly Voted 8 months, 4 weeks ago
Selected Answer: A
A. /var Explanation: In Linux, system logs are commonly stored in the /var (variable) filesystem, specifically in the /var/log directory. This directory contains logs for various system services and applications, such as the syslog, mail, and authentication logs. The /tmp directory is a temporary filesystem that is used to store temporary files and directories created by system processes and applications. It is typically cleared on system reboot, and its contents should not be relied on for long-term storage. The /etc directory contains configuration files for the system and various applications, but it does not typically store system logs. The /opt directory is used to install additional software packages, but it is not a standard location for storing system logs.
upvoted 5 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago