1. What does df -h do? Junior A. create an XFS filesystem on a partition B. show filesystem disk usage and free space, human-readable C. initialize a disk as an LVM physical volume D. create a 5G logical volume named data Reveal the answer + AI explanation — free account
2. Which command will show filesystem disk usage and free space, human-readable? Junior A. umount /mnt B. xfs_growfs /mnt C. df -h D. vgextend vg0 /dev/sdc Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. df -h — show filesystem disk usage and free space, human-readable B. df -h — initialize a disk as an LVM physical volume C. df -h — create an XFS filesystem on a partition D. df -h — grow a logical volume by 10G and resize its filesystem Reveal the answer + AI explanation — free account
4. What does du -sh dir do? Junior A. grow a logical volume by 10G and resize its filesystem B. show block-device UUIDs and filesystem types C. mount all filesystems listed in /etc/fstab D. show the total size of a directory Reveal the answer + AI explanation — free account
5. Which command will show the total size of a directory? Junior A. lsblk B. du -sh dir C. pvcreate /dev/sdb D. resize2fs /dev/vg/lv Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. du -sh dir — list block devices as a tree B. du -sh dir — add a physical volume to an existing volume group C. du -sh dir — show the total size of a directory D. du -sh dir — show filesystem disk usage and free space, human-readable Reveal the answer + AI explanation — free account
7. What does lsblk do? Junior A. show the total size of a directory B. resize an ext4 filesystem to match its volume C. grow a logical volume by 10G and resize its filesystem D. list block devices as a tree Reveal the answer + AI explanation — free account
8. Which command will list block devices as a tree? Junior A. df -h B. lsblk C. mount -a D. pvcreate /dev/sdb Reveal the answer + AI explanation — free account
9. Which statement is correct? Junior A. lsblk — create an XFS filesystem on a partition B. lsblk — list block devices as a tree C. lsblk — show filesystem disk usage and free space, human-readable D. lsblk — add a physical volume to an existing volume group Reveal the answer + AI explanation — free account
10. What does blkid do? Junior A. attach a filesystem to a directory B. detach a mounted filesystem C. resize an ext4 filesystem to match its volume D. show block-device UUIDs and filesystem types Reveal the answer + AI explanation — free account
11. Which command will show block-device UUIDs and filesystem types? Junior A. umount /mnt B. resize2fs /dev/vg/lv C. blkid D. lvextend -r -L +10G /dev/vg/lv Reveal the answer + AI explanation — free account
12. Which statement is correct? Junior A. blkid — mount all filesystems listed in /etc/fstab B. blkid — resize an ext4 filesystem to match its volume C. blkid — show block-device UUIDs and filesystem types D. blkid — grow a mounted XFS filesystem online Reveal the answer + AI explanation — free account
13. What does lvextend -r -L +10G /dev/vg/lv do? Mid A. detach a mounted filesystem B. show filesystem disk usage and free space, human-readable C. add a physical volume to an existing volume group D. grow a logical volume by 10G and resize its filesystem Reveal the answer + AI explanation — free account
14. Which command will grow a logical volume by 10G and resize its filesystem? Mid A. vgextend vg0 /dev/sdc B. lvextend -r -L +10G /dev/vg/lv C. mount /dev/sdb1 /mnt D. resize2fs /dev/vg/lv Reveal the answer + AI explanation — free account
15. Which statement is correct? Mid A. lvextend -r -L +10G /dev/vg/lv — add a physical volume to an existing volume group B. lvextend -r -L +10G /dev/vg/lv — grow a mounted XFS filesystem online C. lvextend -r -L +10G /dev/vg/lv — show block-device UUIDs and filesystem types D. lvextend -r -L +10G /dev/vg/lv — grow a logical volume by 10G and resize its filesystem Reveal the answer + AI explanation — free account
16. What does xfs_growfs /mnt do? Mid A. add a physical volume to an existing volume group B. grow a logical volume by 10G and resize its filesystem C. grow a mounted XFS filesystem online D. create an XFS filesystem on a partition Reveal the answer + AI explanation — free account
17. Which command will grow a mounted XFS filesystem online? Mid A. lvcreate -L 5G -n data vg0 B. xfs_growfs /mnt C. mount /dev/sdb1 /mnt D. resize2fs /dev/vg/lv Reveal the answer + AI explanation — free account
18. Which statement is correct? Mid A. xfs_growfs /mnt — initialize a disk as an LVM physical volume B. xfs_growfs /mnt — grow a mounted XFS filesystem online C. xfs_growfs /mnt — grow a logical volume by 10G and resize its filesystem D. xfs_growfs /mnt — create an XFS filesystem on a partition Reveal the answer + AI explanation — free account
19. What does resize2fs /dev/vg/lv do? Mid A. mount all filesystems listed in /etc/fstab B. grow a logical volume by 10G and resize its filesystem C. show the total size of a directory D. resize an ext4 filesystem to match its volume Reveal the answer + AI explanation — free account
20. Which command will resize an ext4 filesystem to match its volume? Mid A. lsblk B. mkfs.xfs /dev/sdb1 C. umount /mnt D. resize2fs /dev/vg/lv Reveal the answer + AI explanation — free account
21. Which statement is correct? Mid A. resize2fs /dev/vg/lv — grow a mounted XFS filesystem online B. resize2fs /dev/vg/lv — add a physical volume to an existing volume group C. resize2fs /dev/vg/lv — initialize a disk as an LVM physical volume D. resize2fs /dev/vg/lv — resize an ext4 filesystem to match its volume Reveal the answer + AI explanation — free account
22. What is /etc/fstab ? Junior A. striping with distributed parity, tolerating one disk failure B. XFS can grow online but cannot be shrunk C. disk used as overflow when physical RAM is full D. the file defining filesystems to mount at boot Reveal the answer + AI explanation — free account
23. Which term means: "the file defining filesystems to mount at boot"? Junior A. LVM snapshot B. /etc/fstab C. XFS shrink limitation D. RAID 10 Reveal the answer + AI explanation — free account
24. Which statement is correct? Junior A. /etc/fstab — the file defining filesystems to mount at boot B. /etc/fstab — logging metadata changes so the FS can recover quickly after a crash C. /etc/fstab — disk used as overflow when physical RAM is full D. /etc/fstab — the layering of physical volumes into volume groups into logical volumes Reveal the answer + AI explanation — free account
25. What is LVM PV→VG→LV ? Mid A. XFS can grow online but cannot be shrunk B. disk used as overflow when physical RAM is full C. a structure storing a file's metadata and block pointers D. the layering of physical volumes into volume groups into logical volumes Reveal the answer + AI explanation — free account
26. Which term means: "the layering of physical volumes into volume groups into logical volumes"? Mid A. RAID 5 B. inode C. RAID 10 D. LVM PV→VG→LV Reveal the answer + AI explanation — free account
27. Which statement is correct? Mid A. LVM PV→VG→LV — disk used as overflow when physical RAM is full B. LVM PV→VG→LV — logging metadata changes so the FS can recover quickly after a crash C. LVM PV→VG→LV — the layering of physical volumes into volume groups into logical volumes D. LVM PV→VG→LV — striping with distributed parity, tolerating one disk failure Reveal the answer + AI explanation — free account
28. What is XFS shrink limitation ? Senior A. striping with distributed parity, tolerating one disk failure B. XFS can grow online but cannot be shrunk C. the file defining filesystems to mount at boot D. logging metadata changes so the FS can recover quickly after a crash Reveal the answer + AI explanation — free account
29. Which term means: "XFS can grow online but cannot be shrunk"? Senior A. filesystem journaling B. RAID 5 C. XFS shrink limitation D. LVM snapshot Reveal the answer + AI explanation — free account
30. Which statement is correct? Senior A. XFS shrink limitation — the layering of physical volumes into volume groups into logical volumes B. XFS shrink limitation — allocating LV space on demand from a thin pool, allowing overcommit C. XFS shrink limitation — disk used as overflow when physical RAM is full D. XFS shrink limitation — XFS can grow online but cannot be shrunk Reveal the answer + AI explanation — free accountShowing 30 of 72 Linux · Storage & LVM questions — the full set, with answers, explanations and an AI tutor on every question, is inside.