LFCS

LFCS Linux Administration practice exams

290 questions in 5 timed practice tests. Each test has about 60 questions and a 90-minute limit. The pass mark is 67%. Results are split across the 5 exam domains.

Exam at a glance

LFCS practice exam settings
Practice tests 5
Questions in total 290
Questions per test About 60
Time limit per test 90 minutes
Pass mark 67%
Question types Single answer and multiple answer (24 multiple-answer questions)
Level Associate
Category DevOps & Cloud Native

These are the settings of our practice tests. Check the official Linux Foundation exam page for the current exam format before you book.

Domains and weights

LFCS exam domains, weights and question counts
Domain Weight Weight bar Questions in our bank
Operations Deployment 25% 72
Networking 25% 73
Storage 20% 58
Essential Commands 20% 58
Users and Groups 10% 29

Sample questions

Question 1 of 3

A host sets net.bridge.bridge-nf-call-iptables = 1 in /etc/sysctl.d/k8s.conf, but after each reboot the key is missing and sysctl reports it unknown until br_netfilter is loaded manually. What is the correct persistent fix?

  1. A Move the setting to /etc/sysctl.conf so it is applied later in the boot sequence
  2. B Add options br_netfilter enable=1 to a file in /etc/modprobe.d/ and run depmod -a
  3. C Add bridge-nf-call-iptables=1 to the kernel command line with grubby on every kernel
  4. D Add br_netfilter to a file in /etc/modules-load.d/ so the module loads at boot (correct answer)
Why: The key exists only after br_netfilter is loaded, and modules listed in modules-load.d are loaded early by systemd-modules-load, so the sysctl applies afterwards (systemd also reapplies settings for modules it loads). Moving the setting to another sysctl file does not load the module. The setting is not a kernel boot parameter. modprobe.d options apply only when something loads the module, and br_netfilter has no enable parameter.

Question 2 of 3

A rootless Podman user runs podman run -p 80:8080 and gets a permission error binding host port 80. Policy allows unprivileged services to use ports from 80 upwards on this host. Which change fixes this persistently?

  1. A Add --cap-add=NET_BIND_SERVICE to the podman run command so the container can bind port 80
  2. B Add --privileged to the podman run command so the container gets all capabilities on the host
  3. C Set net.ipv4.ip_unprivileged_port_start = 80 in a file under /etc/sysctl.d/ and apply it (correct answer)
  4. D Run setsebool -P container_manage_cgroup on so the rootless container can bind low ports
Why: Unprivileged users cannot bind ports below net.ipv4.ip_unprivileged_port_start, which defaults to 1024, so lowering it to 80 lets the rootless port forwarder bind port 80. Capabilities granted to the container apply inside its user namespace and do not let the host-side process bind a privileged port. --privileged does not grant real host root rights to a rootless container. The cgroup boolean is unrelated to port binding.

Question 3 of 3

You reset the root password of a RHEL 9 system by booting with rd.break, remounting /sysroot read-write, running chroot /sysroot and passwd. SELinux is enforcing. What must you do before rebooting so logins keep working?

  1. A Run restorecon -Rv / outside the chroot so the shadow file keeps its old label
  2. B Run grub2-mkconfig -o /boot/grub2/grub.cfg so that rd.break is removed again
  3. C Run setenforce 0 inside the chroot so that the new password is accepted at boot
  4. D Run touch /.autorelabel inside the chroot so file contexts are restored at boot (correct answer)
Why: passwd in the rescue environment rewrites /etc/shadow without a proper SELinux label, and /.autorelabel triggers a relabel on the next boot so authentication can read it. setenforce does nothing in the initramfs chroot and is not persistent. restorecon outside the chroot runs against the initramfs, not the real root. rd.break was added only for one boot from the GRUB editor, so regenerating grub.cfg is unnecessary.

What your score report looks like

Example attempt, LFCS practice test 3

77%

Passed
Pass mark 67%

Score by exam domain
DomainWeightYour score%
Operations Deployment 25%
88
Networking 25%
81
Storage 20%
76
Essential Commands 20%
58
Users and Groups 10%
84

Study next: Essential Commands. It is below the pass mark and carries 20% of the exam.

Domains and pass mark from our LFCS practice tests. Scores are an example attempt.

Study plans

Two weeks

  1. Day 1: take practice test 1 in exam mode to get a baseline.
  2. Days 2 to 5: domain mode on Operations Deployment and Networking, the two most heavily weighted domains.
  3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
  4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
  5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

Four weeks

  1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
  2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
  3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
  4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

Questions about the LFCS practice exams

Are these real LFCS exam questions?
No. We write every question ourselves and map it to the published LFCS exam objectives. We do not use leaked or recalled questions.
Do the time limit and pass mark match the official exam?
They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
Can I try it before I pay?
Yes. The free mini exam has 15 questions with full explanations and needs no account.
How long do I keep access?
A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
What happens after I finish a test?
You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026. Written and reviewed by the DevOpsCode Lab team.

DevOpsCode Lab is not affiliated with Linux Foundation. LFCS and related names are trademarks of their owners.

Related exams
Exam Vendor Level Questions Minutes Price
010-160LPI Linux Essentials 010-200 LPI Foundational 200 60 $9.99
GH-900GitHub Foundations GH-900 GitHub Foundational 300 100 $9.99
AT0-001CompTIA AutoOps+ AT0-001 CompTIA Associate 300 60 $12.99
CAPAArgo CAPA CNCF Associate 300 90 $12.99
CKACertified Kubernetes Administrator (CKA) CNCF Associate 300 120 $12.99
CKADCKAD CNCF Associate 300 120 $12.99