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 1hardmultiple choice
Full question →

Refer to the exhibit. The root filesystem is nearly full. The administrator needs to increase its size. Which steps should be performed?

Exhibit

Exhibit: Output of `df -h`
Filesystem                              Size  Used Avail Use% Mounted on
/dev/mapper/vg_root-lv_root              20G   18G  1.1G  95% /
/dev/sda1                               487M  112M  348M  25% /boot
tmpfs                                   1.9G     0  1.9G   0% /dev/shm
/dev/mapper/vg_data-lv_data              50G   30G   18G  63% /data
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 3hardmultiple choice
Full question →

Refer to the exhibit. An administrator runs 'ntpq -p' and sees the output shown. What is the most likely cause of the '16' stratum and '0.000' delay/offset?

Exhibit

Refer to the exhibit.

# cat /etc/ntp.conf
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
# driftfile /var/lib/ntp/ntp.drift
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*0.pool.ntp.org   .POOL.          16 p    -   64    0    0.000   0.000   0.000
 1.pool.ntp.org   .POOL.          16 p    -   64    0    0.000   0.000   0.000
Question 4mediummultiple 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

Refer to the exhibit. A system administrator finds this line in /etc/rsyslog.conf. What is the effect of this configuration?

Exhibit

*.* @192.168.1.100:514
Question 6mediummultiple choice
Full question →

Based on the dpkg -l output in the exhibit, what does the 'rc' status indicate for the apache2 package?

Exhibit

Refer to the exhibit.

```
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version         Architecture Description
+++-===================-===============-============-============================================
rc  apache2             2.4.41-4ubuntu3 amd64        Apache HTTP Server
```
Question 7hardmultiple choice
Full question →

Refer to the exhibit. The 'mount -a' command fails for the NFS mount. What is the most likely cause?

Exhibit

# /etc/fstab
/dev/sda1 /boot ext4 defaults 1 2
/dev/sda2 / ext4 defaults 0 1
/dev/sda3 /home ext4 defaults 0 2
192.168.1.100:/export /mnt/nfs nfs defaults,_netdev 0 0
# mount -a output:
mount: /mnt/nfs: can't read superblock
Question 8hardmultiple choice
Full question →

Refer to the exhibit. The job runs every hour but the administrator notices that it does not execute on Sundays. Which cron syntax element is responsible?

Exhibit

0 * * * 1-6 /script.sh
Question 9mediummultiple 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 10easymultiple 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 11hardmultiple choice
Full question →

Refer to the exhibit. After modifying /etc/default/grub to enable serial console output, which command must be run to apply the changes to the GRUB configuration?

Network Topology
$ sudo grub-installversion-rw-rrRefer to the exhibit.grub-install (GRUB) 2.04$ ls -l /boot/grub/grub.cfg$ cat /etc/default/grubGRUB_DEFAULT=0GRUB_TIMEOUT=5GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"#GRUB_TERMINAL_OUTPUT=console

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 13mediummultiple choice
Full question →

Refer to the exhibit. What can be concluded about the cron daemon based on this systemctl output?

Exhibit

● cron.service - Regular background program processing daemon
   Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2023-10-23 10:15:00 UTC; 2h 30min ago
     Docs: man:cron(8)
 Main PID: 1234 (cron)
    Tasks: 1 (limit: 4915)
   Memory: 1.2M
   CGroup: /system.slice/cron.service
           └─1234 /usr/sbin/cron -f
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 15easymultiple choice
Full question →

Refer to the exhibit. An administrator installed a new command in /opt/bin/ but cannot run it without specifying the full path. What is the likely cause?

Exhibit

The output of 'set | grep -i path' returns:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

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.