Courseiva
System ManagementmediumMultiple ChoiceObjective-mapped

XK0-006 System Management Practice Question

A Linux administrator needs to locate all files in the /var directory that have been modified within the last 30 minutes and are larger than 10MB. Which command accomplishes this task?

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 -mmin -30 -size +10M

The find command with -mmin and -size options can locate files based on modification time and size. -mmin -30 finds files modified less than 30 minutes ago, and -size +10M finds files larger than 10MB.

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 -mmin 30 -size +10M

    Why it's wrong here

    -mmin 30 matches files modified exactly 30 minutes ago, not within the last 30 minutes.

  • find /var -mmin -30 -size +10M

    Why this is correct

    Correct: -mmin -30 matches files modified less than 30 minutes ago, and -size +10M matches files larger than 10MB.

  • locate /var -mmin -30 -size +10M

    Why it's wrong here

    locate does not support -mmin or -size options.

  • find /var -mtime -30 -size +10M

    Why it's wrong here

    -mtime -30 matches files modified within the last 30 days, not minutes.

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.