Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free LINUX FOUNDATION CERTIFIED SYSTEM ADMINISTRATOR LFCS Exam Questions

Page: 1 / 18 Total 260 questions

Want more questions? Get Premium Access.

Question 1

Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

Correct Answer: A. swapoff, /sbin/swapoff

Question 2

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: B. The script file must be found in the $PATH.; C. The script file must have the executable permission bit set.; D. The script must begin with a shebang-line (#!) that points to the correct interpreter.

Question 3

Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)

Correct Answer: A. uptime; C. top

Question 4

Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)

Correct Answer: A. 2001:db8::15 www.example.com www; C. 203.0.113.15 www.example.com www

Question 5

What is the default nice level when a process is started using the nice command?

Correct Answer: B. 10

Question 6

Which of the following is true about IPv6?

Correct Answer: B. IPv6 no longer supports broadcast addresses.

Question 7

What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)

Correct Answer: A. l

Question 8

What does the command mount -a do?

Correct Answer: D. It mounts all filesystems listed in /etc/fstab which have the option auto set.

Question 9

In which directory must definition files be placed to add additional repositories to yum?

Correct Answer: A. /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/

Question 10

Which of the following is a valid IPv6 address?

Correct Answer: A. 2001:db8:3241::1

Question 11

Which file inside the CUPS configuration directory contains the definition of the printers?

Correct Answer: D. printers.conf

Question 12

What is true regarding the command sendmail?

Correct Answer: B. All MTAs, including Postfix and Exim, provide a sendmail command.

Question 13

Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)

Correct Answer: B. systemd; C. Upstart; E. SysV init

Question 14

What happens after issuing the command vi without any additional parameters?

Correct Answer: D. vi starts in command mode and opens a new empty file.

Question 15

Which of the following file permissions belong to a symbolic link?

Correct Answer: C. lrwxrwxrwx