Linux-Foundation LFCS Dumps 2021

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 {category} LFCS are written to the highest standards of technical accuracy.

NEW QUESTION 1
CORRECT TEXT
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)

  • A.

Answer: /etc/skel

NEW QUESTION 2
Which of the following commands will set the variable text to olaf is home?(Choose two)

  • A. text=olaf is home
  • B. text=$olaf is home
  • C. $text='olaf is home'
  • D. text=='olaf is home'
  • E. text="olaf is home"

Answer: AE

NEW QUESTION 3
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. dns
  • C. remote
  • D. files
  • E. hosts

Answer: BD

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

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

Answer: E

NEW QUESTION 5
Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

  • A. lpd
  • B. lpp
  • C. lpq
  • D. lpr

Answer: D

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

  • A.

Answer: mailq/usr/bin/mailqsendmail-bp/usr/sbin/sendmail-bp/usr/lib/sendmail-bpsendmail/usr/sbin/sendmail/usr/lib/sendmail

NEW QUESTION 7
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?

  • A. File size
  • B. Modify timestamp
  • C. Link count
  • D. Inode number
  • E. Permissions

Answer: C

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

  • A.

Answer: HISTFILE

NEW QUESTION 9
CORRECT TEXT
On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)

  • A.

Answer: /etc/shadow

NEW QUESTION 10
Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)

  • A. Year
  • B. Minute
  • C. Username
  • D. Command

Answer: BD

NEW QUESTION 11
Which of the followingcommand sets the Bash variable named TEST with the content FOO?

  • A. set TEST="FOO"
  • B. TEST = "FOO"
  • C. var TEST="FOO"
  • D. TEST="FOO"

Answer: D

NEW QUESTION 12
Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

  • A. Start and prepare the desktop environment for the user.
  • B. Configure additional devices like new monitors or projectors when they are attached.
  • C. Handle the login of a user.
  • D. Lock the screen when the user was inactive for a configurable amount of time.
  • E. Create an X11 configuration file for the current graphic devices and monitors.

Answer: AC

NEW QUESTION 13
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?

  • A. chmod u=rwx,go=rx /bin/foo
  • B. chmod o+rwx,a+rx /bin/foo
  • C. chmod 577 /bin/foo
  • D. chmod 775 /bin/foo

Answer: :A

NEW QUESTION 14
On a regular users workstation the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?

  • A. The local routing information may be corrupted and must be re-validated using a routing protocol.
  • B. One of the routers in the routing table is not available which causes the automatic router failure detection mechanism (ARF-D) to wait for a timeout.
  • C. There may accidentally be more than one default router in which case a default router election has to be done on the network in order to choose one router as the default.
  • D. DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.

Answer: D

NEW QUESTION 15
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)

  • A. Entries for all possible devices get created on boot even if those devicesare not connected.
  • B. Additional rules for udev can be created by adding them to /etc/udev/rules.d/.
  • C. When using udev, it is not possible to create block or character devices in /dev/ using mknod.
  • D. The /dev/ directory is a filesystem of type tmpfs andis mounted by udev during system startup.
  • E. The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.

Answer: BD

NEW QUESTION 16
What is the default action of the split command on an input file?

  • A. It will break the file into new files of 1,024 byte pieces each.
  • B. It will break the file into new files of 1,000 line pieces each.
  • C. It will break the file into new files of 1,024 kilobytepieces each.
  • D. It will break the file into new files that are no more than 5% of the size of the original file.

Answer: B

NEW QUESTION 17
Why is the correct configuration of a system's time zone important?

  • A. Because the conversion of Unix timestamps to local time relies on the time zone configuration.
  • B. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.
  • C. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.
  • D. Because NTP chooses servers nearby based on the configured time zone.

Answer: A

NEW QUESTION 18
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?

  • A. tune2fs -d 200 /dev/sda1
  • B. tune2fs -c 200 /dev/sda1
  • C. tune2fs -i 200 /dev/sda1
  • D. tune2fs -n 200/dev/sda1
  • E. tune2fs --days 200 /dev/sda1

Answer: C

NEW QUESTION 19
Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?

  • A. dirname
  • B. which
  • C. basename
  • D. query
  • E. whereis

Answer: E

NEW QUESTION 20
CORRECT TEXT
Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information? (Specify ONLY the option without any values or parameters.)

  • A.

Answer: server

NEW QUESTION 21
Which of the following is observed and corrected by a NTP client?

  • A. The skew in time between the system clock and the hardware clock.
  • B. The skew in time between the system clock and the reference clock.
  • C. Changes in the time zone of the current computer's location.
  • D. Adjustments needed to support Daylight Saving Time.

Answer: B

NEW QUESTION 22
Which command will display the last line of the file foo.txt?

  • A. head -n 1 foo.txt
  • B. tail foo.txt
  • C. last -n 1 foo.txt
  • D. tail -n 1 foo.txt

Answer: D

NEW QUESTION 23
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: DE

NEW QUESTION 24
Which configuration file would be edited to change the default options for outbound SSH sessions?

  • A. /etc/ssh/sshd_config
  • B. /etc/ssh/ssh
  • C. /etc/ssh/client
  • D. /etc/ssh/ssh_config
  • E. /etc/ssh/ssh_client

Answer: D

NEW QUESTION 25
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

  • A. hidemenu
  • B. splash
  • C. timeout
  • D. showmenu

Answer: C

NEW QUESTION 26
Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

  • A. usermod
  • B. passwd
  • C. chattr
  • D. chage
  • E. chsh

Answer: ABD

NEW QUESTION 27
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

  • A. ~/.bashconf
  • B. ~/.bashrc
  • C. ~/.bashdefaults
  • D. ~/.bash_etc
  • E. ~/.bash_profile

Answer: BE

NEW QUESTION 28
......

Recommend!! Get the Full LFCS dumps in VCE and PDF From Passcertsure, Welcome to Download: https://www.passcertsure.com/LFCS-test/ (New 260 Q&As Version)