Cause all that matters here is passing the Linux-Foundation LFCS exam. Cause all that you need is a high score of LFCS Linux Foundation Certified System Administrator exam. The only one thing you need to do is downloading Examcollection LFCS exam study guides now. We will not let you down with our money-back guarantee.

NEW QUESTION 1
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 2
CORRECT TEXT
What word is missing from the following SQL statement?
insert into tablename ______ (909, 'text');
(Please specify the missing word using lower-case letters only.)

  • A.

Answer: VALUESvalues

NEW QUESTION 3
What is NOT contained in the locale setting of the operating system?

  • A. currency symbol
  • B. language
  • C. timezone
  • D. thousands separator

Answer: C

NEW QUESTION 4
Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?

  • A. magic
  • B. type
  • C. file
  • D. pmagic
  • E. hash

Answer: C

NEW QUESTION 5
For accessibility assistance, which of the following programs is an on-screen keyboard?

  • A. xkb
  • B. atkb
  • C. GOK
  • D. xOSK

Answer: C

NEW QUESTION 6
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 7
CORRECT TEXT
After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)

  • A.

Answer: lpq/usr/bin/lpqlpstat/usr/bin/lpstat

NEW QUESTION 8
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 9
CORRECT TEXT
In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?

  • A.

Answer: bindinterface

NEW QUESTION 10
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 11
Which of the following is a valid IPv6 address?

  • A. 2001:db8:3241::1
  • B. 2001::db8:4581::1
  • C. 2001:db8:0g41::1
  • D. 2001%db8%9990%%1
  • E. 2001.db8.819f..1

Answer: A

NEW QUESTION 12
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 13
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 14
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 15
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 16
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 17
CORRECT TEXT
Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

  • A.

Answer: hostname

NEW QUESTION 18
What is the purpose of the Bash built-in export command?

  • A. It allows disks to be mounted remotely.
  • B. It runs a command as a process in a subshell.
  • C. It makes the command history available to subshells.
  • D. It sets up environment variables for applications.
  • E. It shares NFS partitions for use by other systems on the network.

Answer: D

NEW QUESTION 19
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 20
What is the purpose of the command mailq?

  • A. It fetches new emails from a remote server using POP3 or IMAP.
  • B. It is a multi-user mailing list manager.
  • C. It is a proprietary tool contained only in the qmail MTA.
  • D. It queries the mail queue of the local MTA.
  • E. It is a command-line based tool for reading and writing emails.

Answer: D

NEW QUESTION 21
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and withoutany trailing spaces, is reached?

  • A. <<
  • B. <|
  • C. !<
  • D. &<

Answer: A

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
CORRECT TEXT
Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

  • A.

Answer: /etc/at.deny

NEW QUESTION 24
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 25
Which of the following commands will reduce all consecutive spaces down to a single space?

  • A. tr 's' ' ' < a.txt > b.txt
  • B. tr -c ' ' < a.txt > b.txt
  • C. tr -d ' ' < a.txt > b.txt
  • D. tr -r ' ' 'n' < a.txt >b.txt
  • E. tr -s ' ' < a.txt > b.txt

Answer: E

NEW QUESTION 26
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?

  • A. /etc/keys
  • B. /proc/keys
  • C. /etc/inittab
  • D. /proc/inittab
  • E. /etc/reboot

Answer: :C

NEW QUESTION 27
Which of the following is correct when talking about mountpoints?

  • A. Every existing directory can be used as a mount point.
  • B. Only empty directories can be used as a mount point.
  • C. Directories need to have the SetUID flag set to be used as a mount point.
  • D. Files within a directory are deleted when the directory is used as a mount point.

Answer: A

NEW QUESTION 28
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 29
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 30
......

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