Skip to content

LFCS hands-on labs

Labs: Preview

Linux Foundation Certified System Administrator: exam-style tasks on a fresh Linux virtual machine on your own Mac, built and graded by the GoldenKube CLI. Each card shows the domain, the environment it needs, the recommended time and its points; the scenario page has the full task text. Scenarios run on Ubuntu 24.04 LTS, one fresh virtual machine per task; the Linux Foundation does not name the distribution of the exam.

What the LFCS bank covers

The Linux Foundation describes LFCS as "an online, proctored, performance-based test" that "requires solving multiple issues from a command line running Linux", and the candidate instructions say "The exams consist of 17-20 performance-based tasks", each on a designated host where sudo -i gives root. The allowed resources are man pages and the documentation installed by the distribution, with no web documentation. The exam is distribution independent, so GoldenKube picked Ubuntu 24.04 LTS for the labs: every scenario starts from a fresh Ubuntu virtual machine on your Mac, with no Kubernetes on it.

The tasks follow the five official domains: kernel parameters, a crash-looping service, systemd timers and cron, a local package repository, a container run as a service and a registered virtual machine (operations deployment); bonding and bridging, static routes, chrony, OpenSSH hardening, nftables filtering and NAT, and an nginx reverse proxy and load balancer (networking); LVM, growing a volume online, NFS, swap and tmpfs, and repairing a damaged filesystem mounted by autofs (storage); Git, TLS certificates, disk space and a service limited by its file descriptors (essential commands); and users, password ageing, resource limits, ACLs and LDAP accounts through SSSD (users and groups). Disks are loop devices, and the SELinux competency is practised as configuration on an AppArmor host.

The LFCS exam, from the official pages

Questions17-20 performance-based tasks source
Duration (minutes)120 source
Passing score67% source
Price (USD)445 source
Validity (years)2 source
DeliveryOnline, proctored, performance-based source
PrerequisitesNone source
Retake policyOne retake per exam purchase if a passing score is not achieved source
Curriculum versionnot published by the Linux Foundation

Domain coverage

Published scenarios per official LFCS domain, next to the domain's exam weight (checked 2026-10-28 on the official page). 20 published scenarios today.

DomainExam weightPublished scenarios
Operations Deployment25%
5
Networking25%
5
Storage20%
4
Essential Commands20%
4
Users and Groups10%
2

Mock exam mode

goldenkube exam lfcs draws a curriculum-weighted set: 17 tasks in 120 minutes, pass at 67%. Solutions and hints are hidden in exam mode.

Scenarios

20 published scenarios

LFCSEssential CommandsEasy

Git: branch, commit, tag and push

Clone a shared repository as another user, commit a configuration change on a new branch with a given identity, and push the branch and an annotated tag.

Single Linux VM · ~5 min · 8 points

  • git
  • branch
  • commit
  • tag
  • push

goldenkube start lfcs-cmd-001

LFCSEssential CommandsMedium

Create a TLS certificate, serve it with nginx, read another one

Create a private key and a self-signed certificate with subject alternative names, serve HTTPS with it, and read the serial number of an existing certificate.

Single Linux VM · ~7 min · 8 points

  • openssl
  • tls
  • x509
  • certificates
  • nginx

goldenkube start lfcs-cmd-002

LFCSEssential CommandsMedium

Free disk space and stop a CPU hog

Delete large old files selectively, release space held by a deleted but still open log without restarting its service, and find the service burning a CPU.

Single Linux VM · ~6 min · 7 points

  • disk-space
  • find
  • lsof
  • deleted-files
  • top
  • performance

goldenkube start lfcs-cmd-003

LFCSEssential CommandsMedium

Fix a service that needs more file descriptors and less privilege

A service refuses to start because of its open-file limit and running as root; fix it with a systemd drop-in, a dedicated system user and a memory cap.

Single Linux VM · ~7 min · 8 points

  • systemd
  • drop-in
  • limits
  • ulimit
  • journalctl
  • service-user

goldenkube start lfcs-cmd-004

LFCSNetworkingHard

Bond, bridge, IPv4/IPv6 addresses, a static route and name resolution

Build an active-backup bond and a bridge from dummy interfaces, address the bridge with IPv4 and IPv6, add a static route and a hosts entry, all persistent.

Single Linux VM · ~9 min · 9 points

  • bonding
  • bridge
  • ipv6
  • static-route
  • netplan
  • systemd-networkd
  • hosts

goldenkube start lfcs-net-001

LFCSNetworkingEasy

Time synchronisation with chrony and the time zone

Point chrony at two internal time servers only, allow a client network to query it, enable it, and set the system time zone.

Single Linux VM · ~4 min · 6 points

  • chrony
  • ntp
  • time
  • timezone
  • timedatectl

goldenkube start lfcs-net-002

LFCSNetworkingMedium

Harden the OpenSSH server and set up a client profile

Make sshd listen on two ports with key-only logins limited to one group, then give a user a key pair and a host alias that works without prompts.

Single Linux VM · ~7 min · 8 points

  • openssh
  • sshd
  • ssh-keys
  • ssh-config
  • hardening

goldenkube start lfcs-net-003

LFCSNetworkingHard

Packet filtering, port redirection and NAT with nftables

Write a persistent nftables ruleset with a default-drop input chain, a port redirect and source NAT, and track down an unexpected listener.

Single Linux VM · ~8 min · 9 points

  • nftables
  • firewall
  • nat
  • port-redirection
  • ss
  • troubleshooting

goldenkube start lfcs-net-004

LFCSNetworkingMedium

