Most Up-to-date LFCS Forum 2021

Proper study guides for Avant-garde Linux-Foundation Linux Foundation Certified System Administrator certified begins with Linux-Foundation LFCS preparation products which designed to deliver the Refined LFCS questions by making you pass the LFCS test at your first time. Try the free LFCS demo right now.

NEW QUESTION 1
What is the purpose of the nsswitch.conf file?

  • A. It is used to configure where the C library looks for system information such as host names and user passwords.
  • B. It is used to configure network protocol port numbers such as for HTTP or SMTP.
  • C. It is used to configure LDAP authentication services for the local system.
  • D. It is used to configure which network services will be turned on during the next system boot.

Answer: A

NEW QUESTION 2
Which of the following commands can be used to create a USB storage media from a disk image?

  • A. gdisk
  • B. dd
  • C. cc
  • D. fdisk
  • E. mount

Answer: B

NEW QUESTION 3
What is the maximum niceness value that a regular user can assign to a process with the nice command when executinga new process?

  • A. 9
  • B. 19
  • C. 49
  • D. 99

Answer: B

NEW QUESTION 4
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)

  • A. ext3
  • B. JFS
  • C. ext2
  • D. XFS
  • E. procfs

Answer: AC

NEW QUESTION 5
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 6
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 7
CORRECT TEXT
Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)

  • A.

Answer: up

NEW QUESTION 8
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

  • A. The user bob is removed from the system's user database.
  • B. The user bob's home directory is removed.
  • C. The locate database is updated to drop files owned by bob.
  • D. All files owned by bob are remove from all mounted filesystems.
  • E. In case bob was the last member of a group, that group is deleted.

Answer: AB

NEW QUESTION 9
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 10
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 11
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 12
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 13
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 14
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 15
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 16
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 17
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 18
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 19
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 20
CORRECT TEXT
Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)

  • A.

Answer: /etc/cups/etc/cups/

NEW QUESTION 21
Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?

  • A. dnsq
  • B. dig
  • C. hostname
  • D. dnslookup
  • E. zoneinfo

Answer: B

NEW QUESTION 22
To prevent a specific user from scheduling tasks with at, what should the administrator do?

  • A. Add the specific user to /etc/at.allow file.
  • B. Add the specific user to [deny] section in the /etc/atd.conf file.
  • C. Add the specific user to /etc/at.deny file.
  • D. Add the specific user to nojobs group.
  • E. Run the following: atd --deny [user].

Answer: C

NEW QUESTION 23
CORRECT TEXT
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

  • A.

Answer: dpkg-reconfigure

NEW QUESTION 24
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)

  • A. cat /proc/self/mounts
  • B. free
  • C. mount
  • D. lsmounts
  • E. cat /proc/filesystems

Answer: AC

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

  • A.

Answer: aliasalias-p

NEW QUESTION 26
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 27
Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?

  • A. apropos
  • B. which
  • C. find
  • D. query
  • E. whereis

Answer: C

NEW QUESTION 28
From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

  • A. source /usr/local/bin/runme.sh
  • B. /usr/local/bin/runme.sh
  • C. /bin/bash /usr/local/bin/runme.sh
  • D. /usr/local/bin/runme.sh
  • E. run /usr/local/bin/runme.sh

Answer: AB

NEW QUESTION 29
......

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