LFCS Braindumps Real Exam Updated on Jan 05, 2022 with 260 Questions [Q78-Q99]

Share

LFCS Braindumps Real Exam Updated on Jan 05, 2022 with 260 Questions

Latest LFCS PDF Dumps & Real Tests Free Updated Today


What is the duration, language, and format of LFCS Exam

Format: Multiple choices, multiple answers

  • Number of Questions: 260
  • Length of Examination: 2 Hours
  • Passing score: 66%
  • Language: English

 

NEW QUESTION 78
CORRECT TEXT
Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
mailq, /usr/bin/mailq, sendmail -bp, /usr/sbin/sendmail -bp, /usr/lib/sendmail -bp, sendmail, /usr/sbin/sendmail, /usr/lib/sendmail

 

NEW QUESTION 79
What of the following can be done by the command ifconfig? (Choose TWO correct answers.)

  • A. Specify which network services are available on a network interface.
  • B. Change the netmask used on a network interface.
  • C. Set a network interface active or inactive.
  • D. Specify the kernel module to be used with a network interface.
  • E. Allow regular users to change the network configuration of a network interface.

Answer: B,C

 

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

Answer:

Explanation:
alias, alias -p

 

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

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

Answer: B

 

NEW QUESTION 82
Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)

  • A. ssh -p 2222 example.com
  • B. ssh -o Port=2222 example.com
  • C. ssh --port 2222 example.com
  • D. ssh example.com:2222
  • E. ssh -o GatewayPort=2222 example.com

Answer: A,B

 

NEW QUESTION 83
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 84
What is true regarding a default route?

  • A. Without a default route, no network communication even in directly attached networks is possible.
  • B. The default route is always used first. When the default route is not available more specific routes are tried.
  • C. When a default route is set, all other routes are disabled until the default route is deleted.
  • D. The default route is only used if there is not a more specific route to a destination host or network.

Answer: D

 

NEW QUESTION 85
What is NOT contained in the locale setting of the operating system?

  • A. thousands separator
  • B. currency symbol
  • C. timezone
  • D. language

Answer: C

 

NEW QUESTION 86
Which of the following files, located in the user home directory, is used to store the Bash history?

  • A. .bash_history
  • B. .history
  • C. .history_bash
  • D. .bashrc_history
  • E. .bash_histfile

Answer: A

Explanation:
Explanation

 

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

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

Answer: B

 

NEW QUESTION 88
Which of the following statements is correct regarding the command foo 1> bar?

  • A. The stderr from the command foo is saved to the file bar.
  • B. The stdout from the command foo overwrites the file bar.
  • C. The command foo receives its stdin from the stdout of the command bar.
  • D. The commandfoo receives its stdin from the file bar.
  • E. The stdout from the command foo is appended to the file bar.

Answer: B

 

NEW QUESTION 89
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?

  • A. find -type suid -username root -d /usr
  • B. find /usr -ls \*s\* -u root
  • C. find -user root +mode +s /usr
  • D. find /usr -uid 0 -perm +4000
  • E. find /usr -suid -perm +4000

Answer: D

 

NEW QUESTION 90
The script, script.sh, consists of the following lines:
#!/bin/bash
echo $2 $1
Which output will appear if the command, ./script.sh test1 test2, is entered?

  • A. test1 script.sh
  • B. script.sh test1
  • C. test1 test2
  • D. test2 test1
  • E. script.sh test2

Answer: D

 

NEW QUESTION 91
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 92
Which of the following steps prevents a user from obtaining an interactive login session?

  • A. Add the user to /etc/noaccess.
  • B. Remove the user from the group staff.
  • C. Create a .nologin file in the user's home directory.
  • D. Run the command chsh -s /bin/false with the user name.
  • E. Set the UID for the user to 0.

Answer: D

 

NEW QUESTION 93
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=440 count=1
  • B. dd if=/dev/zero of=/dev/sda bs=440
  • C. dd if=/dev/zero of=/dev/sda bs=512
  • D. dd if=/dev/zero of=/dev/sdabs=512 count=1

Answer: A

 

NEW QUESTION 94
Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)

  • A. --until
  • B. --from
  • C. --upto
  • D. --since
  • E. --date

Answer: A,D

 

NEW QUESTION 95
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 96
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. dns
  • D. hosts
  • E. remote

Answer: B,C

 

NEW QUESTION 97
After running the command umount /mnt, the following error message is displayed:
umount: /mnt: device is busy.
What is a common reason for this message?

  • A. Another file system still contains a symlink to a file inside /mnt.
  • B. The kernel thinks that a process is about to open a file in /mnt for reading.
  • C. The kernel has not finished flushing diskwrites to the mounted device.
  • D. The files in /mnt have been scanned and added to the locate database.
  • E. A user has a file open in the /mnt directory.

Answer: E

 

NEW QUESTION 98
SIMULATION
With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

Answer:

Explanation:
64

 

NEW QUESTION 99
......

LFCS Dumps With 100% Verified Q&As - Pass Guarantee or Full Refund: https://www.dumpsactual.com/LFCS-actualtests-dumps.html

Pass Linux Foundation LFCS Exam With  Practice Test Questions Dumps Bundle: https://drive.google.com/open?id=1pIqxJDv3v2IgmmXNPr_re7uyR1Jd5BhN