LFCS Premium Bundle

LFCS Premium Bundle

Linux Foundation Certified System Administrator Certification Exam

4.5 
(51225 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

Linux-Foundation LFCS Free Practice Questions

Our pass rate is high to 98.9% and the similarity percentage between our LFCS study guide and real exam is 90% based on our seven-year educating experience. Do you want achievements in the Linux-Foundation LFCS exam in just one try? I am currently studying for the Linux-Foundation LFCS exam. Latest Linux-Foundation LFCS Test exam practice questions and answers, Try Linux-Foundation LFCS Brain Dumps First.

Online Linux-Foundation LFCS free dumps demo Below:

NEW QUESTION 1
Which of the following commands will print the last 10 lines of a text file to the standard output?

  • A. cat -n 10 filename
  • B. dump -n 10 filename
  • C. head -n 10 filename
  • D. tail -n 10 filename

Answer: D

NEW QUESTION 2
Which of the following are syslog facilities? (Choose TWO correct answers.)

  • A. local7
  • B. mail
  • C. advanced
  • D. postmaster
  • E. remote

Answer: AB

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

  • A. multi on
  • B. 192.168.168.4 dns-server
  • C. hosts: files dns
  • D. include /etc/nsswitch.d/

Answer: C

NEW QUESTION 4
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.

Answer: B

NEW QUESTION 5
For accessibility assistance, which of the following programs is an on-screen keyboard?

  • A. xkb
  • B. atkb
  • C. GOK
  • D. xOSK

Answer: C

NEW QUESTION 6
Which of the following settingsfor umask ensures that new files have the default permissions -rw-r----- ?

  • A. 0017
  • B. 0640
  • C. 0038
  • D. 0027

Answer: D

NEW QUESTION 7
What is the purpose of the nsswitch.conf file?

  • A. It is used to configure where the C library looks for system information such as host names and user passwords.
  • B. It is used to configure network protocol port numbers such as for HTTP or SMTP.
  • C. It is used to configure LDAP authentication services for the local system.
  • D. It is used to configure which network services will be turned on during the next system boot.

Answer: A

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

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

Answer: E

NEW QUESTION 9
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

Answer: B

NEW QUESTION 10
Which of the following commands is used to change options and positional parameters for a runningBash?

  • A. history
  • B. set
  • C. bashconf
  • D. setsh
  • E. envsetup

Answer: B

NEW QUESTION 11
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

Answer: A

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

  • A.

Answer: mkdir/usr/bin/mkdir

NEW QUESTION 13
Which of the following commands is used to update the list of available packages when using dpkg based package management?

  • A. apt-get update
  • B. apt-get upgrade
  • C. apt-cache update
  • D. apt-get refresh
  • E. apt-cache upgrade

Answer: A

NEW QUESTION 14
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

Answer: D

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

  • A. -10
  • B. 10
  • C. 20

Answer: C

NEW QUESTION 16
CORRECT TEXT
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

  • A.

Answer: menu.lstgrub.confgrub.cfg

NEW QUESTION 17
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.)

  • A.

Answer: newaliasessendmail-bi

NEW QUESTION 18
CORRECT TEXT
Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

  • A.

Answer: hostname

NEW QUESTION 19
CORRECT TEXT
Which file contains a set of services and hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Specify the full name of the file, including path.)https://lh3.googleusercontent.com/-5cd- clmKnbk/AAAAAAAAAAI/AAAAAAAAADM/-SXesH19Ido/s46-c-k-no/photo.jpg

  • A.

Answer: /etc/hosts.allow

NEW QUESTION 20
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.

Answer: C

NEW QUESTION 21
What is the output of the following command? echo "Hello World" | tr -d aieou

  • A. Hello World
  • B. eoo
  • C. Hll Wrld
  • D. eoo Hll Wrld

Answer: C

NEW QUESTION 22
CORRECT TEXT
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)

  • A.

Answer: up

NEW QUESTION 23
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

  • A. dd if=/dev/zero of=/dev/sda bs=512
  • B. dd if=/dev/zero of=/dev/sdabs=512 count=1
  • C. dd if=/dev/zero of=/dev/sda bs=440 count=1
  • D. dd if=/dev/zero of=/dev/sda bs=440

Answer: C

NEW QUESTION 24
Which command makes the shell variable named VARIABLE visible to subshells?

  • A. export $VARIABLE
  • B. export VARIABLE
  • C. set $VARIABLE
  • D. set VARIABLE
  • E. env VARIABLE

Answer: B

NEW QUESTION 25
What is true regarding TCP port 23?

  • A. Port 23 is the well known port for the telnet service which is a plain text protocol that should no longer be used.
  • B. Port 23 is the well known port for the SSH service which provides secure logins.
  • 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 system login services which are encrypted when the user runs the starttls command in his login shell.

Answer: A

NEW QUESTION 26
CORRECT TEXT
What command displays all aliases defined in the current shell? (Specify the command without any path information)

  • A.

Answer: aliasalias-p

NEW QUESTION 27
Which of the following is true about IPv6?

  • A. With IPv6, the TCP port numbers of most services have changed.
  • B. IPv6 no longer supports broadcast addresses.
  • C. IPv4 addresses can be used without any change with IPv6.
  • D. IPv6 no longer supports multicast addresses.
  • E. For IPv6, UDP and TCP have been replaced by the Rapid Transmission Protocol RTP.

Answer: B

NEW QUESTION 28
What output will the following command produce? seq 1 5 20

  • A. 161116
  • B. 151015
  • C. 1234
  • D. 2345
  • E. 5101520

Answer: A

NEW QUESTION 29
What is the purpose of the command mailq?

  • A. It fetches new emails from a remote server using POP3 or IMAP.
  • B. It is a multi-user mailing list manager.
  • C. It is a proprietary tool contained only in the qmail MTA.
  • D. It queries the mail queue of the local MTA.
  • E. It is a command-line based tool for reading and writing emails.

Answer: D

NEW QUESTION 30
Which of the following commands can be used to download the RPM package kernel without installing it?

  • A. yum download --no-install kernel
  • B. yumdownloader kernel
  • C. rpm --download --package kernel
  • D. rpmdownload kernel

Answer: B

NEW QUESTION 31
......

100% Valid and Newest Version LFCS Questions & Answers shared by Downloadfreepdf.net, Get Full Dumps HERE: https://www.downloadfreepdf.net/LFCS-pdf-download.html (New 260 Q&As)


START LFCS EXAM