Courseiva
easyMultiple SelectObjective-mapped

XK0-006 Practice Question: Which THREE commands can be used to display the…

Which THREE commands can be used to display the mount points and file system usage? (Choose three.)

⚠ Common exam trap

Many candidates confuse 'df -i' (inode usage) with 'df -h' (space usage), or think 'du' shows mount points, when in fact 'du' only shows directory-level usage and requires additional options to correlate with mount points.

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

df -h

(df -h) is correct because the 'df' command (disk free) with the '-h' (human-readable) flag displays file system disk space usage in a format that includes mount points, total size, used space, available space, and usage percentage. This directly shows both mount points and file system usage, making it a standard tool for this purpose.

Answer analysis

Option-by-option breakdown

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

  • df -h

    Why this is correct

    Shows filesystem usage with mount points.

  • du

    Why it's wrong here

    du shows directory sizes, not mount points and overall filesystem usage.

  • df -i

    Why it's wrong here

    Shows inode usage, not storage usage.

  • mount

    Why this is correct

    Lists all mounted filesystems and their mount points.

  • lsblk

    Why this is correct

    Lists block devices with mount points (if mounted).

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

Same concept, more angles

1 more way this is tested on XK0-006

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which TWO commands display disk usage information for filesystems? (Select 2.)

easy
  • A.ls
  • B.du
  • C.parted
  • D.df
  • E.fdisk

Why B: The `df` command (disk free) reports the amount of available and used disk space on all mounted filesystems, while `du` (disk usage) estimates file and directory space usage. Both commands are standard tools for displaying disk usage information for filesystems in Linux.

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.