Courseiva
Back to Linux Professional Institute Certification Level 1 LPIC-1 questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Linux Professional Institute Certification Level 1 LPIC-1 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
LPIC-1
exam code
LPI
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related LPIC-1 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1mediummultiple choice
Full question →

Refer to the exhibit. The root filesystem is at 95% capacity. Which option will free space on the root filesystem?

Exhibit

$ lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT
NAME   FSTYPE SIZE MOUNTPOINT
sda          20G
├─sda1 ext4   10G /
├─sda2 swap    2G [SWAP]
└─sda3 ext4    8G /home
sdb           10G
└─sdb1 ext4   10G /mnt/backup
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        10G  9.5G  500M  95% /
/dev/sda3        8G   2G   5.9G  26% /home
/dev/sdb1        10G  1G   9G    10% /mnt/backup
Question 2mediummultiple choice
Full question →

Refer to the exhibit. On boot, which filesystem will be checked first by fsck?

Exhibit

Exhibit: /etc/fstab content:
UUID=abc123 / ext4 defaults 1 1
UUID=def456 /boot ext3 defaults 1 2
UUID=ghi789 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
Question 3easymultiple choice
Full question →

Refer to the exhibit. What is the current default target?

Exhibit

# systemctl get-default
multi-user.target
# ls -l /etc/systemd/system/default.target
lrwxrwxrwx 1 root root 37 Jan 10 10:00 /etc/systemd/system/default.target -> /lib/systemd/system/multi-user.target
Question 4easymultiple choice
Full question →

A user reports that running '/usr/local/bin/myapp' from the command line results in 'bash: /usr/local/bin/myapp: No such file or directory'. The exhibit shows the file exists and is a valid executable. What is the most likely cause of the error?

Exhibit

Refer to the exhibit.
$ ls -l /usr/local/bin/myapp
-rwxr-xr-x 1 root root 12345 Jan 1 12:00 /usr/local/bin/myapp
$ file /usr/local/bin/myapp
/usr/local/bin/myapp: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped
$ ldd /usr/local/bin/myapp
	linux-vdso.so.1 (0x00007ffe5a3b0000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f9a8b200000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f9a8b600000)
Question 5mediummultiple choice
Study the full Python automation breakdown →

Refer to the exhibit. A user runs 'python --version' and gets 'Python 3.9.1'. Which command would run Python 2 instead?

Network Topology
$ pythonversion$ ls -l /usr/bin/python*Python 3.9.1$ file /usr/bin/python/usr/bin/python: symbolic link to python3
Question 6mediummultiple choice
Full question →

Refer to the exhibit. A user tries to write to /mnt/usb/myfile.txt as a non-root user and receives a permission denied error. What is the most likely reason?

Network Topology
-rw-rr$ mount$ ls -la /mnt/usb/total 16
Question 7easymultiple choice
Review the full routing breakdown →

Refer to the exhibit. A system administrator runs 'ip route show default' and gets this output. What does it indicate?

Exhibit

default via 192.168.1.1 dev eth0
Question 8mediummultiple choice
Full question →

Refer to the exhibit. Which file has a special permission that allows a user to execute the file with the privileges of the file owner?

Exhibit

-rwxr-xr-x 1 root root 12345 Jan 1 12:00 /usr/bin/myapp
-rwsr-xr-x 1 root root 23456 Jan 1 12:00 /usr/bin/su
-rw-rw-rw- 1 user1 user1 0 Jan 1 12:00 /tmp/shared
Question 9hardmultiple choice
Full question →

Refer to the exhibit. A user tries to execute a script on a mounted filesystem but gets a permission denied error. The script has execute permissions. What is the most likely cause?

Exhibit

$ mount | grep /dev/sdb1
/dev/sdb1 on /mnt/data type ext4 (rw,noexec,nosuid,nodev)
$ ls -l /mnt/data/script.sh
-rwxr-xr-x 1 root root 100 Jan 1 00:00 /mnt/data/script.sh
$ /mnt/data/script.sh
bash: /mnt/data/script.sh: Permission denied
Question 10hardmultiple choice
Full question →

Refer to the exhibit. Why does the cron job fail?

Network Topology
-rw-rrRefer to the exhibit.$ cat /etc/cron.d/backup$ ls -l /usr/local/bin/backup.sh$ su -c '/usr/local/bin/backup.sh' --bash: /usr/local/bin/backup.sh: Permission denied
Question 11mediummultiple choice
Read the full network assurance explanation →

Refer to the exhibit. The system administrator notices the /var/log partition is nearly full. The syslog file is 2GB. Which command will safely reduce the size of this log file without stopping the logging daemon?

Network Topology
-rw-rr$ df -h /var/log$ ls -lh /var/log/syslog
Question 12easymultiple choice
Full question →

Refer to the exhibit. When will the cron job execute?

Exhibit

The output of 'cat /etc/crontab' shows:
* * * * * root /usr/local/bin/backup.sh
Question 13hardmultiple choice
Full question →

Refer to the exhibit. An admin attempts to execute a shell script located in /tmp but gets 'Permission denied'. Which mount option is most likely causing this?

Exhibit

$ mount
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime)
Question 14hardmultiple choice
Full question →

Refer to the exhibit. The /var partition is nearly full. Which of the following is the most appropriate first step to free up space?

Exhibit

$ cat /proc/partitions
major minor  #blocks  name
   8        0   52428800 sda
   8        1     524288 sda1
   8        2   51873792 sda2
   8       16   10485760 sdb
   8       17    1048576 sdb1
   8       18    9437184 sdb2
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2        50G   20G   30G  40% /
/dev/sda1       512M  100M  413M  20% /boot
/dev/sdb2       9.0G  8.5G  500M  95% /var
$ lsblk -f
NAME   FSTYPE LABEL UUID                                 MOUNTPOINT
sda
├─sda1 ext4          a1b2c3d4-...                       /boot
└─sda2 ext4          e5f6g7h8-...                       /
sdb
├─sdb1 swap          1234-5678-...                      [SWAP]
└─sdb2 ext4          i9j0k1l2-...                       /var
Question 15mediummultiple choice
Full question →

Refer to the exhibit. The system has a single disk with three partitions. Which partition contains the root filesystem?

Exhibit

Refer to the exhibit.

$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 223.6G  0 disk
├─sda1   8:1    0   512M  0 part /boot
├─sda2   8:2    0    16G  0 part [SWAP]
└─sda3   8:3    0 207.1G  0 part /

These LPIC-1 practice questions are part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style LPIC-1 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.