Courseiva

LPIC-1 · topic practice

Devices, Filesystems and FHS practice questions

This LPIC-1 domain covers Linux block devices, filesystem creation and repair, mounting and /etc/fstab, the Filesystem Hierarchy Standard, disk space usage, and ACLs. Questions are scenario-based: you inspect an exhibit (command output or fstab) and choose the correct commands, order of steps, or filesystem for a stated requirement.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Devices, Filesystems and FHS

What the exam tests

What to know about Devices, Filesystems and FHS

You must be able to inspect disks, create and repair filesystems, mount them persistently through /etc/fstab, and manage ACLs. The most important thing is reading the exhibit carefully: identify the device, filesystem type, and current state before choosing any command or step order.

Partitioning and managing disks with fdisk, gdisk, parted, and lsblk

Creating, checking, and tuning filesystems with mkfs, fsck, tune2fs, and blkid

Mounting filesystems via mount, umount, /etc/fstab, and systemd mount units

FHS directory purposes plus du, df, and ACLs via getfacl and setfacl

Watch out for

Common Devices, Filesystems and FHS exam traps

  • ▸Confusing fsck pass numbers in /etc/fstab: pass 0 means no check, and the root filesystem is normally checked first.
  • ▸Forgetting that extending a filesystem requires resizing the partition or logical volume first, then the filesystem itself.
  • ▸Assuming ACLs apply without a filesystem mounted with the acl option, or omitting the default ACL needed for inherited permissions.

Practice set

Devices, Filesystems and FHS questions

20 questions · select your answer, then reveal the explanation

A system administrator wants to mount a USB flash drive formatted with the ext4 filesystem. The device is detected as /dev/sdc1. Which command should be used to mount the device to /mnt/usb?

A Linux system has two SATA disks: /dev/sda (250GB) and /dev/sdb (500GB). The administrator wants to create a logical volume group named 'vgdata' using partitions on both disks, then create a 600GB logical volume named 'lvdata' for a database. Which sequence of commands should be used?

During boot, a Linux system displays 'Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(0,0)'. Which of the following is the most likely cause?

Which TWO of the following are valid mount options for the ext4 filesystem?

Based on the lsblk output, which of the following is true?

Exhibit

Refer to the exhibit.

$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 232.9G  0 disk
├─sda1   8:1    0   487M  0 part /boot
├─sda2   8:2    0     1K  0 part
└─sda5   8:5    0 232.4G  0 part
  ├─vg-root (dm-0) 252:0    0    50G  0 lvm  /
  └─vg-home (dm-1) 252:1    0   100G  0 lvm  /home
sdb      8:16   0 232.9G  0 disk
└─sdb1   8:17   0 232.9G  0 part
  └─vg-data (dm-2) 252:2    0   200G  0 lvm  /data

Based on the /etc/fstab entry, which filesystem will be checked by fsck at boot time?

Exhibit

Refer to the exhibit.

$ cat /etc/fstab
# /etc/fstab: static file system information.
UUID=abc123 / ext4 defaults 0 1
UUID=def456 /boot ext4 defaults 0 2
UUID=ghi789 none swap sw 0 0
/dev/sdb1 /mnt/data ext4 defaults 0 0
//192.168.1.100/share /mnt/nfs nfs defaults 0 0

A company runs a web server on Linux with two hard disks: /dev/sda (500GB) and /dev/sdb (500GB). The root filesystem is on /dev/sda1, and /var is on /dev/sda2. The administrator wants to add a new disk /dev/sdc (500GB) to be used as additional storage for /var/www/html. The new disk should be configured as an LVM physical volume and added to an existing volume group named 'vg_web'. The volume group currently has 200GB free space from /dev/sdb1. The administrator intends to extend the logical volume 'lv_web' mounted at /var/www/html by 300GB. Which of the following is the correct sequence of commands to achieve this without data loss?

A Linux administrator is troubleshooting a server that fails to boot with the error 'Give root password for maintenance (or press Control-D to continue)'. The root filesystem is on /dev/sda2, formatted as ext4. The administrator suspects a filesystem inconsistency. The server is in a remote data center and the administrator has console access via IPMI. Which of the following is the safest procedure to repair the filesystem?

Which THREE commands can be used to display the UUID of a filesystem on a Linux system without superuser privileges? (Choose three.)

You are a systems administrator for a medium-sized company that runs a web server on a Linux host. The server has two physical disks: /dev/sda (250 GB) and /dev/sdb (500 GB). The root filesystem is on /dev/sda2, and /var is on /dev/sda3 (50 GB). The web application stores user-uploaded files in /var/www/uploads, which is part of the /var filesystem. Recently, /var has been running out of space because uploads have grown to 40 GB. You have added /dev/sdb1 (500 GB) and created an ext4 filesystem on it. You need to make the space available for uploads without disrupting the current file paths. The server must remain online during the process. Which of the following actions should you take?

Match each file system type to its typical description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Journaling file system, default on many Linux distros

High-performance 64-bit journaling file system

Copy-on-write file system with snapshots

Used for virtual memory paging

Compatible with Windows FAT32

Match each networking tool to its primary use.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Test network connectivity to a host

Display network connections, routing tables, etc.

Capture and analyze network packets

Query DNS for domain name or IP

Configure network interfaces and routing

According to the Filesystem Hierarchy Standard (FHS), which directory contains essential system binaries required during boot?

Which command creates an ext4 filesystem on /dev/sdb1 without interactive prompts?

A system fails to mount an XFS filesystem with the entry in /etc/fstab. The entry looks correct. Which fstab field might be missing or incorrect?

A disk is partitioned with GPT. The administrator wants to see the partition type GUIDs and partition UUIDs. Which command is most appropriate?

After a system crash, the root filesystem (ext4) is mounted read-only and the administrator needs to perform an interactive check. Which command should be used?

Which TWO commands can be used to display information about block devices such as disks and partitions? (Choose exactly two.)

Which THREE directories are required to be directly under the root filesystem (/) according to the Filesystem Hierarchy Standard? (Choose exactly three.)

Which THREE of the following filesystem types are journaling filesystems? (Choose exactly three.)

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Devices, Filesystems and FHS sessions

Start a Devices, Filesystems and FHS only practice session

Every question in these sessions is drawn from the Devices, Filesystems and FHS domain — nothing else.

Related practice questions

Related LPIC-1 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the LPIC-1 exam test about Devices, Filesystems and FHS?
You must be able to inspect disks, create and repair filesystems, mount them persistently through /etc/fstab, and manage ACLs. The most important thing is reading the exhibit carefully: identify the device, filesystem type, and current state before choosing any command or step order.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Devices, Filesystems and FHS questions in a focused session?
Yes — the session launcher on this page draws every question from the Devices, Filesystems and FHS domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other LPIC-1 topics?
Use the topic links above to move to related areas, or go back to the LPIC-1 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the LPIC-1 exam covers. They are not copied from any real exam or dump site.