Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Linux Foundation Certified System Administrator

Last Update 2 hours ago Total Questions : 260

The Linux Foundation Certified System Administrator content is now fully updated, with all current exam questions added 2 hours ago. Deciding to include LFCS practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our LFCS exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these LFCS sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Linux Foundation Certified System Administrator practice test comfortably within the allotted time.

Question # 11

In Bash, inserting 1 > & 2 after a command redirects

A.

standard error to standard input.

B.

standard input to standard error.

C.

standard output to standard error.

D.

standard error to standard output.

E.

standard output to standard input.

Question # 12

What is a purpose of an SSH host key?

A.

It must be sent by any SSH client in addition to a user key in order to identify the client's host.

B.

It provides the server's identity information to connecting SSH clients.

C.

It is the root key by which all user SSH keys must be signed.

D.

It authenticates any user that logs into a remote machine from the key's host.

E.

It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.

Question # 13

Which of the following is a valid IPv6 address?

A.

2001:db8:3241::1

B.

2001::db8:4581::1

C.

2001:db8:0g41::1

D.

2001%db8%9990%%1

E.

2001.db8.819f..1

Question # 14

What is true about the file /etc/localtime?

A.

It is a plain text file containing a string such as Europe/Berlin.

B.

It is created and maintained by the NTP service based on the geolocation of the system's IP address.

C.

It is a symlink to /sys/device/clock/ltime and always contains the current local time.

D.

It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.

Question # 15

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}"

Question # 16

Which of the following shell redirections will write standard output and standard error output to a file named filename?

A.

2 > & 1 > filename

B.

> filename 2 > & 1

C.

1 > & 2 > filename

D.

> > filename

E.

1 & 2 > filename

Question # 17

The presence of what file will temporarily prevent all users except root from logging into the system? (Specify the full name of the file, including path.)

Question # 18

How many fields are in a syntactically correct line of /etc/fstab?

A.

3

B.

4

C.

5

D.

6

E.

7

Question # 19

After issuing:

function myfunction { echo $1 $2 ; }

in Bash, which output does:

myfunction A B C

Produce?

A.

A B

B.

A B C

C.

A C

D.

B C

E.

C B A

Question # 20

Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)

A.

chmod +s /tmp

B.

chmod +t /tmp

C.

chmod 1775 /tmp

D.

chmod 4775 /tmp

E.

chmod 2775 /tmp

Go to page: