Labour Day Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

LFCS PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

LFCS PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: Linux Foundation Certified System Administrator
  • Last Update: May 2, 2024
  • Questions and Answers: 260
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

LFCS Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

LFCS Practice Exam Questions with Answers Linux Foundation Certified System Administrator Certification

Question # 6

What is the output of the following command?

for token in a b c; do

echo -n ${token};

done

A.

anbncn

B.

abc

C.

$token$token$token

D.

{a}{b}{c}

E.

a b c

Full Access
Question # 7

On a regular users workstation the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?

A.

The local routing information may be corrupted and must be re-validated using a routing protocol.

B.

One of the routers in the routing table is not available which causes the automatic router failure detection mechanism (ARF-D) to wait for a timeout.

C.

There may accidentally be more than one default router in which case a default router election has to be done on the network in order to choose one router as the default.

D.

DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.

Full Access
Question # 8

What is NOT contained in the locale setting of the operating system?

A.

currency symbol

B.

language

C.

timezone

D.

thousands separator

Full Access
Question # 9

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.

Full Access
Question # 10

Given the following routing table:

LFCS question answer

How would an outgoing packet to the destination 192.168.2.150 be handled?

A.

It would be passed to the default router 192.168.178.1 on wlan0.

B.

It would be directly transmitted on the device eth0.

C.

It would be passed to the default router 255.255.255.0 on eth0.

D.

It would be directly transmitted on the device wlan0.

E.

It would be passed to the router 192.168.1.1 on eth0.

Full Access
Question # 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)

Full Access
Question # 12

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.)

Full Access
Question # 13

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

A.

cat < myapp | cat > file1.log

B.

myapp 0>&1 | cat > file1.log

C.

myapp | cat > file1.log

D.

myapp | teefile1.log

E.

tee myapp file1.log

Full Access
Question # 14

What is the purpose of the Filesystem Hierarchy Standard?

A.

It is a security modelused to ensure files are organized according to their permissions and accessibility.

B.

It provides unified tools to create, maintain and manage multiple filesystems in a common way.

C.

It defines a common internal structure of inodes for all compliant filesystems.

D.

It is a distribution neutral description of locations of files and directories.

Full Access
Question # 15

Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 16

Which of the following commands will help identify a broken router between the local and the remote machine?

A.

ps

B.

netstat

C.

nslookup

D.

ifconfig

E.

traceroute

Full Access
Question # 17

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

A.

run

B.

bg

C.

fg

D.

back

Full Access
Question # 18

Which of the following environment variables overrides or extends the list of directories holding shared libraries?

A.

LD_LOAD_PATH

B.

LD_LIB_PATH

C.

LD_LIBRARY_PATH

D.

LD_SHARE_PATH

E.

LD_RUN_PATH

Full Access
Question # 19

Which file lists which users can execute commands using sudo? (Specify the full name of the file, including path.)

Full Access
Question # 20

What is the purpose of the file /etc/profile?

A.

It contains the welcome message that is displayed after login.

B.

It contains security profiles defining which users are allowed to log in.

C.

It contains environment variables that are set when a user logs in.

D.

It contains default application profiles for users that run an application for the first time.

Full Access
Question # 21

A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?

A.

rmdir '~/\dir'

B.

rmdir "~/\dir"

C.

rmdir ~/'dir'

D.

rmdir ~/\dir

E.

rmdir ~/\\dir

Full Access
Question # 22

Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?

A.

SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;

B.

SELECT order_type,COUNT(*) FROM orders GROUP BY order_type;

C.

COUNT(SELECT order_type FROM orders);

D.

SELECT COUNT(*) FROM orders ORDER BY order_type;

E.

SELECT AUTO_COUNT FROM orders COUNT order_type;

Full Access
Question # 23

What is the purpose of a screen reader?

A.

It reads text displayed on the screen to blind or visually impaired people.

B.

It reads the parameters of the attached monitors and creates an appropriate X11 configuration.

C.

It displays lines and markers to help people use speed reading techniques.

D.

It manages and displays files that contain e-books.

Full Access
Question # 24

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

Full Access
Question # 25

Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

A.

*

B.

-

C.

s

D.

x

Full Access
Question # 26

Which of the followingcommand sets the Bash variable named TEST with the content FOO?

A.

set TEST="FOO"

B.

TEST = "FOO"

C.

var TEST="FOO"

D.

TEST="FOO"

Full Access
Question # 27

During a system boot cycle, what program is executed after the BIOS completes its tasks?

A.

The bootloader

B.

The inetd program

C.

The init program

D.

The kernel

Full Access
Question # 28

How is a display manager started?

A.

It is started by a user using the command startx.

B.

It is started like any other system service by the init system.

C.

It is started by inetd when a remote hosts connects to the X11 port.

D.

It is started automatically when a X11 user logs in to the system console.

Full Access
Question # 29

Which command displays a list of allbackground tasks running in the current shell? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 30

Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?

A.

tcpd

B.

inetd

C.

fingerd

D.

mountd

E.

xinetd

Full Access
Question # 31

What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 32

Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

A.

ext2

B.

ext3

C.

ext4

D.

XFS

E.

VFAT

Full Access
Question # 33

Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 34

Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 35

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.

Full Access
Question # 36

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

Full Access
Question # 37

What does the ? symbol within regular expressions represent?

A.

Match the preceding qualifier one or more times.

B.

Match the preceding qualifier zero or more times.

C.

Matchthe preceding qualifier zero or one times.

D.

Match a literal ? character.

Full Access
Question # 38

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

A.

!

B.

+

C.

&

D.

%

E.

#

Full Access
Question # 39

What two character sequence is present at the beginning of an interpreted script? (Please specify the TWO correct characters only)

Full Access