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)
Correct Answer:
/usr/share/zoneinfo/
After running the command umount /mnt, the following error message is displayed:
umount: /mnt: device is busy.
What is a common reason for this message?
Correct Answer: A
CORRECT TEXT
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)
Correct Answer:
dpkg -reconfigure
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)
Correct Answer: A,B,D
What is the difference between the i and a commands of the vi editor?
Correct Answer: B
What does the exit status 0 indicate about a process?
Correct Answer: B
When running the command sed -e "s/a/b/" /tmp/file >/tmp/file While /tmp/file contains data, why is /tmp/file empty afterwards?
Correct Answer: B
CORRECT TEXT
Which option to the yum command will update the entiresystem? (Specify ONLY the option name without any additional parameters.)
Correct Answer:
update, upgrade
Which of the following commands can be used to create a USB storage media from a disk image?
Correct Answer: E
Which of the following commands moves and resumes in the background the last stopped shell job?
Correct Answer: D
Which RPM command will output the name of the package which supplied the file /etc/exports?
Correct Answer: D
Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)
Correct Answer: A,D
Which of the following shell redirections will write standard output and standard error output to a file named filename?
Correct Answer: D
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
Correct Answer: C
0
0
0
0