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

LFCS Online Practice Questions and Answers

Questions 4

What information can the lspci command display about the system hardware? (Choose THREE correct answers.)

A. Device IRQ settings

B. PCI bus speed

C. System battery type

D. Device vendor identification

E. Ethernet MAC address

Buy Now
Questions 5

When running the command

sed -e "s/a/b/" /tmp/file >/tmp/file

While /tmp/file contains data, why is /tmp/file empty afterwards?

A. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.

B. The command sed did not match anything in that file therefore the output is empty.

C. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading.

D. Redirection for shell commands do not work using the > character. It only works using the | character instead.

Buy Now
Questions 6

Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

A. usermod

B. passwd

C. chattr

D. chage

E. chsh

Buy Now
Questions 7

What command will generate a list of user names from /etc/passwd along with their login shell?

A. column -s : 1,7 /etc/passwd

B. chop -c 1,7 /etc/passwd

C. colrm 1,7 /etc/passwd

D. cut -d: -f1,7 /etc/passwd

Buy Now
Questions 8

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

A. local7

B. mail

C. advanced

D. postmaster

E. remote

Buy Now
Questions 9

Which file used by XDM specifies the default wallpaper?

A. /etc/X11/xdm/Xsetup

B. /etc/X11/xdm.conf

C. /etc/X11/xdm/Defaults

D. /etc/X11/defaults.conf

Buy Now
Questions 10

What is the output of the following command sequence?

for token in a b c; do

echo -n "$token ";

done

A. anbncn

B. a b c

C. "a " "b " "c "

D. token token token

E. abc

Buy Now
Questions 11

Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)

A. up

Buy Now
Questions 12

Which of the following commands will set the variable text to olaf is home?(Choose two)

A. text=olaf\ is\ home

B. text=$olaf is home

C. $text='olaf is home'

D. text=='olaf is home'

E. text="olaf is home"

Buy Now
Questions 13

Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

A. sshd

B. ssh-agent

C. ssh-keygen

D. ssh-add

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

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99