[Sep-2021] Get 100% Real LFCS Exam Questions, Accurate & Verified Exam4Labs Dumps in the Real Exam! [Q14-Q34]

Share

[Sep-2021] Get 100% Real LFCS Exam Questions, Accurate & Verified Exam4Labs Dumps in the Real Exam!

Pass Your Linux Foundation Certified Exams Fast. All Top LFCS Exam Questions Are Covered.

NEW QUESTION 14
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?

  • A. kill -TERM 123
  • B. kill -KILL 123
  • C. kill -STOP 123
  • D. kill -PIPE 123

Answer: A

 

NEW QUESTION 15
After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)

  • A. By creating a hard link from the old to the new path of the data.
  • B. By creating a symbolic link from the old to the new path of the data.
  • C. By creating an ACL redirection from the old to the new path of the data.
  • D. By mounting the new filesystem on the original path of the data.
  • E. By running the command touch on the old path.

Answer: B,D

 

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

Answer:

Explanation:
/etc/sudoers

 

NEW QUESTION 17
Which of the following commands shows the definition of a given shell command?

  • A. where
  • B. type
  • C. stat
  • D. case

Answer: B

 

NEW QUESTION 18
CORRECT TEXT
The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)

Answer:

Explanation:
/usr/share/zoneinfo/

 

NEW QUESTION 19
Which of the following commands can be used to limit the amount of memory a user may use?

  • A. umask
  • B. usermod
  • C. ulimit
  • D. passwd
  • E. chage

Answer: C

 

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

Answer:

Explanation:
hostname

 

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

  • A. 1
    6
    1
    1
    1
    6
  • B. 1
    5
    10
    15
  • C. 2
    3
    4
    5
  • D. 5
    10
    15
    20
  • E. 1
    2
    3
    4

Answer: A

 

NEW QUESTION 22
Which file inside the CUPS configuration directory contains the definition of the printers?

  • A. printers.conf
  • B. printcap.conf
  • C. cupsd.conf
  • D. snmp.conf
  • E. cups-devices.conf

Answer: A

 

NEW QUESTION 23
How can the current directory and its subdirectories be searched for the file named MyFile.xml?

  • A. grep MyFile.xml | find
  • B. grep -r MyFile.xml .
  • C. find . -name MyFile.xml
  • D. search Myfile.xml ./
  • E. less MyFile.xml

Answer: C

Explanation:
Explanation/Reference:

 

NEW QUESTION 24
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. 2
  • D. 3
  • E. 4

Answer: A,C

 

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

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

Answer: C,D,E

 

NEW QUESTION 26
Given the following routing table:

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

  • A. It would be directly transmitted on the device eth0.
  • B. It would be passed to the default router 192.168.178.1 on wlan0.
  • C. It would be passed to the router 192.168.1.1 on eth0.
  • D. It would be directly transmitted on the device wlan0.
  • E. It would be passed to the default router 255.255.255.0 on eth0.

Answer: C

 

NEW QUESTION 27
Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file? (Choose two)

  • A. egrep fred data_file
  • B. grep -i fred data_file
  • C. grep '[f]red' data_file
  • D. grep '[Ff]red' data_file
  • E. grep -v fred data_file

Answer: B,D

Explanation:
Explanation

 

NEW QUESTION 28
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

  • A. i (lowercase)
  • B. p (lowercase)
  • C. P (uppercase)
  • D. U (uppercase)
  • E. u (lowercase)

Answer: B

 

NEW QUESTION 29
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. mountd
  • B. fingerd
  • C. inetd
  • D. tcpd
  • E. xinetd

Answer: D

 

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

Answer:

Explanation:
xdm

 

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

  • A. standard output to standard input.
  • B. standard error to standard input.
  • C. standard error to standardoutput.
  • D. standard input to standard error.
  • E. standard output to standard error.

Answer: E

 

NEW QUESTION 32
Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

  • A. Network interfaces may become active or inactive.
  • B. The system's host name may change.
  • C. New name servers may be added to the resolver configuration.
  • D. The routing table may change.
  • E. IP addresses may change.

Answer: A,D,E

 

NEW QUESTION 33
Which of the following commands updates the linker cache of shared libraries?

  • A. mkldconfig
  • B. lddconfig
  • C. soconfig
  • D. mkcache
  • E. ldconfig

Answer: E

 

NEW QUESTION 34
......

Penetration testers simulate LFCS exam: https://www.exam4labs.com/LFCS-practice-torrent.html

Free Test Engine For Linux Foundation Certified System Administrator Certification Exams: https://drive.google.com/open?id=1xswLdXSxu-U1MIF2ouw8zHUPL9TQsoF4