Back to Linux Foundation Certified System Administrator LFCS questions

Scenario-based practice

Hard Difficulty 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.

20
scenario questions
LFCS
exam code
Linux Foundation
vendor

Scenario guide

How to approach hard difficulty questions

These are the questions most candidates get wrong. They require connecting multiple concepts, reading tricky output, or knowing edge-case behaviour that isn't on most study cards. Practising them trains you to operate under uncertainty — a necessary skill on the real exam.

Quick answer

Hard Difficulty Questions 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.

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 1hardmulti select
Full question →

Which THREE of the following are valid methods to mount an NFS filesystem on a client?

Question 2hardmulti select
Full question →

Which THREE steps are necessary to permanently disable a systemd service from starting at boot?

Question 3hardmultiple 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 4hardmulti select
Full question →

Which TWO commands can be used to create a new empty file?

Question 5hardmultiple choice
Full question →

A system administrator needs to find all files in /home that are owned by user 'alice' and have been modified in the last 7 days. The administrator then wants to compress those files into a single archive named alice_recent.tar.gz. Which of the following commands accomplishes this?

Question 6hardmultiple choice
Full question →

An administrator wants to ensure that a background process continues running after logout. Which command should be used to start the process?

Question 7hardmultiple choice
Full question →

A system administrator needs to ensure that a specific service, 'myapp', starts automatically after a system crash and also restarts if it fails. Which systemd unit directive should be used to achieve this behavior?

Question 8hardmultiple choice
Full question →

An administrator is troubleshooting a server that runs a critical application. The server has 16 GB of RAM and 8 CPU cores. The administrator notices that the server becomes very slow during peak hours. Analysis of 'iostat -x 1' shows that the average wait time (await) for the main disk (sda) is consistently above 1000 ms, while the average service time (svctm) is around 5 ms. What is the most likely cause?

Question 9hardmulti select
Full question →

Which TWO of the following are correct statements about systemd journald configuration?

Question 10hardmultiple choice
Full question →

A systems administrator needs to add a new user 'jdoe' with a home directory in /export/home, a UID of 1500, and an expiry date of 2025-12-31. Which command should they use?

Question 11hardmultiple choice
Full question →

A security policy requires that user 'svc_backup' have a password that never expires. Additionally, the account should be locked after 90 days of inactivity. Which set of commands achieves this?

Question 12hardmultiple 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 13hardmulti select
Full question →

Which THREE commands can change the priority of an already running process?

Question 14hardmultiple choice
Full question →

A DevOps engineer wants to list all running processes sorted by memory usage in descending order. Which command should be used?

Question 15hardmultiple choice
Read the full NAT/PAT explanation →

An administrator needs to find the process ID of the cron daemon. Which combination of commands is most effective?

Question 16hardmultiple choice
Full question →

A user 'alice' cannot log in via SSH. The administrator checks /etc/passwd and sees: alice:x:1002:1002::/home/alice:/sbin/nologin. Which command should be used to allow alice to log in with a bash shell?

Question 17hardmultiple choice
Full question →

A system administrator monitors a server that periodically becomes unresponsive for a few seconds. Investigation reveals that the kernel OOM killer is being invoked, but standard memory usage monitoring tools like 'free' and 'top' show less than 50% memory usage. The server runs a web server and a database. Which of the following is the most likely cause and diagnostic step?

A system administrator is configuring a custom systemd service that runs a Python script. The script logs output to stdout. The administrator wants to ensure that the service restarts automatically if it crashes, but only after a 10-second delay. Which directive should be added to the [Service] section of the unit file?

Question 19hardmultiple choice
Full question →

A Linux administrator needs to create a RAID 5 array using three disks: /dev/sdb, /dev/sdc, and /dev/sdd, each 2TB. The administrator wants to ensure the array can be reassembled automatically after a reboot. Which command should be used to create the array?

Question 20hardmultiple choice
Full question →

A server runs a custom application that listens on TCP port 8080. The administrator wants to ensure the application starts automatically on boot and restarts if it crashes. Which systemd unit file directive should be used to achieve the restart behavior?

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.