LPIC-1 · topic practice

Devices, Filesystems and FHS practice questions

Practise Linux Professional Institute Certification Level 1 LPIC-1 Devices, Filesystems and FHS practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

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.

Reviewed byJohnson Ajibi· MSc IT Security
20 questionsDomain: Devices, Filesystems and FHS

What the exam tests

What to know about Devices, Filesystems and FHS

Devices, Filesystems and FHS questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common Devices, Filesystems and FHS exam traps

  • Answering from memory before reading the full scenario.
  • Missing a constraint such as cost, availability, security, scope or command context.
  • Choosing a broad answer when the question asks for the most specific fix.
  • Ignoring why the wrong options are tempting.

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 of the following commands displays the amount of free disk space on all mounted filesystems in a human-readable format?

An administrator needs to create a new ext4 filesystem on /dev/sdb1 and wants to reserve 2% of the blocks for the root user. Which command should be used?

A Linux system has a software RAID1 array /dev/md0 consisting of /dev/sda1 and /dev/sdb1. After replacing a failed disk, the administrator runs 'mdadm --manage /dev/md0 --add /dev/sdc1', but the array remains degraded. Which command should be used to check the status of the array?

Which directory in the Filesystem Hierarchy Standard (FHS) contains essential user command binaries that are needed in single-user mode?

An administrator needs to mount an ISO image file /tmp/image.iso to the directory /mnt/iso. Which command should be used?

A system is running out of disk space on /var. The administrator finds that /var/log/syslog is 4GB. Which of the following is the best course of action to prevent future issues while keeping recent logs?

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

Which THREE of the following commands can be used to display information about block devices?

Which TWO of the following are true about the /proc 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?

A system administrator notices that the /tmp directory is filling up quickly, causing applications to fail. The administrator wants to ensure that files in /tmp are automatically cleaned after a certain period. Which of the following is the best approach without installing additional software?

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

Refer to the exhibit. The system administrator sees that /var/log is 93% full and the syslog file is nearly 2 GB. What is the most appropriate immediate action to free up disk space without losing any critical log data?

Exhibit

Refer to the exhibit.

$ df -h /var/log
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        20G   18G  1.5G  93% /var/log

$ ls -la /var/log/syslog
-rw-r----- 1 syslog adm 2048000000 Feb 20 10:30 /var/log/syslog
Question 20mediummultiple choice
Read the full NAT/PAT explanation →

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?

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?
Devices, Filesystems and FHS questions test whether you can apply the concept in context, not just recognise a definition.
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.