A Review Of Virtual LFCS Training Materials

Exam Code: LFCS (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Linux Foundation Certified System Administrator
Certification Provider: Linux-Foundation
Free Today! Guaranteed Training- Pass LFCS Exam.

Free demo questions for Linux-Foundation LFCS Exam Dumps Below:

NEW QUESTION 1
What does the exit status 0 indicate about a process?

  • A. The process ended without any problems.
  • B. The process was terminated by the user.
  • C. The process couldn't finish correctly.
  • D. The process waited for an input but got none.
  • E. The process finished in time.

Answer: A

NEW QUESTION 2
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 3
Which of the following is true about IPv6?

  • A. With IPv6, the TCP port numbers of most services have changed.
  • B. IPv6 no longer supports broadcast addresses.
  • C. IPv4 addresses can be used without any change with IPv6.
  • D. IPv6 no longer supports multicast addresses.
  • E. For IPv6, UDP and TCP have been replaced by the Rapid Transmission Protocol RTP.

Answer: B

NEW QUESTION 4
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 5
CORRECT TEXT
What two character sequence is present at the beginning of an interpreted script? (Please specify the TWO correct characters only)

  • A.

Answer: #!

NEW QUESTION 6
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 7
Which approach will provide a listing of the contents in a tar archive?

  • A. Use the tar command with -t.
  • B. Use the grep command.
  • C. Use the find command.
  • D. Use the zless command.
  • E. Use the zlist command.

Answer: A

NEW QUESTION 8
CORRECT TEXT
After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)

  • A.

Answer: newaliasessendmail-bi

NEW QUESTION 9
What is the effect of the egrep command when the -v option is used?

  • A. It enables color to highlight matching parts.
  • B. It only outputs non-matching lines.
  • C. It shows the command's version information.
  • D. It changes theoutput order showing the last matching line first.

Answer: B

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

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

Answer: A

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

  • A.

Answer: 64

NEW QUESTION 13
After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)

  • A. By creating an ACL redirection from the old to the new path of the data.
  • B. By creating a hard link from the old to the new path of the data.
  • C. By creating a symbolic link from the old to the new path of the data.
  • D. By running the command touch on the old path.
  • E. By mounting the new filesystem on the original path of the data.

Answer: CE

NEW QUESTION 14
A user accidentally created the subdirectory dir in his home directory. Which of the following commands will remove that directory?

  • A. rmdir '~/dir'
  • B. rmdir "~/dir"
  • C. rmdir ~/'dir'
  • D. rmdir ~/dir
  • E. rmdir ~/\dir

Answer: E

NEW QUESTION 15
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 16
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 17
What does the command mount -a do?

  • A. It mounts all available filesystems onto the current directory.
  • B. It shows all mounted filesystems.
  • C. It mounts all user mountable filesystems for the current user.
  • D. It mounts all filesystems listed in /etc/fstab which have the option auto set.
  • E. It mounts all filesystems listed in /etc/fstab which have the option noauto set.

Answer: D

NEW QUESTION 18
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 19
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 20
Which of the following commands will help identify a broken router between the local and the remote machine?

  • A. ps
  • B. netstat
  • C. nslookup
  • D. ifconfig
  • E. traceroute

Answer: E

NEW QUESTION 21
CORRECT TEXT
Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)

  • A.

Answer: TZ

NEW QUESTION 22
Which of the following shell redirections will write standard output and standard error output to a file named filename?

  • A. 2>&1 >filename
  • B. >filename 2>&1
  • C. 1>&2>filename
  • D. >>filename
  • E. 1&2>filename

Answer: B

NEW QUESTION 23
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)

  • A. Boot device order
  • B. Linux kernel version
  • C. Timezone
  • D. Hardware configuration
  • E. The system's hostname

Answer: AD

NEW QUESTION 24
What does the command mount -a do?

  • A. It ensures that all file systems listed with the option noauto in /etc/fstab are mounted.
  • B. It shows all mounted file systems that have been automatically mounted.
  • C. It opens an editor with root privileges and loads /etc/fstab for editing.
  • D. It ensures that all file systems listed with the option auto in /etc/fstab are mounted.
  • E. It ensures that all file systems listed in /etc/fstab are mounted regardless of their options.

Answer: D

NEW QUESTION 25
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 26
......

P.S. Surepassexam now are offering 100% pass ensure LFCS dumps! All LFCS exam questions have been updated with correct answers: https://www.surepassexam.com/LFCS-exam-dumps.html (260 New Questions)