LFCS Exam Questions - Online Test


LFCS Premium VCE File

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

certleader.com

Certleader offers free demo for LFCS exam. "Linux Foundation Certified System Administrator", also known as LFCS exam, is a Linux-Foundation Certification. This set of posts, Passing the Linux-Foundation LFCS exam, will help you answer those questions. The LFCS Questions & Answers covers all the knowledge points of the real exam. 100% real Linux-Foundation LFCS exams and revised by experts!

Linux-Foundation LFCS Free Dumps Questions Online, Read and Test Now.

NEW QUESTION 1
CORRECT TEXT
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

  • A.

Answer: swapoff/sbin/swapoff

NEW QUESTION 2
CORRECT TEXT
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

  • A.

Answer: groupadd/usr/sbin/groupadd

NEW QUESTION 3
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 4
Which of the following commands will write a message to the terminals of all logged in users?

  • A. bcast
  • B. mesg
  • C. print
  • D. wall
  • E. yell

Answer: D

NEW QUESTION 5
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 6
The script, script.sh, consists of the following lines:
#!/bin/bash echo $2 $1
Which output will appear if the command, ./script.sh test1 test2, is entered?

  • A. test1 test2
  • B. test2 test1
  • C. script.sh test2
  • D. script.sh test1
  • E. test1 script.sh

Answer: B

NEW QUESTION 7
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 8
Which variable defines the directories in which a Bash shell searches for executable commands?

  • A. BASHEXEC
  • B. BASHRC
  • C. PATH
  • D. EXECPATH
  • E. PATHRC

Answer: C

NEW QUESTION 9
What is true about the ntpdate command?

  • A. It is the primary management command for the NTP time server.
  • B. It updates the local system's date (i.
  • C. day, month and year) but not the time (i.
  • D. hours, minutes, seconds).
  • E. It queries one or more NTP time servers and adjusts the system time accordingly.
  • F. It sends the local system time to one or many remote NTP time servers for redistribution.
  • G. It can be used by any user to set the user clock independently of the system clock.

Answer: C

NEW QUESTION 10
CORRECT TEXT
Which command is used to create and initialize the files used to store quota information? (Specify ONLY the commandwithout any path or parameters.)

  • A.

Answer: quotacheck

NEW QUESTION 11
How can the current directory and its subdirectories be searched for the file named MyFile.xml?

  • A. find . -name MyFile.xml
  • B. grep MyFile.xml | find
  • C. grep -r MyFile.xml .
  • D. less MyFile.xml
  • E. search Myfile.xml ./

Answer: A

NEW QUESTION 12
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?

  • A. kill -HUP $(pidof grub)
  • B. grub-install
  • C. grub
  • D. No action is required

Answer: D

NEW QUESTION 13
What is the purpose of the file /etc/profile?

  • A. It contains the welcome message that is displayed after login.
  • B. It contains security profiles defining which users are allowed to log in.
  • C. It contains environment variables that are set when a user logs in.
  • D. It contains default application profiles for users that run an application for the first time.

Answer: C

NEW QUESTION 14
CORRECT TEXT
Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)

  • A.

Answer: /etc/xinetd.d//etc/xinetd.d

NEW QUESTION 15
Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

  • A. export LANGUAGE="pt"
  • B. export MESSAGE="pt"
  • C. export UI_MESSAGES="pt"
  • D. export LC_MESSAGES="pt"
  • E. export ALL_MESSAGES="pt"

Answer: D

NEW QUESTION 16
Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)

  • A. Synchronize the hardware and system clocks.
  • B. Output date and time in different formats.
  • C. Set the system clock.
  • D. Set the hardware clock.
  • E. Update the time via NTP.

Answer: BC

NEW QUESTION 17
When the command echo $ outputs 1, which of the following statements is true?

  • A. It is the process ID of the echo command.
  • B. It is the process ID of the current shell.
  • C. It is the exit value of the command executed immediately before echo.
  • D. It is the exit value of the echo command.

Answer: C

NEW QUESTION 18
......

Thanks for reading the newest LFCS exam dumps! We recommend you to try the PREMIUM Downloadfreepdf.net LFCS dumps in VCE and PDF here: https://www.downloadfreepdf.net/LFCS-pdf-download.html (260 Q&As Dumps)