LFCS Exam - Linux Foundation Certified System Administrator

certleader.com

Free of LFCS free download materials and test preparation for Linux-Foundation certification for IT examinee, Real Success Guaranteed with Updated LFCS pdf dumps vce Materials. 100% PASS Linux Foundation Certified System Administrator exam Today!

Check LFCS free dumps before getting the full version:

NEW QUESTION 1
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

  • A. /sbin/mke2fs -j /dev/sdb1
  • B. /sbin/mkfs -t ext3 /dev/sdb1
  • C. /sbin/mkfs -c ext3 /dev/sdb1
  • D. /sbin/mke3fs -j/dev/sdb1

Answer: AB

NEW QUESTION 2
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)

  • A. To create RAID 9 arrays.
  • B. To dynamically change the size of logical volumes.
  • C. To encrypt logical volumes.
  • D. To create snapshots.
  • E. To dynamically create or delete logical volumes.

Answer: BDE

NEW QUESTION 3
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)

  • A. <
  • B. <<<
  • C. >
  • D. >>>
  • E. %>

Answer: ABC

NEW QUESTION 4
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?

  • A. foo and bar would both be removed.
  • B. foo would be removed while bar would remain accessible.
  • C. foo would be remove
  • D. bar would still exist but would be unusable.
  • E. Both foo and bar would remain accessible.
  • F. The user is prompted whether bar should be removed, too.

Answer: B

NEW QUESTION 5
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 6
In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?

  • A. -dirmax
  • B. -maxdepth
  • C. -maxlevels
  • D. -n
  • E. -s

Answer: B

NEW QUESTION 7
Which command chain will count the number of regular files with the name of foo.txt within
/home?

  • A. ls -lR /home | grep foo.txt | wc -l
  • B. find /home -type f -name foo.txt | wc -l
  • C. find /home -name foo.txt -count
  • D. find /home -name foo.txt | wc -l
  • E. grep -R foo.txt /home | wc -l

Answer: B

NEW QUESTION 8
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 9
What does the ? symbol within regular expressions represent?

  • A. Match the preceding qualifier one or more times.
  • B. Match the preceding qualifier zero or more times.
  • C. Matchthe preceding qualifier zero or one times.
  • D. Match a literal ? character.

Answer: C

NEW QUESTION 10
When running the command sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?

  • A. The file order is incorrec
  • B. The destination file must be mentioned before the command to ensure redirection.
  • C. The command sed did not match anything in that file therefore the output is empty.
  • D. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading.
  • E. Redirection for shell commands do not work using the > characte
  • F. It only works using the | character instead.

Answer: C

NEW QUESTION 11
Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)

  • A. 2001:db8::15 www.example.com www
  • B. www.example.com www 203.0.13.15
  • C. 203.0.113.15 www.example.com www
  • D. www.example.com,www 203.0.13.15,2001:db8::15
  • E. 2003.0.113.15,2001:db8::15 www.example.com www

Answer: AC

NEW QUESTION 12
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

  • A. ext2
  • B. ext3
  • C. ext4
  • D. XFS
  • E. VFAT

Answer: A

NEW QUESTION 13
What is true regarding the command sendmail?

  • A. With any MTA, the sendmail command must be run periodically by the cron daemon.
  • B. All MTAs, including Postfix and Exim, provide a sendmail command.
  • C. The sendmail command prints the MTAs queue history of which mails have been sent successfully.
  • D. It is only available when the sendmail MTA is installed.

Answer: B

NEW QUESTION 14
What is the difference between the i and a commands of the vi editor?

  • A. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically.
  • B. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
  • C. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.
  • D. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.

Answer: B

NEW QUESTION 15
CORRECT TEXT
Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)

  • A.

Answer: hwclock/sbin/hwclock/usr/sbin/hwclock

NEW QUESTION 16
CORRECT TEXT
In which directory must definition files be placed to add additional repositories to yum?

  • A.

Answer: /etc/yum.repos.d/etc/yum.repos.d/yum.repos.dyum.repos.d/

NEW QUESTION 17
Given the following routing table:
LFCS dumps exhibit
How would an outgoing packet to the destination 192.168.2.150 be handled?

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

Answer: E

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

  • A.

Answer: xdm

NEW QUESTION 19
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 owne
  • D. Therefore the SetUID flag is ignored.
  • E. The command will be executed with the effective rights of the owner and group.

Answer: C

NEW QUESTION 20
Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)

  • A. chmod +s /tmp
  • B. chmod +t /tmp
  • C. chmod 1775 /tmp
  • D. chmod 4775 /tmp
  • E. chmod 2775 /tmp

Answer: BC

NEW QUESTION 21
Which of the following commands is used to change options and positional parameters for a runningBash?

  • A. history
  • B. set
  • C. bashconf
  • D. setsh
  • E. envsetup

Answer: B

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

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

Answer: C

NEW QUESTION 23
CORRECT TEXT
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

  • A.

Answer: xorg.conf

NEW QUESTION 24
Which character starts a comment line in a shell script file?

  • A. ;
  • B. *
  • C. #
  • D. /

Answer: C

NEW QUESTION 25
Which of the following commands prints a listof usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

  • A. fmt -f 1,4 /etc/passwd
  • B. split -c 1,4 /etc/passwd
  • C. cut -d : -f 1,4 /etc/passwd
  • D. paste -f 1,4 /etc/passwd

Answer: C

NEW QUESTION 26
What is the difference between the commands test -e path and test -f path?

  • A. They are equivalent options with the same behaviour.
  • B. The -f option tests for a regular fil
  • C. The -e option tests for an empty file.
  • D. Both options check the existence of the pat
  • E. The -f option also confirms that it is a regular file.
  • F. The -f option tests for a regular fil
  • G. The -e option tests for an executable file.

Answer: C

NEW QUESTION 27
Which of the following command sequences overwrites the file foobar.txt?

  • A. echo "QUIDQUIDAGIS" >> foobar.txt
  • B. echo "QUIDQUIDAGIS" < foobar.txt
  • C. echo "QUIDQUIDAGIS" > foobar.txt
  • D. echo "QUIDQUIDAGIS" | foobar.txt

Answer: :C

NEW QUESTION 28
Which of the following files assigns a user to its primary group?

  • A. /etc/pgroup
  • B. /etc/shadow
  • C. /etc/group
  • D. /etc/passwd
  • E. /etc/gshadow

Answer: D

NEW QUESTION 29
......

100% Valid and Newest Version LFCS Questions & Answers shared by Dumpscollection.com, Get Full Dumps HERE: https://www.dumpscollection.net/dumps/LFCS/ (New 260 Q&As)