mediumMultiple ChoiceObjective-mapped
XK0-006 Practice Question: Refer to the exhibit
Exhibit
ls -la /var/log/syslog -rw-r----- 1 syslog adm 1024000 Mar 10 12:45 /var/log/syslog df -h /var/log Filesystem Size Used Avail Use% Mounted on /dev/sda1 20G 19G 1.0G 95% / tail -5 /var/log/syslog Mar 10 12:44:59 server rsyslogd: [origin software="rsyslogd" swVersion="8.2106.0" x-pid="789" x-info="https://www.rsyslog.com"] start Mar 10 12:45:00 server rsyslogd: problem with file /var/log/syslog: No space left on device Mar 10 12:45:00 server rsyslogd: [origin software="rsyslogd" swVersion="8.2106.0" x-pid="789" x-info="https://www.rsyslog.com"] rsyslogd: HUP received, trying to restart.
Refer to the exhibit. The system log is not updating. What is the cause?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The root filesystem is almost full, leaving no space for log growth.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The syslog file size exceeded 1GB and was rotated.
Why it's wrong here
The file is about 1MB, not 1GB, and no rotation message is shown.
- ✗
The syslog file permissions are incorrect.
Why it's wrong here
Permissions are 640, owned by syslog:adm, which is typical.
- ✓
The root filesystem is almost full, leaving no space for log growth.
Why this is correct
df shows 95% usage on / and rsyslogd error states 'No space left on device'.
- ✗
rsyslogd was restarted and lost its configuration.
Why it's wrong here
The restart was due to HUP, but the error is space-related.
Go deeper
Related to this question
About these practice questions
One of 979 original XK0-006 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.