Pass4itsure > Linux Foundation > Linux Foundation Certified SYSADMIN > LFCS > LFCS Online Practice Questions and Answers

LFCS Online Practice Questions and Answers

Questions 4

Which of the following commands shows the definition of a given shell command?

A. where

B. stat

C. type

D. case

Buy Now
Questions 5

On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)

A. /etc/shadow

Buy Now
Questions 6

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

A. shutdown -r now

B. shutdown -r "rebooting"

C. telinit 6

D. telinit 0

E. shutdown -k now "rebooting"

Buy Now
Questions 7

Which shell command is used to continue background execution of a suspended command?

A. and

B. bg

C. cont

D. exec

E. :and

Buy Now
Questions 8

Which of the following commands can remove a user from a group?

A. grouprm

B. groupmod

C. passwd

D. usergroups

E. usermod

Buy Now
Questions 9

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

A. run

B. bg

C. fg

D. back

Buy Now
Questions 10

Which of the following commands is used to rotate, compress, and mail system logs?

A. rotatelog

B. striplog

C. syslogd --rotate

D. logrotate

E. logger

Buy Now
Questions 11

Which command will display the last line of the file foo.txt?

A. head -n 1 foo.txt

B. tail foo.txt

C. last -n 1 foo.txt

D. tail -n 1 foo.txt

Buy Now
Questions 12

What word is missing from the following SQL statement?

__________ count(*) from tablename;

(Please specify the missing word using lower-case letters only.)

A. select

Buy Now
Questions 13

Which of the following is correct when talking about mountpoints?

A. Every existing directory can be used as a mount point.

B. Only empty directories can be used as a mount point.

C. Directories need to have the SetUID flag set to be used as a mount point.

D. Files within a directory are deleted when the directory is used as a mount point.

Buy Now
Exam Code: LFCS
Exam Name: Linux Foundation Certified System Administrator
Last Update: May 03, 2024
Questions: 260
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99