Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

HomeCertificationsLFCSDomainsOperation of Running Systems
LFCSFree — No Signup

Operation of Running Systems

Practice LFCS Operation of Running Systems questions with full explanations on every answer.

77questions

Start practicing

Operation of Running Systems — choose a session length

10 questions~10 min20 questions~20 min30 questions~30 min50 questions~50 min

Free · No account required

LFCS Domains

User and Group ManagementOperation of Running SystemsEssential CommandsNetworkingService ConfigurationStorage Management

Practice Operation of Running Systems questions

10Q20Q30Q50Q

All LFCS Operation of Running Systems questions (77)

Start session

Click any question to see the full explanation and answer options, or start a focused practice session above.

1

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?

2

A Linux system reports 'Out of memory' errors frequently. The administrator checks memory usage with 'free -m' and notices that most memory is used by file cache. Which command can the administrator run to immediately free up the cache without affecting running processes?

3

An administrator needs to schedule a cron job that runs a script every day at 3:00 AM, but the system is in a different time zone (UTC) than the administrator's local time (EST). The administrator wants the job to run at 3:00 AM local time regardless of system time zone changes. What is the best approach?

4

Which TWO commands can be used to display the current runlevel or target of a systemd-based system?

5

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

6

A system administrator wants to view the last 10 lines of the system log file '/var/log/syslog' and continue to watch for new lines as they are appended. Which command should be used?

7

A systems administrator receives reports that a web server running Nginx is intermittently unresponsive. The server has 8 GB of RAM and 4 CPU cores. The administrator runs 'free -m' and sees that available memory is low, and 'top' shows that several nginx worker processes are using a high percentage of CPU. Which of the following is the most likely cause of the issue?

8

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?

9

A Linux server experiences a kernel panic during boot. The administrator needs to capture the kernel panic message for debugging. Which of the following methods would allow capturing the panic message?

10

A systems administrator is troubleshooting a server that runs a database application. The server has 64 GB of RAM and 16 CPU cores. The administrator notices that the system is using a significant amount of swap space even though there is plenty of free memory. The 'free -m' command shows: total memory = 65536, used = 50000, free = 15536, buffers/cache = 10000, swap total = 8192, swap used = 6000. Which of the following is the most likely cause?

11

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

12

You are a systems administrator for a company that runs a high-traffic web application on a Linux server with 32 GB of RAM and 8 CPU cores. The application uses Apache with mod_php and MySQL. Recently, the server has been experiencing intermittent slowdowns, especially during peak hours. Monitoring tools show that the CPU usage spikes to 100% for several minutes and then returns to normal. The 'top' command shows that the 'mysqld' process is often the top CPU consumer during these spikes. You notice that the MySQL slow query log contains many entries with long execution times. The database is heavily used by the web application for read-heavy workloads. After analyzing the situation, you suspect that the issue is related to MySQL configuration. Which of the following actions is most likely to resolve the performance issue?

13

You are a systems administrator for a company that runs a web application on a Linux server with 16 GB of RAM and 4 CPU cores. The application uses Apache with mod_php and PostgreSQL. Recently, the server has been experiencing high load average (above 10) and the website is responding slowly. The 'top' command shows that many 'httpd' processes are in 'D' (uninterruptible sleep) state. The 'iostat -x 1' output shows high disk utilization (over 90%) and high average wait times (await > 200 ms) on the disk where PostgreSQL data is stored. The database is write-heavy, and you suspect that disk I/O is the bottleneck. Which of the following actions is most likely to improve the performance?

14

A system administrator needs to check the current CPU load and memory usage on a Linux server. Which command should be used to display a dynamic, real-time view of running processes and system resource utilization?

15

A Linux administrator is troubleshooting a service that is running as the 'nobody' user but keeps failing because it cannot write to its log file. The log file is located at /var/log/app.log. Which TWO of the following methods will allow the service to write to the log file while maintaining security best practices?

16

Based on the journalctl output, what is the most likely cause of the service failure?

17

Order the steps to set up a LVM logical volume from a new disk.

18

Order the steps to recover a forgotten root password on a Linux system using single-user mode.

19

Match each file system type to its typical use case.

20

Match each Linux networking command to its primary function.

21

A system administrator notices that a process is consuming 100% CPU and is unresponsive. Which command should be used to immediately stop the process if the PID is 2345?

22

A developer reports that a web application is running out of file descriptors. Which sysctl parameter should be reviewed and potentially increased?

23

A system with systemd experiences a service that fails to start due to a 'Failed to start' error with status 203/EXEC. What is the most likely cause?

24

A server is running out of disk space. Which command will show the disk usage of the root filesystem in a human-readable format?

25

