Question 36 of 977
CV0-004 Troubleshooting Practice Question
Exhibit
Refer to the exhibit. ``` $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 20G 18G 1.5G 93% / /dev/sdb1 100G 20G 80G 20% /data ```
A cloud engineer receives an alert that the root filesystem (/) is at 93% usage. The /data volume has plenty of free space. The application stores logs in /var/log/app/ on the root filesystem. Which of the following is the BEST long-term solution?
⚠ Common exam trap
CompTIA often tests the misconception that increasing filesystem size or deleting partitions is a valid long-term fix, when in reality the correct approach is to relocate data to a separate volume using a symlink or mount bind.
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
✓
Move the /var/log/app directory to the /data partition and create a symlink
Moving the /var/log/app directory to the /data partition and creating a symlink is the best long-term solution because it permanently relocates the log data to a volume with ample free space without requiring application reconfiguration. The symlink (/var/log/app -> /data/app) makes the application continue to write to the same logical path, while the actual storage is on the /data filesystem. This resolves the root filesystem capacity issue without altering the application's logging behavior or risking data loss.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Move the /var/log/app directory to the /data partition and create a symlink
Why this is correct
This frees root space and leverages the /data volume's capacity.
- ✗
Increase the size of the root filesystem
Why it's wrong here
This is possible but more disruptive and does not utilize the existing /data space.
- ✗
Delete the /data partition and merge it with root
Why it's wrong here
This would cause data loss and downtime.
- ✗
Configure log rotation to delete logs more frequently
Why it's wrong here
This only defers the issue and may cause loss of needed logs.
Visual reference
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 30, 2026
This CV0-004 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 CV0-004 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.