Vcehome > 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 shows the definition of a given shell command?

A. where

B. stat

C. type

D. case

Browse 260 Q&As
Questions 5

What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

A. The user bob is removed from the system's user database.

B. The user bob's home directory is removed.

C. The locate database is updated to drop files owned by bob.

D. All files owned by bob are remove from all mounted filesystems.

E. In case bob was the last member of a group, that group is deleted.

Browse 260 Q&As
Questions 6

With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

A. 64

Browse 260 Q&As
Questions 7

Which of the following statements is correct regarding the command foo 1> bar?

A. The stdout from the command foo is appended to the file bar.

B. The stdout from the command foo overwrites the file bar.

C. The commandfoo receives its stdin from the file bar.

D. The command foo receives its stdin from the stdout of the command bar.

E. The stderr from the command foo is saved to the file bar.

Browse 260 Q&As
Questions 8

When the command echo $$ outputs 12942, what is the meaning of 12942?

A. It is the process ID of the echo command.

B. It is the process ID of the current shell.

C. It is the process ID of the last command executed.

D. It is the process ID of the last command which has been placed in the background.

Browse 260 Q&As
Questions 9

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?

A. systemd.target=rescue.target

B. systemd.runlevel=rescue.target

C. systemd.service=rescue.target

D. systemd.default=rescue.target

E. systemd.unit=rescue.target

Browse 260 Q&As
Questions 10

Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

A. hidemenu

B. splash

C. timeout

D. showmenu

Browse 260 Q&As
Questions 11

Why is the correct configuration of a system's time zone important?

A. Because the conversion of Unix timestamps to local time relies on the time zone configuration.

B. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.

C. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.

D. Because NTP chooses servers nearby based on the configured time zone.

Browse 260 Q&As
Questions 12

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)

A. 0

B. 1

C. 3

D. 5

E. 6

Browse 260 Q&As
Questions 13

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.

Browse 260 Q&As
Exam Code: LFCS
Exam Name: Linux Foundation Certified System Administrator
Last Update:
Questions: 260 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99