Pass Your Linux Foundation Certified LFCS Exam on Jan 07, 2024 with 260 Questions [Q91-Q108]

Share

Pass Your Linux Foundation Certified LFCS Exam on Jan 07, 2024 with 260 Questions

LFCS Free Exam Study Guide! (Updated 260 Questions)


Linux Foundation Certified System Administrator (LFCS) exam is a certification offered by the Linux Foundation that is designed to test the skills and knowledge of system administrators who work with Linux operating systems. The LFCS exam is a performance-based test that is conducted online and measures the abilities of candidates to perform tasks that are commonly required of system administrators on Linux systems.

 

NEW QUESTION # 91
What output will the following command sequence produce?
echo '1 2 3 4 5 6' | while read a b c; do
echo result: $c $b $a;
done

  • A. result: 1 2 3 4 5 6
  • B. result: 6 5 4
  • C. result: 6 5 4 3 2 1
  • D. result: 3 4 5 6 2 1
  • E. result: 3 2 1

Answer: D

Explanation:
Explanation/Reference:


NEW QUESTION # 92
When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

Answer: B


NEW QUESTION # 93
Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

  • A. The description of the group.
  • B. The home directory of the group.
  • C. The password of the group.
  • D. The list of users that belong to the group.
  • E. The name of the group.

Answer: C,D,E

Explanation:
Explanation/Reference:


NEW QUESTION # 94
What is the purpose of the Filesystem Hierarchy Standard?

  • A. It defines a common internal structure of inodes for all compliant filesystems.
  • B. It provides unified tools to create, maintain and manage multiple filesystems in a common way.
  • C. It is a distribution neutral description of locations of files and directories.
  • D. It is a security modelused to ensure files are organized according to their permissions and accessibility.

Answer: C


NEW QUESTION # 95
Which character starts a comment line in a shell script file?

  • A. *
  • B. ;
  • C. #
  • D. /

Answer: C


NEW QUESTION # 96
Which of the following commands lists all defined variables and functions within Bash?

  • A. set
  • B. env -a
  • C. echo $ENV
  • D. env

Answer: A


NEW QUESTION # 97
Which of the following command sequences overwrites the file foobar.txt?

  • A. echo "QUIDQUIDAGIS" | foobar.txt
  • B. echo "QUIDQUIDAGIS" >> foobar.txt
  • C. echo "QUIDQUIDAGIS" > foobar.txt
  • D. echo "QUIDQUIDAGIS" < foobar.txt

Answer: C


NEW QUESTION # 98
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)

  • A. systemd
  • B. SysV init
  • C. SysInit
  • D. Upstart
  • E. startd

Answer: A,B,D


NEW QUESTION # 99
What is true regarding TCP port 23?

  • A. Port 23 is the well known port for the SSH service which provides secure logins.
  • B. Port 23 is the well known port for the system login services which are encrypted when the user runs the starttls command in his login shell.
  • C. Port 23 is the well known port for the rlogin service which is SSL secured by default.
  • D. Port 23 is the well known port for the telnet service which is a plain text protocol that should no longer be used.

Answer: D


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

Answer:

Explanation:
#!


NEW QUESTION # 101
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. !

Answer: B

Explanation:
Explanation/Reference:


NEW QUESTION # 102
Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)

  • A. Minute
  • B. Command
  • C. Year
  • D. Username

Answer: A,B


NEW QUESTION # 103
Which file used by XDM specifies the default wallpaper?

  • A. /etc/X11/xdm/Xsetup
  • B. /etc/X11/defaults.conf
  • C. /etc/X11/xdm/Defaults
  • D. /etc/X11/xdm.conf

Answer: A


NEW QUESTION # 104
CORRECT TEXT
After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)

Answer:

Explanation:
newaliases, sendmail -bi


NEW QUESTION # 105
Whichof the following commands displays the contents of a gzip compressed tar archive?

  • A. tar ztf archive.tgz
  • B. gzip archive.tgz | tar xvf -
  • C. gzip -d archive.tgz | tar tvf -
  • D. tar cf archive.tgz

Answer: A


NEW QUESTION # 106
CORRECT TEXT
What word is missing from the following SQL statement?
insert into tablename ________(909, 'text');
(Please specify the missing word using lower-case letters only.)

Answer:

Explanation:
VALUES,
values


NEW QUESTION # 107
Which of the following commands will reduce all consecutive spaces down to a single space?

  • A. tr -c ' ' < a.txt > b.txt
  • B. tr '\s' ' ' < a.txt > b.txt
  • C. tr -s ' ' < a.txt > b.txt
  • D. tr -r ' ' '\n' < a.txt >b.txt
  • E. tr -d ' ' < a.txt > b.txt

Answer: C


NEW QUESTION # 108
......

LFCS Dumps for Linux Foundation Certified Certified Exam Questions and Answer: https://vcetorrent.passreview.com/LFCS-exam-questions.html