
PDF Download Free of LFCS Valid Practice Test Questions
LFCS Test Engine files, LFCS Dumps PDF
LFCS Certification Path
There are no prerequisites for the LFCS
NEW QUESTION 73
Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)
- A. resolv
- B. files
- C. remote
- D. dns
- E. hosts
Answer: B,D
NEW QUESTION 74
What is the effect of the egrep command when the -v option is used?
- A. It changes theoutput order showing the last matching line first.
- B. It shows the command's version information.
- C. It only outputs non-matching lines.
- D. It enables color to highlight matching parts.
Answer: C
NEW QUESTION 75
Which of the following commands can be used to limit the amount of memory a user may use?
- A. ulimit
- B. chage
- C. umask
- D. usermod
- E. passwd
Answer: A
NEW QUESTION 76
CORRECT TEXT
Which command displays a list of allbackground tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
jobs
NEW QUESTION 77
The output of the program date should be saved in the variable actdat. What is the correct statement?
- A. date | actdat
- B. set actdat='date'
- C. actdat=`date`
- D. actdat=date
- E. date > $actdat
Answer: C
NEW QUESTION 78
How many fields are in a syntactically correct line of /etc/fstab?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
Answer: C
Explanation:
Explanation
NEW QUESTION 79
Which of the following commands updates the linker cache of shared libraries?
- A. mkcache
- B. ldconfig
- C. mkldconfig
- D. soconfig
- E. lddconfig
Answer: B
NEW QUESTION 80
Which of the following commands will help identify a broken router between the local and the remote machine?
- A. traceroute
- B. nslookup
- C. ps
- D. netstat
- E. ifconfig
Answer: C
NEW QUESTION 81
What is the output of the following command?
echo "Hello World" | tr -d aieou
- A. eoo
- B. Hll Wrld
- C. eoo Hll Wrld
- D. Hello World
Answer: B
NEW QUESTION 82
CORRECT TEXT
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)
Answer:
Explanation:
xorg.conf
NEW QUESTION 83
What is the difference between the commands test -e path and test -f path?
- A. They are equivalent options with the same behavior.
- B. The -f option tests for a regular file. The -e option tests for an empty file.
- C. The -f option tests for a regular file. The -e option tests for an executable file.
- D. Both options check the existence of the path. The -f option also confirms that it is a regular file.
Answer: D
NEW QUESTION 84
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
- A. No action is required
- B. kill -HUP $(pidof grub)
- C. grub-install
- D. grub
Answer: A
NEW QUESTION 85
What does the exit status 0 indicate about a process?
- A. The process finished in time.
- B. The process ended without any problems.
- C. The process couldn't finish correctly.
- D. The process waited for an input but got none.
- E. The process was terminated by the user.
Answer: B
NEW QUESTION 86
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
- A. chmod 775 /bin/foo
- B. chmod o+rwx,a+rx /bin/foo
- C. chmod 577 /bin/foo
- D. chmod u=rwx,go=rx /bin/foo
Answer: D
NEW QUESTION 87
What is a purpose of an SSH host key?
- A. It provides the server's identity information to connecting SSH clients.
- B. It is the root key by which all user SSH keys must be signed.
- C. It must be sent by any SSH client in addition to a user key in order to identify the client's host.
- 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: A
NEW QUESTION 88
Which command will display the last line of the file foo.txt?
- A. tail -n 1 foo.txt
- B. tail foo.txt
- C. head -n 1 foo.txt
- D. last -n 1 foo.txt
Answer: A
NEW QUESTION 89
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
- A. /proc/sys/kernel/init
- B. /boot/init
- C. /sbin/init
- D. /etc/rc.d/rcinit
- E. /lib/init.so
Answer: C
NEW QUESTION 90
How can the normal output of a command be written to a file while discarding the error output?
- A. command >file 2>/dev/null
- B. command >2>file 1&>/dev/null
- C. command > /dev/null 2&>1 output
- D. command < output > /dev/null
- E. command > discard-error > file
Answer: A
NEW QUESTION 91
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)
- A. mount
- B. free
- C. cat /proc/self/mounts
- D. cat /proc/filesystems
- E. lsmounts
Answer: A,C
NEW QUESTION 92
Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?
- A. which
- B. query
- C. dirname
- D. whereis
- E. basename
Answer: D
NEW QUESTION 93
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
- A. The locate database is updated to drop files owned by bob.
- B. The user bob is removed from the system's user database.
- C. In case bob was the last member of a group, that group is deleted.
- D. The user bob's home directory is removed.
- E. All files owned by bob are remove from all mounted filesystems.
Answer: B,D
NEW QUESTION 94
What is the output of the following command sequence? for token in a b c; do
echo -n "$token ";
done
- A. "a " "b " "c "
- B. a b c
- C. token token token
- D. anbncn
- E. abc
Answer: B
NEW QUESTION 95
......
How much LFCS Exam cost
The price of the FCS exam is $300
Linux Foundation LFCS Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
Pass Your Linux Foundation Certified LFCS Exam on Dec 23, 2021 with 260 Questions: https://www.itexamreview.com/LFCS-exam-dumps.html
Latest Linux Foundation LFCS PDF and Dumps (2021) Free Exam Questions Answers: https://drive.google.com/open?id=17g9Lzn6Ybc0cYdeiLpuUBLkWkvB8OFPU