Reverse proxy and load balancer with nginx

Publish two local backends behind one nginx virtual host with round-robin balancing, the original Host header and a status path answered by nginx itself.

Single Linux VM · ~6 min · 7 points

  • nginx
  • reverse-proxy
  • load-balancing
  • upstream
  • http

goldenkube start lfcs-net-005

LFCSOperations DeploymentHard

Kernel parameters and mandatory access control

Persist two sysctl values against a conflicting drop-in, set one runtime-only, confine a binary with AppArmor and prepare an SELinux policy rule.

Single Linux VM · ~9 min · 10 points

  • sysctl
  • kernel-parameters
  • apparmor
  • selinux
  • mac

goldenkube start lfcs-ops-001

LFCSOperations DeploymentMedium

Repair a failing service and re-prioritise a process

A systemd service crash-loops because of its unit file; fix it, enable it, and lower the priority of a running batch process without restarting it.

Single Linux VM · ~7 min · 8 points

  • systemd
  • services
  • troubleshooting
  • processes
  • nice

goldenkube start lfcs-ops-002

LFCSOperations DeploymentEasy

Schedule jobs with a systemd timer and cron

Run a backup script every day at 02:30 through a systemd timer that catches up missed runs, and add a weekday cron job for another user.

Single Linux VM · ~5 min · 7 points

  • systemd-timer
  • cron
  • scheduling
  • jobs

goldenkube start lfcs-ops-003

LFCSOperations DeploymentMedium

Local package repository, pinned install and package verification

Configure a local package repository, install and hold an exact package version, then find and restore a file that was modified after installation.

Single Linux VM · ~7 min · 8 points

  • apt
  • packages
  • repositories
  • dpkg
  • verification

goldenkube start lfcs-ops-004

LFCSOperations DeploymentHard

Run a container as a service and register a virtual machine

Run nginx in a rootful podman container managed by systemd with a read-only bind mount, configure the registry search list, and define an autostarted libvirt domain.

Single Linux VM · ~8 min · 9 points

  • podman
  • containers
  • systemd
  • libvirt
  • virsh

goldenkube start lfcs-ops-005

LFCSStorageMedium

LVM volume group, two logical volumes and persistent mounts

Turn two block devices into a volume group, carve an ext4 and an XFS logical volume, and mount both persistently, one of them by UUID.

Single Linux VM · ~6 min · 8 points

  • lvm
  • ext4
  • xfs
  • fstab
  • mount

goldenkube start lfcs-sto-001

LFCSStorageMedium

Grow a logical volume online and share it over NFS

Extend a mounted logical volume and its filesystem without unmounting it, then export a directory read-only over NFS and mount the export persistently.

Single Linux VM · ~7 min · 8 points

  • lvm
  • lvextend
  • resize2fs
  • nfs
  • exports
  • fstab

goldenkube start lfcs-sto-002

LFCSStorageMedium

Swap file, tmpfs and a device under I/O load

Add a persistent swap file and a size-limited tmpfs, then find the block device under constant write load and stop the service causing it.

Single Linux VM · ~6 min · 8 points

  • swap
  • tmpfs
  • fstab
  • iostat
  • performance

goldenkube start lfcs-sto-003

LFCSStorageHard

Repair a damaged filesystem and mount it on demand

Recover an ext4 filesystem whose primary superblock is destroyed, then make autofs mount it read-only on first access.

Single Linux VM · ~7 min · 8 points

  • e2fsck
  • superblock
  • filesystem-repair
  • autofs
  • automount

goldenkube start lfcs-sto-004

LFCSUsers and GroupsMedium

Users, groups, password ageing, profiles and resource limits

Create a group, a user with fixed IDs, expiry and ageing, a system account, a system-wide and a personal environment variable, and per-group limits.

Single Linux VM · ~6 min · 9 points

  • useradd
  • groupadd
  • chage
  • profile
  • limits
  • pam-limits

goldenkube start lfcs-usr-001

LFCSUsers and GroupsHard

Shared directory with ACLs and LDAP accounts through SSSD

Set up a setgid project directory with access and default ACLs, then make the host resolve users and groups from a local LDAP server through SSSD.

Single Linux VM · ~8 min · 9 points

  • acl
  • setgid
  • ldap
  • sssd
  • nss
  • pam

goldenkube start lfcs-usr-002

How a run works

  1. Install the CLI and Multipass, then run goldenkube doctor.
  2. Sign in with goldenkube login (free account).
  3. Start a scenario with its id; the CLI provisions a fresh cluster and prints the task.
  4. Solve it on the cluster, run goldenkube submit; the result appears on your dashboard.

Grading happens on your machine and is practice feedback, not an official score. Tasks are public; hints, reference solutions and grader internals are not.

Frequently asked questions

Can I run these LFCS labs today?

Not yet. The LFCS scenarios are published and readable here, but the first signed build of the CLI is not on the Homebrew tap, so the catalog is a preview. Running a scenario needs that release and a free account.

Which Linux distribution does the LFCS exam use?

The Linux Foundation does not name one: the LFCS page says the exam "is independent of distribution-specific tasks". GoldenKube runs the labs on Ubuntu 24.04 LTS and words the tasks with tools that behave the same across distributions where it can, such as systemd, nftables, LVM and OpenSSH.

Do the LFCS labs need Kubernetes?

No. LFCS is a Linux administration exam, so each scenario gets one plain Ubuntu virtual machine, built by the same CLI that runs the Kubernetes labs. Extra disks for the storage tasks are loop devices on that machine.

Sources