XK0-006 System Management Practice Question
An administrator wants to find all files larger than 100MB in the /var directory. Which command should be used?
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
✓
find /var -type f -size +100M
The find command with -size +100M correctly locates files larger than 100MB.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
find /var -size +100kb
Why it's wrong here
Incorrect unit and lacks -type f.
- ✓
find /var -type f -size +100M
Why this is correct
This command finds files larger than 100MB.
- ✗
ls -l /var | grep 100M
Why it's wrong here
ls does not filter by size.
- ✗
du -sh /var/* | grep M
Why it's wrong here
du shows disk usage but not filtering by file size directly.
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.