LFCS Practice Questions: Domain Sample Task
LFCS Practice Questions: Domain Sample Task
LFCS Practice Questions: Domain Sample Task
This document is designed to help Candidates prepare for the Linux Foundation Certified
System Administrator (LFCS) exam. The document does not include answers.
The document is not meant to be inclusive of all exam topics, but rather to encourage further
study and practice. The sample tasks provided will not appear on the LFCS exam.
To familiarize yourself with the format and types of tasks candidates are requested to perform,
we recommend you attempt these sample tasks on a Linux CLI system, using a distribution
supported by the exam. Please check the F andidate Handbook for distributions currently
AQ or C
supported by the exam .
Operation of Running System Create a bash shell script named certscript.sh under
/home/student/apps/.
Operation of Running System Alter the init boot sequence so that the rc.local or
boot.local script (depending on the distribution that you have
selected) is executed at boot time.
User & Group Management Linux administrators are responsible for the creation, deletion,
and the modification of groups, as well as the group membership.
Complete the following tasks to demonstrate your ability to create
and manage groups and group membership:
User & Group Management Create a candidate user account with the password cert456.
Modify the sudo configuration to let the candidate account
access root privileges with no password prompt.
User & Group Management Configure the system so that an empty NEWS file is automatically
created in the home directory of any new user.
User & Group Management Create a new user account with the following attributes:
● Username is harry.
● Password is magic.
● This user’s home directory is defined as
/home/school/harry/.
● This new user is a member of the existing students
group.
● The /home/school/harry/binaries/ directory is
part of the PATH variable.
User & Group Management Create a user account with username sysadmin with the
following attributes:
User & Group Management Ensure that all users can invoke the last command and access
a list of users who previously logged in.
User & Group Management Correct the projectadmin user account so that logins are
possible using the password _onetime43_. Set the home
User & Group Management Alter the devel user account so that it can log into the system
with a working bash shell environment.
Networking Find the name of the service which uses TCP port 2605, as
documented in /etc/services, and write the service name to
the file /home/student/port-2605.txt. Find all of the ports
used for TCP services IMAP3 and IMAPS, again as documented
in /etc/services, and write those port numbers to the file
/home/student/imap-ports.txt.
Storage Management The following tasks may be achieved using the user student’s
sudo privileges:
Storage Management Configure the swap partition /dev/xvdi1 so that it does not*
become attached automatically at boot time.
Storage Management Configure the system so that the existing filesystem that
corresponds to /staging gets persistently mounted in read-only
mode.
Essential Commands Working with archives and compressed files is an integral part of
the System Administrator’s job.