Leads4pass > 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 is used to change options and positional parameters for a runningBash?

A. history

B. set

C. bashconf

D. setsh

E. envsetup

Buy Now
Questions 5

Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and withoutany trailing spaces, is reached?

A. <<

B. <|

C. !<

D. and<

Buy Now
Questions 6

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

Buy Now
Questions 7

Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)

A. 0077, 077

Buy Now
Questions 8

Which of the following programs can be used to determine the routing path to a given destination?

A. dig

B. netstat

C. ping

D. route

E. traceroute

Buy Now
Questions 9

Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)

A. /etc/cups, /etc/cups/

Buy Now
Questions 10

Which of the following commands puts the output of the command date into the shell variable mydate?

A. mydate="$(date)"

B. mydate="exec date"

C. mydate="$((date))"

D. mydate="date"

E. mydate="${date}"

Buy Now
Questions 11

Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?

A. File size

B. Modify timestamp

C. Link count

D. Inode number

E. Permissions

Buy Now
Questions 12

Which file should be edited to select the network locations from which Debian installation package files are loaded?

A. /etc/dpkg/dpkg.cfg

B. /etc/apt/apt.conf

C. /etc/apt/apt.conf.d

D. /etc/apt/sources.list

E. /etc/dpkg/dselect.cfg

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: Dec 18, 2024
Questions: 260
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99