LFCS Exam Questions - Online Test


LFCS Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

certleader.com

Testking LFCS Questions are updated and all LFCS answers are verified by experts. Once you have completely prepared with our LFCS exam prep kits you will be ready for the real LFCS exam without a problem. We have Latest Linux-Foundation LFCS dumps study guide. PASSED LFCS First attempt! Here What I Did.

Online LFCS free questions and answers of New Version:

NEW QUESTION 1
What is true about the file /etc/localtime?

  • A. It is a plain text file containing a string such as Europe/Berlin.
  • B. It is created and maintained by the NTP service based on the geolocation of the system's IP address.
  • C. It is a symlink to /sys/device/clock/ltime and always contains the current local time.
  • D. It is either a symlink to or a copy of a timezone information file such as/usr/share/zoneinfo/Europe/Berlin.

Answer: D

NEW QUESTION 2
CORRECT TEXT
Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)

  • A.

Answer: 0077077

NEW QUESTION 3
Which of the following commands lists all currently installedpackages when using RPM package management?

  • A. yum --query --all
  • B. yum --list --installed
  • C. rpm --query --all
  • D. rpm --list –installed

Answer: C

NEW QUESTION 4
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 5
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 6
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 7
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 8
CORRECT TEXT
The presence of what file will temporarily prevent all users except root from logging into the system? (Specify the full name of the file, including path.)

  • A.

Answer: /etc/nologin

NEW QUESTION 9
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

  • A. i (lowercase)
  • B. P (uppercase)
  • C. p (lowercase)
  • D. U (uppercase)
  • E. u (lowercase)

Answer: C

NEW QUESTION 10
Which of the following statements is correct when talking about /proc/?

  • A. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
  • B. All files within /proc/ are read-only and their contents cannot be changed.
  • C. All changes to files in /proc/ are immediately recognized by the kernel.
  • D. All files within/proc/ are only readable by the root user.

Answer: C

NEW QUESTION 11
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 12
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 13
CORRECT TEXT
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)

  • A.

Answer: netstat/bin/netstatss/usr/bin/ss

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

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

Answer: B

NEW QUESTION 15
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?

  • A. kill -PIPE 123
  • B. kill -KILL 123
  • C. kill -STOP 123
  • D. kill -TERM 123

Answer: D

NEW QUESTION 16
CORRECT TEXT
Which file lists which users can execute commands using sudo? (Specify the full name of the file, including path.)

  • A.

Answer: /etc/sudoers

NEW QUESTION 17
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 --port 2222 example.com
  • B. ssh -p 2222 example.com
  • C. ssh -o Port=2222 example.com
  • D. ssh -o GatewayPort=2222 example.com
  • E. ssh example.com:2222

Answer: BC

NEW QUESTION 18
......

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