A user reports that they cannot log in via SSH, but other users can. The administrator checks /var/log/auth.log and sees 'Failed password for invalid user'. What is the most likely cause?

26

A service is using a port that conflicts with another application. Which command can be used to identify which process is listening on a specific TCP port?

27

An administrator wants to ensure that a service starts automatically after a system crash. Which systemd command should be used?

28

A server with multiple network interfaces has intermittent connectivity issues. The administrator suspects routing table misconfiguration. Which command would show the current routing table?

29

A process is stuck in an uninterruptible sleep (D state) and cannot be killed. What is the most likely cause?

30

Which TWO of the following are valid methods to check the status of a systemd service named 'httpd'? (Select TWO.)

31

Which TWO of the following commands can be used to display the current kernel ring buffer messages? (Select TWO.)

32

Which THREE of the following are valid options for the `lsblk` command to display more detailed information about block devices? (Select THREE.)

33

Refer to the exhibit. What is the most likely issue with the Apache web server?

34

Refer to the exhibit. Which filesystem is close to full capacity?

35

Refer to the exhibit. What is the most likely security issue?

36

A system administrator notices that a web server process (PID 1234) is consuming excessive CPU. They want to trace its system calls to identify the cause. Which command should be used?

37

A Linux server experiences intermittent high load averages but low CPU utilization. The administrator suspects an I/O bottleneck. Which command best identifies the specific device causing the bottleneck?

38

An administrator wants to view the current memory usage in a human-readable format, showing totals for used and free memory. Which command should be used?

39

A cron job runs a script that outputs to stdout. The administrator wants to capture both stdout and stderr to a file named job.log, while also seeing output on the terminal. Which command achieves this?

40

After a kernel update, a service fails to start with 'cannot allocate memory'. The system has 16GB RAM and 8GB swap. Which command should the administrator run first to diagnose potential memory limits?

41

An engineer wants to list all processes currently running under user 'appuser'. Which command is appropriate?

42

A server runs out of inodes. The administrator needs to find which filesystem is exhausted and which directory has the most files. Which command sequence best accomplishes this?

43

A system has a process stuck in uninterruptible sleep (D state). The administrator wants to identify which kernel function it is waiting on. Which tool should be used?

44

To view the system's default runlevel (target) at boot, which command is used on a systemd-based system?

45

A system administrator needs to monitor real-time network traffic on a specific interface (eth0). Which TWO tools can be used for packet-level analysis?

46

Which THREE commands can display the current CPU utilization statistics on a Linux system?

47

Which THREE commands can show the current system time and date?

48

Based on the exhibit, which process is using the most physical memory (RES)?

49

Based on the exhibit, what is the most likely cause of the blocked task?

50

Based on the exhibit, what happens if the service 'myapp' crashes?

51

To display the current runlevel on a system using SysV init, which command should be used?

52

An administrator wants to schedule a one-time task to run at 2:30 PM next Friday. Which command should be used?

53

A process (PID 1234) is hung and cannot be killed with SIGTERM. To force termination, which signal should be sent?

54

A system administrator needs to find all files that are larger than 100MB in the /var directory. Which command accomplishes this?

55

A production web server is experiencing intermittent high load. The administrator suspects that a specific Apache module is causing memory leaks. Which approach is most effective for isolating the issue without restarting the server?

56

Which command shows the default target for systemd?

57

To permanently mount an ext4 filesystem at /data with noatime option, which entry should be added to /etc/fstab?

58

A system has a RAID 5 array that is degraded. One of the three disks failed and was replaced. The administrator runs 'cat /proc/mdstat' and sees that the array is still degraded. Which command should be used to add the new disk (/dev/sdc1) to the array?

59

An administrator notices that the system clock is drifting significantly. To synchronize time using NTP, which command should be used to immediately sync with a server?

60

Which TWO commands can be used to display the current block devices and their partitions?

61

Which THREE factors can cause a system to fail to boot after changing kernel boot parameters in GRUB?

62

Which TWO commands can be used to view logs for a specific systemd unit (e.g., sshd.service)?

63

Refer to the exhibit. Based on the exhibit, which service is configured to accept connections only from the local machine?

64

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

65

An e-commerce company runs a critical application on a Linux server that occasionally becomes unresponsive. The server has 64GB RAM and runs a Java application. The operations team notices that during peak hours, the system becomes very slow and eventually the application crashes with 'OutOfMemoryError'. After restart, it works fine for a while. They suspect a memory leak but also want to ensure the system does not go down during peak hours. The system uses systemd to manage the Java service. The administrator needs to implement a solution that: (1) automatically restarts the service if it becomes unresponsive, (2) limits the memory usage of the service to prevent OOM kills on the system, and (3) provides early warning of high memory usage. Which of the following approaches best meets these requirements?

