mediumMultiple ChoiceObjective-mapped
CV0-004 Practice Question: Refer to the exhibit
Exhibit
Refer to the exhibit. ``` CloudWatch Logs: /var/log/syslog 2024-03-15T10:00:00Z [ERROR] Disk space usage: 95% 2024-03-15T10:05:00Z [ERROR] Disk space usage: 97% 2024-03-15T10:10:00Z [WARN] Application X: unable to write log file 2024-03-15T10:11:00Z [CRITICAL] Application X: out of memory 2024-03-15T10:12:00Z [INFO] Instance i-12345: state changing to stopping ```
Refer to the exhibit. A cloud engineer is reviewing logs from an EC2 instance. Which of the following is the MOST likely root cause of the application failure?
⚠ Common exam trap
CompTIA often tests the distinction between memory-related failures (segfaults, OOM) and disk-related failures, where candidates mistakenly attribute a log-write failure to a memory issue instead of checking disk space.
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 disk space reached 100% capacity, preventing the application from writing logs
When disk space reaches 100% capacity, the operating system cannot write new data to the filesystem. Since the application relies on writing logs (and potentially other data) to disk, it will fail when it cannot perform these write operations. This is a common root cause in cloud environments where log rotation is not configured or monitoring thresholds are not set.
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 application experienced a segmentation fault due to a code bug
Why it's wrong here
No segmentation fault recorded; the failure is preceded by disk warnings.
- ✗
The instance ran out of memory because the application had a memory leak
Why it's wrong here
Out of memory is a consequence of disk full causing log failures.
- ✗
The instance was stopped by the cloud provider due to a license violation
Why it's wrong here
No indication of license issues; the stop follows critical errors.
- ✓
The disk space reached 100% capacity, preventing the application from writing logs
Why this is correct
The sequence shows disk warnings before application failures.
Go deeper
Related to this question
About these practice questions
This CV0-004 question is part of Courseiva's 977-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.