Skip to main content
Linux Foundation ⭐ Premium

Linux Foundation Certified System Administrator (LFCS) - 340 Questions

By Webmaster Certland English ❤️ 0 likes

Practice exam for the Linux Foundation Certified System Administrator (LFCS) certification. Covers Operations Deployment, Networking, Storage, Essential Commands, and Users and Groups. Validates Linux system administration skills including systemd, containers, LVM, networking, and security.

🔒

Premium Content

This exam is exclusive to Premium users. Upgrade to get unlimited access!

Become Premium

👁️ Free Preview (5 of 340 questions)

1. A Linux administrator wants to permanently set the kernel parameter `net.ipv4.ip_forward` to `1` so that it persists across reboots. Which file should be edited to achieve this?

A /proc/sys/net/ipv4/ip_forward
B /etc/sysctl.conf
C /etc/rc.local
D /etc/modules

2. A system administrator has added the line `vm.swappiness=10` to `/etc/sysctl.conf`. Which command should be run to apply this change immediately without rebooting the system?

A sysctl --reload
B sysctl -a
C sysctl -p
D sysctl -w vm.swappiness=10

3. A Linux administrator needs to temporarily disable IPv6 on a running server without editing any configuration files. The change must take effect immediately but does not need to survive a reboot. Which command accomplishes this?

A sysctl -w net.ipv6.conf.all.disable_ipv6=1
B modprobe -r ipv6
C ip6tables -F
D echo 'net.ipv6.conf.all.disable_ipv6=1' >> /etc/sysctl.conf && sysctl -p

4. A production server is experiencing high memory pressure. The administrator wants to make the kernel less aggressive about swapping by setting `vm.swappiness=5` and simultaneously wants to increase the inotify watch limit to `524288` by setting `fs.inotify.max_user_watches=524288`. Both changes must survive reboots. Additionally, the admin wants to place the settings in a separate file under `/etc/sysctl.d/` instead of modifying `/etc/sysctl.conf` directly. Which approach is correct?

A Append both parameters to /etc/sysctl.conf and run sysctl -p
B Run sysctl -w for both parameters; they will persist because sysctl writes to /etc/sysctl.d/ automatically
C Create /etc/sysctl.d/99-custom (no extension) with both parameters and run sysctl --system
D Create /etc/sysctl.d/99-custom.conf with both parameters and run sysctl --system

5. A junior administrator needs to view all currently running processes on a Linux system, including those owned by other users, in a full-format listing. Which command provides this output?

A ps
B ps aux
C top
D ps -e

Want to test yourself for real?

Create a free account and run our exam simulation engine.

Free No credit card
  • Simulation engine
  • Up to 10 questions per attempt
  • Score & basic stats
Create free account Already have an account? Sign in
Best
Premium Premium
  • All 340 questions
  • Detailed explanations
  • Smart Practice + Focus Mode
⭐ Get Premium

Discussion

No comments yet. Be the first to start the discussion!

Sign in to join the discussion.