66

A junior admin runs 'systemctl restart httpd' but the httpd service fails to start. Which command should the admin use first to diagnose the problem?

67

During boot, the system drops into a shell with message 'ERROR: No suitable file system found'. Filesystem corruption is suspected. Which sequence of actions should the admin take to attempt recovery?

68

A system running RHEL 8 experiences intermittent crashes. After reboot, 'journalctl -p err -b -1' outputs: 'PID 1234 (myapp) ended due to signal: KILL'. Which diagnostic step should the administrator perform next?

69

Which TWO commands can be used to display real-time process resource usage on a Linux system? (Choose two.)

70

Which THREE methods can be used to rescue a Linux system that fails to boot past GRUB? (Choose three.)

71

A system administrator is troubleshooting a production web server running CentOS 7 that became unresponsive. The server is still pingable, but SSH connections timeout. The admin performs an out-of-band console login. The server appears frozen; typing commands shows no output. The admin is able to trigger a Magic SysRq key sequence (Alt+SysRq+f) to kill the hung processes. After that, the server resumes normal operation. However, the admin wants to understand the root cause. Upon checking 'dmesg', they see repeated messages: 'NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s!' followed by stack traces from a kernel thread. Which action should the admin take to prevent recurrence while maintaining system stability?

72

A user reports that a background process (PID 3456) is consuming 95% of CPU and causing system slowness. The process name is 'crypto-miner'. The administrator needs to immediately stop this process and ensure it does not restart. Which set of commands should the administrator execute?

73

An administrator is investigating why the 'tomcat' service fails to start on a RHEL 8 server. The output of 'systemctl status tomcat' shows: 'Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since ... Process: 4567 ExecStart=/opt/tomcat/bin/startup.sh (code=exited, status=1/FAILURE)'. The 'journalctl -u tomcat' shows: 'Error: JAVA_HOME is not defined correctly, cannot execute /usr/lib/jvm/java-11-openjdk/bin/java'. The admin checks /opt/tomcat/bin/startup.sh and sees it references JAVA_HOME. The admin verifies that Java 11 is installed at /usr/lib/jvm/java-11-openjdk. Which action should the admin take to fix the service?

74

A system administrator notices that logrotate did not rotate the /var/log/messages file on a CentOS 7 server despite having a configuration at /etc/logrotate.d/syslog. The admin runs 'logrotate -d /etc/logrotate.conf' and sees that the syslog file is excluded due to 'olddir' option, but the olddir does not exist. Additionally, the logrotate status file (/var/lib/logrotate/logrotate.status) shows that /var/log/messages was last rotated 30 days ago. The logrotate cron job is scheduled daily. What is the most likely reason the rotation fails?

75

A developer reports that a custom daemon fails to start after a reboot. The daemon's unit file is located in /etc/systemd/system/custom.service. Which of the following is the most likely cause?

76

Which TWO commands can be used to check and repair an ext4 file system that is mounted as /data? (Choose two.)

77

Based on the exhibit, what is the most likely cause of the nginx failure and the appropriate first step to resolve it?

Practice all 77 Operation of Running Systems questions

Other LFCS exam domains

User and Group ManagementEssential CommandsNetworkingService ConfigurationStorage Management

Frequently asked questions

What does the Operation of Running Systems domain cover on the LFCS exam?

The Operation of Running Systems domain covers the key concepts tested in this area of the LFCS exam blueprint published by Linux Foundation. Courseiva provides free domain-focused practice, mock exams, missed-question review, and readiness tracking across all LFCS domains — no account required.

How many Operation of Running Systems questions are in the LFCS question bank?

The Courseiva LFCS question bank contains 77 questions in the Operation of Running Systems domain. Click any question to see the full explanation and answer breakdown.

What is the best way to practice Operation of Running Systems for LFCS?

Start with a 10-question focused session to identify your baseline accuracy in this domain. Read every explanation — even for questions you answer correctly — to understand the reasoning. Once you score consistently above 80%, move to a 20–30 question session to confirm depth before moving to the next domain.

Can I practice only Operation of Running Systems questions for LFCS?

Yes — the session launcher on this page draws questions exclusively from the Operation of Running Systems domain. Choose 10, 20, 30, or 50 questions for a focused session, or click individual questions to review them one by one.

Free forever · No credit card required

Track your LFCS domain progress

Save your results, see per-domain analytics, and get readiness scores — free, for every certification.

Sign Up Free

Free forever · Every certification included

Practice Session

10 questions20 questions30 questions50 questions

Study Resources

All DomainsPractice TestMock ExamFlashcardsStudy Guide