Free daily set, then full-bank Pro when you want more
Question 1 of 10
Objective 1.5Operations Deployment
What is the purpose of a crontab file in Linux?
Correct Answer: B. To schedule tasks
Concept tested: Operations Deployment
A. × Incorrect: Crontab files are not used for managing user accounts.
B. ✓ Correct: Crontab files are used to schedule tasks for execution at specified times.
C. × Incorrect: Network settings are typically configured using other tools and commands, not crontab.
D. × Incorrect: System services are defined in different configuration files, not crontab.
Why this matters:This matters because understanding crontab's purpose helps automate routine tasks efficiently.
Question 2 of 10
Objective 5.4Users and Groups
Which file is typically used for personal initialization of the bash shell?
Correct Answer: B. ~/.bash_profile
Concept tested: Users and Groups
A. × Incorrect: It is a system-wide initialization file for all users.
B. ✓ Correct: ~/.bash_profile is a personal initialization file for individual users.
C. × Incorrect: It is used for shell configuration and customizations, not initializations.
D. × Incorrect: It does not exist; the closest equivalent is /etc/profile.
Why this matters:This matters because understanding user-specific configurations ensures personalized environment setups without affecting others.
Question 3 of 10
Objective 2.14Networking
When configuring an NGINX server as a reverse proxy, which directive should be used to specify the backend server that will receive requests?
Correct Answer: D. proxy_pass
Concept tested: Networking
A. × Incorrect: 'backend_server' is not a valid NGINX directive for reverse proxy configurations.
B. × Incorrect: 'upstream_service' refers to the group of backend servers but does not specify which server should receive requests.
C. × Incorrect: 'forward_proxy' is used in forward proxy setups, not reverse proxies.
D. ✓ Correct: 'proxy_pass' specifies the URL of the backend server that will receive client requests.
Why this matters:This matters because understanding how to correctly configure NGINX for reverse proxying ensures efficient and secure traffic routing.
Keep the momentum
You're 3 questions in. Want the full bank?
Unlock the full question set, timed exam mode, practice mode, saved progress, previous tests, and readiness scoring.
125 more questions, timed exam mode, and saved history are waiting in the full unlock.
Pro is active. Use the full bank, Exam mode, and saved box scores when you want deeper review.
Question 4 of 10
Objective 4.8Essential Commands
Which tar option is used to extract files with the same ownership as exists in the archive, by default for superusers?
Correct Answer: A. --same-owner
Concept tested: Essential Commands
A. ✓ Correct: It allows for files to retain their original ownership during extraction.
B. × Incorrect: Specifies that only a single directory should be created for the extracted files, not related to ownership.
C. × Incorrect: It is a general option used to extract files from an archive, but does not specify ownership retention.
D. × Incorrect: It is used to remove files specified in the archive, unrelated to ownership during extraction.
Why this matters:This matters because the wrong choice changes how technicians or teams configure, troubleshoot, or support --same-owner.
Question 5 of 10
Objective 3.8Storage
Which option restricts the root user's access by mapping it to an unprivileged user ID on the NFS server?
Correct Answer: B. root_squash
Concept tested: Storage
A. × Incorrect: All_squash maps all users to anonymous users, not just root.
B. ✓ Correct: Root_squash restricts access for the root user by mapping it to an unprivileged user ID on the NFS server.
C. × Incorrect: No_root_squash allows the root user from the client to map to the root user on the server, which does not enforce security compliance.
D. × Incorrect: Anonuid sets a specific UID for anonymous users but does not restrict root access.
Why this matters:NFS export security depends on knowing which option removes root privileges from client requests versus which ones keep them.
Question 6 of 10
Objective 1.13Operations Deployment
When running a container with podman run, which file is created to indicate the container environment?
Correct Answer: B. /run/.containerenv
Concept tested: Create and run containers with podman run
A. × Incorrect: /etc/hosts because it manages networking but does not indicate the container environment.
B. ✓ Correct: /run/.containerenv because it contains name/value pairs indicating the container engine version, whether running in rootless mode, and more.
C. × Incorrect: /var/run/resolv.conf because this file is related to DNS settings rather than identifying the container environment.
D. × Incorrect: /etc/netns/NSNAME because it pertains to network namespace configuration files.
Why this matters:This matters because understanding which files are created by podman run helps in managing and debugging container environments effectively.
Question 7 of 10
Objective 5.7Users and Groups
Which command displays the access control lists (ACLs) of a file on a Linux system that supports ACLs?
Correct Answer: B. getfacl
Concept tested: Users and Groups
A. × Incorrect: Lists file permissions but does not display ACLs.
B. ✓ Correct: Getfacl specifically retrieves and displays the ACLs of a file.
C. × Incorrect: Changes mode bits, not displaying ACLs.
D. × Incorrect: It manages ownership, not showing ACL information.
Why this matters:Security teams rely on this distinction when choosing the right protection or response for the risk in front of them.
Question 8 of 10
Objective 2.4Networking
Which command listed in the virsh manual is related to managing virtual machines?
Correct Answer: B. virsh
Concept tested: Networking
A. × Incorrect: Ping is not listed in the virsh manual and it is unrelated to managing virtual machines.
B. ✓ Correct: Virsh is a management user interface for libvirt, which is used to manage virtual machines.
C. × Incorrect: Traceroute is not listed in the virsh manual and it is unrelated to managing virtual machines.
D. × Incorrect: Netstat is not listed in the virsh manual and it is unrelated to managing virtual machines.
Why this matters:This matters because the wrong choice changes how technicians or teams configure, troubleshoot, or support virsh.
Question 9 of 10
Objective 4.3Essential Commands
When running a command in a new container with podman, which of the following files is automatically created within the container?
Correct Answer: B. run containerenv
Concept tested: Essential Commands
A. × Incorrect: While etc hosts is created, it's not the correct answer for this question.
B. ✓ Correct: A container environment file is created in each container to indicate that programs are running in a container.
C. × Incorrect: C is incorrect but relevant as var run containerenv is used for FreeBSD containers, which doesn't apply universally.
D. × Incorrect: It's only used if the etc netns nsname resolv conf exists within a user-defined network namespace.
Why this matters:Understanding what files are automatically created in a container helps manage and configure system tasks according to their needs.
Question 10 of 10
Objective 3.3Storage
Which option in lvcreate is used to specify allocation policy for a new logical volume?
Correct Answer: C. --alloc contiguous
Concept tested: Storage
A. × Incorrect: It does not specify an allocation policy.
B. × Incorrect: --addtag is used to add tags to logical volumes, not set allocation policies.
C. ✓ Correct: --alloc contiguous sets the allocation policy for a new logical volume.
D. × Incorrect: It is used to activate a logical volume after creation, not set an allocation policy.
Why this matters:This matters because understanding allocation policies ensures efficient storage utilization and performance optimization in real-world scenarios.
Free preview complete
You've reached the free preview.
Go beyond sample questions with the full source-backed bank, objective practice, exam mode, saved progress, and readiness scoring.
135 verified questions are ready behind the full unlock.
Pro is active. Use the full bank, readiness score, and saved exams when you want deeper reps.
Ready to finish?Answer the questions, then submit your test for review.
Go Pro
Unlock the full LFCS bank.
Get the full source-backed bank, timed exam mode, practice mode, saved progress, previous tests, and readiness scoring for this exam.
135 full-bank questionsEvery choice explainedExam Mode and Practice ModeQuestion sets and random testsReadiness score and trendsPrevious test box scores
You've answered 0/10 free questions today.
Locked: 125 more questions in the full bank.
Locked: exam simulation mode and end-of-exam review.
Today's free set refreshes soon. Upgrade to continue with the full bank.
Box scores, domain breakdowns, and full answer explanations for Pro exam attempts on this browser.
Today’s Set
10 questions
Daily set rotates at 10:00 AM local time
Progress
0/10
Answered on this page session
Accuracy
0%
Loading countdown…
7-day score keeper
Answer questions today and this will become a rolling 7-day scorecard.
Local history
Optional progress sync
Keep today’s practice moving
Guest progress saves automatically on this device. Add an email later when you want a magic link that keeps your daily LFCS practice in sync across browsers.
Guest progress saves on this device automatically
135 verified questions are currently in the live bank. Questions updated at May 12, 2026, 10:57 AM CDT. The daily set rotates at 10:00 AM local time, and each explanation links back to the source used to write it. Use the web set for quick practice, then switch to the app when available for larger banks and deeper review.
Careers and fields this exam supports
LFCS fits admin-oriented roles where Linux fluency is the job, not just a side skill buried under a cloud platform.
Role examples: Linux administrator, systems administrator, infrastructure support engineer, and DevOps starter.
Where it shows up: Linux operations, server administration, infrastructure support, and cloud foundations.
On-the-job payoff: command-line troubleshooting, service management, networking, and permissions are central to the role.
Typical next step: It usually strengthens CKA, Terraform, and broader cloud-operations tracks.
The fastest path is simple: answer the set, review the reasoning, then use the score history and source links to decide what to hit next.
Answer the free set first without looking anything up so the score reflects what is actually sticking.
Read every explanation, especially the wrong answer choices, so the weaker options stop looking plausible next time.
Open the linked source when a concept feels weak, then come back and repeat the question flow while the wording is fresh.
Use the 7-day score keeper, related cert links, and comparison pages to decide what to study next instead of guessing.
Move into Pro when you want the full bank, timed reps, readiness tracking, and previous-test review.
Official exam resources
Use these official Linux Foundation resources alongside the daily practice set. They cover the provider's own exam page, study guide, or prep material.
dotCreds builds LFCS practice questions from Linux Foundation documentation and source-backed references, with official or primary sources preferred first. The questions are written for realistic study practice, not copied from exam dumps.
How are explanations sourced?
Each question includes a source-backed explanation and a link to the documentation or reference used to validate the answer. If an official page is too broad, dotCreds uses a reputable answer-level reference instead of pretending a generic page proves the answer.
What score do I get?
The page tracks today's answered count and accuracy for the 10-question daily set, then saves a 7-day score history on this device so you can see your recent practice trend.
Why use this site?
The site is the fastest way to start LFCS practice without installing anything. It is built for daily recall, quick weak-topic discovery, and source-backed explanations you can review immediately.
Why use the app when available?
The web page is the quick free sampler. If a dotCreds app is available for LFCS, the app is better for larger banks, focused weak-domain drills, longer review sessions, and mobile study routines.
Related practice tests
If you want another cert after LFCS, these pages keep the same daily-question format with source-backed explanations.