Linux Foundation Certified System Administrator - LFCS Exam Practice Test
CORRECT TEXT
The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)
The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)
Correct Answer:
/usr/share/zoneinfo/
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
Correct Answer: A,B,E
Vote an answer
CORRECT TEXT
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
Correct Answer:
menu .lst, grub.conf, grub.cfg
What is the correct command to extract the contents of the archive file download.bz2?
Correct Answer: A
Vote an answer
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
Correct Answer: B,C
Vote an answer
Whichof the following commands displays the contents of a gzip compressed tar archive?
Correct Answer: A
Vote an answer
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
Correct Answer: E
Vote an answer
What is the effect of the egrep command when the -v option is used?
Correct Answer: D
Vote an answer
CORRECT TEXT
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)
Correct Answer:
groupadd, /usr/sbin/groupadd
Which of the following statements is valid in the file /etc/nsswitch.conf?
Correct Answer: A
Vote an answer
CORRECT TEXT
Which option to the yum command will update the entiresystem? (Specify ONLY the option name without any additional parameters.)
Which option to the yum command will update the entiresystem? (Specify ONLY the option name without any additional parameters.)
Correct Answer:
update, upgrade
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
Correct Answer: D
Vote an answer
CORRECT TEXT
In which directory must definition files be placed to add additional repositories to yum?
In which directory must definition files be placed to add additional repositories to yum?
Correct Answer:
/etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/
When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?
Correct Answer: E
Vote an answer