Linux Foundation Certified System Administrator v5.0 (LFCS)

Page:    1 / 18   
Total 260 questions

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

  • A. -10
  • B. 10
  • C. 20
  • D. 0


Answer : B

What is the purpose of a screen reader?

  • A. It reads text displayed on the screen to blind or visually impaired people.
  • B. It reads the parameters of the attached monitors and creates an appropriate X11 configuration.
  • C. It displays lines and markers to help people use speed reading techniques.
  • D. It manages and displays files that contain e-books.


Answer : A

After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)



Answer : newaliases, sendmail -bi

During a system boot cycle, what program is executed after the BIOS completes its tasks?

  • A. The bootloader
  • B. The inetd program
  • C. The init program
  • D. The kernel


Answer : A

Which signal is missing from the following command that is commonly used to instruct adaemon to reinitialize itself, including reading configuration files? killall -s _______ daemon



Answer : HUP, SIGHUP, 1

How can the existing environment variable FOOBAR be suppressedfor the execution of the script./myscript only?

  • A. unset -v FOOBAR;./myscript
  • B. set -a FOOBAR="";./myscript
  • C. env -u FOOBAR./myscript
  • D. env -i FOOBAR./myscript


Answer : C

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

  • A. 2001:db8::15 www.example.com www
  • B. www.example.com www 203.0.13.15
  • C. 203.0.113.15 www.example.com www
  • D. www.example.com,www 203.0.13.15,2001:db8::15
  • E. 2003.0.113.15,2001:db8::15 www.example.com www


Answer : A,C

Which of the following are syslog facilities? (Choose TWO correct answers.)

  • A. local7
  • B. mail
  • C. advanced
  • D. postmaster
  • E. remote


Answer : A,B

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)



Answer : /usr/share/zoneinfo/

What output will the following command produce?
seq 1 5 20

  • A. 1
  • B. 1
  • C. 1
  • D. 2
  • E. 5


Answer : A

What is true about the ntpdate command?

  • A. It is the primary management command for the NTP time server.
  • B. It updates the local system's date (i.e. day, month and year) but not the time (i.e. hours, minutes, seconds).
  • C. It queries one or more NTP time servers and adjusts the system time accordingly.
  • D. It sends the local system time to one or many remote NTP time servers for redistribution.
  • E. It can be used by any user to set the user clock independently of the system clock.


Answer : C

Which of the following commands moves and resumes in the background the last stopped shell job?

  • A. run
  • B. bg
  • C. fg
  • D. back


Answer : B

With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)



Answer : DISPLAY, $DISPLAY

Which of the following commands prints a listof usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

  • A. fmt -f 1,4 /etc/passwd
  • B. split -c 1,4 /etc/passwd
  • C. cut -d : -f 1,4 /etc/passwd
  • D. paste -f 1,4 /etc/passwd


Answer : C

Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)



Answer : /etc/at.deny

Page:    1 / 18   
Total 260 questions