Back to Linux Foundation Certified System Administrator LFCS questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Linux Foundation Certified System Administrator LFCS practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
LFCS
exam code
Linux Foundation
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 LFCS 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 1easymultiple choice
Full question →

Refer to the exhibit. The administrator wants to create a RAID 1 array using /dev/sdb1 and /dev/sdc1. Which command should be used?

Exhibit

Refer to the exhibit.

# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0   20G  0 disk
├─sda1   8:1    0    1G  0 part /boot
├─sda2   8:2    0   10G  0 part /
└─sda3   8:3    0    9G  0 part [SWAP]
sdb      8:16   0   10G  0 disk
└─sdb1   8:17   0   10G  0 part
sdc      8:32   0    5G  0 disk
└─sdc1   8:33   0    5G  0 part /data
Question 2hardmultiple choice
Full question →

Based on the exhibit, which process will be affected if the root user runs 'kill 5678'?

Exhibit

Refer to the exhibit.

$ ps aux | grep apache
root      1234  0.0  0.2  12345  6789 ?        Ss   Jan01   0:00 /usr/sbin/apache2 -k start
www-data  5678  0.0  0.1  12345  1234 ?        S    Jan01   0:00 /usr/sbin/apache2 -k start
www-data  5679  0.0  0.1  12345  1234 ?        S    Jan01   0:00 /usr/sbin/apache2 -k start
Question 3mediummultiple choice
Full question →

What is the purpose of the chmod 755 command in this exhibit?

Network Topology
-rw-rrRefer to the exhibit.$ ls -l file1$ chmod 755 file1
Question 4hardmultiple choice
Read the full NAT/PAT explanation →

Refer to the exhibit. The output of 'ps aux' shows a process named 'process_hog' with PID 1234 consuming 99.5% CPU. The process is stuck in an infinite loop and does not respond to SIGTERM. Which signal should be used to forcefully terminate it?

Exhibit

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      1234 99.5  0.2  12345  6789 pts/0    R    10:00  45:00 process_hog
Question 5hardmultiple choice
Read the full DHCP explanation →

Refer to the exhibit. The /etc/sysconfig/network-scripts/ifcfg-eth0 file contains the above content. After reboot, eth0 still does not obtain an IP via DHCP. What is the most likely missing configuration?

Exhibit

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=52:54:00:12:34:56
Question 6mediummultiple choice
Full question →

Refer to the exhibit. How many days of logs are retained before deletion?

Exhibit

/var/log/nginx/*.log {
    daily
    rotate 14
    compress
    delaycompress
    missingok
    notifempty
    create 0640 www-data adm
    sharedscripts
    postrotate
        /usr/sbin/nginx -s reload > /dev/null 2>/dev/null || true
    endscript
}
Question 7mediummultiple choice
Full question →

An administrator is unable to SSH into the server from a remote host at 192.168.1.100. Based on the exhibited iptables rules, what is the most likely reason?

Network Topology
10 840 ACCEPT alllo * 0.0.0.0/05 300 ACCEPT tcp0 0 DROP tcpRefer to the exhibit.
Question 8mediummultiple choice
Full question →

Refer to the exhibit. Which device is the root filesystem mounted from?

Exhibit

Refer to the exhibit.

NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0   40G  0 disk 
├─sda1   8:1    0  500M  0 part /boot
└─sda2   8:2    0 39.5G  0 part /
sdb      8:16   0   20G  0 disk 
└─sdb1   8:17   0   20G  0 part /home
Question 9easymultiple choice
Full question →

Refer to the exhibit. Which mount options are set for the root filesystem?

Exhibit

Refer to the exhibit.

UUID=12345678-1234-1234-1234-123456789abc /               ext4    defaults,noatime        0 1
UUID=abcdef12-3456-7890-abcd-ef1234567890 /home           ext4    defaults                0 2
UUID=deadbeef-0123-4567-89ab-cdef01234567 swap            swap    defaults                0 0
/dev/sr0        /mnt/cdrom      auto    noauto,user        0 0
Question 10easymultiple choice
Full question →

Refer to the exhibit. User 'alice' cannot log in. What is the most likely problem?

Exhibit

Refer to the exhibit:

$ cat /etc/passwd | grep alice
alice:x:1001:1001:Alice Smith:/home/alice:/bin/bash

$ ls -ld /home/alice
drwxr-x--- 2 root root 4096 Jan 10 10:00 /home/alice
Question 11mediummultiple choice
Full question →

Refer to the exhibit. User 'alice' is a member of groups 'users' and 'projectx'? She needs to be a member of 'staff' as well. Which of the following statements is true?

Exhibit

Refer to the exhibit:

$ cat /etc/group
users:x:100:alice,bob,charlie
staff:x:500:bob,charlie
projectx:x:600:alice

$ groups alice
alice : users
Question 12easymultiple choice
Full question →

Refer to the exhibit. The administrator attempted to create a user 'newuser' but received an error. Which command should be used to check if the user already exists?

Exhibit

Refer to the exhibit.
# useradd -u 1005 -G wheel,dbadmin -m -k /etc/skel newuser
useradd: user 'newuser' already exists
#
Question 13hardmultiple choice
Full question →

Refer to the exhibit. Assuming today is Feb 20, 2025, what happens when 'bob' attempts to log in today?

Exhibit

Refer to the exhibit:

$ chage -l bob
Last password change                                    : Jan 15, 2025
Password expires                                        : Apr 15, 2025
Password inactive                                       : never
Account expires                                         : Mar 01, 2025
Minimum number of days between password change          : 0
Maximum number of days between password change          : 90
Number of days of warning before password expires       : 7
Question 14mediummultiple choice
Full question →

Refer to the exhibit. An administrator adds user 'frank' to the group 'projectx' by editing /etc/group directly and changing the line to 'projectx:x:500:carol,dave,frank'. After saving, the administrator runs 'groups frank' and sees only 'frank' in the output. Why does frank not appear in the group 'projectx'?

Network Topology
exhibit_textBEGIN OSTYPE Linux /etc/groupENDstaff:x:100:alice,bobprojectx:x:500:carol,daveadmin:x:900:eve
Question 15hardmultiple choice
Full question →

Refer to the exhibit. The shadow entry for user 'carol' shows 18000 in the third field. What does the value 18000 represent?

Network Topology
exhibit_textBEGIN /etc/shadow snippetENDcarol:$6$abc123$def...:18000:0:99999:7:::

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