Your success in Linux Foundation LFCS is our sole target and we develop all our LFCS braindumps in a way that facilitates the attainment of this target. Not only is our LFCS study material the best you can find, it is also the most detailed and the most updated. LFCS Practice Exams for Linux Foundation LFCS are written to the highest standards of technical accuracy.
Q76. CORRECT TEXT
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)
Answer: groupadd, /usr/sbin/groupadd
Q77. 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. grep -v fred data_file
B. grep '[f]red' data_file
C. egrep fred data_file
D. grep '[Ff]red' data_file
E. grep -i fred data_file
Answer: D,E
Q78. CORRECT TEXT
Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)
Answer: HISTFILE
Q79. CORRECT TEXT
What two character sequence is present at the beginning of an interpreted script? (Please specify the TWO correct characters only)
Answer: #!
Q80. 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
Q81. What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
A. The command is SetUID and it will be executed with the effective rights of the owner.
B. The command will be executed with the effective rights of the group instead of the owner.
C. The execute flag is not set for the owner. Therefore the SetUID flag is ignored.
D. The command will be executed with the effective rights of the owner and group.
Answer: C
Q82. Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?
A. core
B. edquota
C. ulimit
D. quota
Answer: C
Q83. CORRECT TEXT
With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)
Answer: 64
Q84. CORRECT TEXT
Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)
Answer: hwclock, /sbin/hwclock, /usr/sbin/hwclock
Q85. What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
A. /lib/init.so
B. /sbin/init
C. /etc/rc.d/rcinit
D. /proc/sys/kernel/init
E. /boot/init
Answer: B
Q86. 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.
Answer: D
Q87. Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
A. /etc/keys
B. /proc/keys
C. /etc/inittab
D. /proc/inittab
E. /etc/reboot
Answer:: C
Q88. CORRECT TEXT
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)
Answer: /usr/bin/xwininfo, xwininfo
Q89. What is true regarding a default route?
A. The default route is always used first. When the default route is not available more specific routes are tried.
B. When a default route is set, all other routes are disabled until the default route is deleted.
C. The default route is only used if there is not a more specific route to a destination host or network.
D. Without a default route, no network communication even in directly attached networks is possible.
Answer: C
Q90. 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