Courseiva
hardMultiple ChoiceObjective-mapped

XK0-006 Practice Question: The system is a web server running Apache and…

Exhibit

Refer to the exhibit.
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        50G   50G     0 100% /

The system is a web server running Apache and MySQL. Based on the exhibit, which of the following is the most likely cause of the full disk?

⚠ Common exam trap

CompTIA often tests the candidate's ability to distinguish between common disk-filling causes (logs, databases, user files) by presenting a scenario where the exhibit shows a specific directory (like /var/log) as full, leading candidates to overlook the log rotation misconfiguration and instead blame MySQL or user home directories.

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

Apache access and error logs are growing unchecked

Apache access and error logs are a common cause of full disks on web servers because they can grow unchecked, consuming all available space. By default, Apache logs are stored in /var/log/httpd/ or /var/log/apache2/ and are not rotated unless logrotate is configured. The exhibit likely shows a high percentage of disk usage in /var/log, confirming that log files are the culprit.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • A user has filled their home directory

    Why it's wrong here

    Home is often a separate partition or less likely.

  • Apache access and error logs are growing unchecked

    Why this is correct

    Correct: Web server logs commonly fill root partitions.

  • The /tmp directory is not being cleaned

    Why it's wrong here

    Less likely to use 50GB.

  • The MySQL database has grown too large

    Why it's wrong here

    Possible, but logs are more common for rapid filling.

About these practice questions

This XK0-006 question is part of Courseiva's 979-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.