Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Download Full Version LFCS Linux Foundation Exam

Page: 4 / 9
Question 16

Which of the following statements is valid in the file /etc/nsswitch.conf?

Options:

A.

multi on

B.

192.168.168.4 dns-server

C.

hosts: files dns

D.

include /etc/nsswitch.d/

Question 17

Which of the following steps prevents a user from obtaining an interactive login session?

Options:

A.

Run the command chsh -s /bin/false with the user name.

B.

Set the UID for the user to 0.

C.

Remove the user from the group staff.

D.

Add the user to /etc/noaccess.

E.

Create a .nologin file in the user's home directory.

Question 18

After issuing:

function myfunction { echo $1 $2 ; }

in Bash, which output does:

myfunction A B C

Produce?

Options:

A.

A B

B.

A B C

C.

A C

D.

B C

E.

C B A

Question 19

Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

Options:

A.

resolv

B.

dns

C.

remote

D.

files

E.

hosts

Page: 4 / 9
Exam Code: LFCS
Exam Name: Linux Foundation Certified System Administrator
Last Update: Nov 23, 2024
Questions: 260
LFCS pdf

LFCS PDF

$25.5  $84.99
LFCS Engine

LFCS Testing Engine

$28.5  $94.99
LFCS PDF + Engine

LFCS PDF + Testing Engine

$40.5  $134.99