Download Linux Foundation LFCS Exam Dumps to Pass Exam Easily in 2024 [Q22-Q40]

Share

Download Linux Foundation LFCS Exam Dumps to Pass Exam Easily in 2024

Get 100% Real Free Linux Foundation Certified LFCS Sample Questions

NEW QUESTION # 22
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. -maxdepth
  • B. -s
  • C. -dirmax
  • D. -maxlevels
  • E. -n

Answer: A


NEW QUESTION # 23
Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?

  • A. ulimit
  • B. quota
  • C. edquota
  • D. core

Answer: A


NEW QUESTION # 24
What is the purpose of the iconv command?

  • A. It converts files from one character encoding to another.
  • B. It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).
  • C. It displays additional meta information from icon files ending in .ico.
  • D. It changes the mode of an inode in the ext4 file system.
  • E. It converts bitmap images from one format to another such as PNG to JPEG.

Answer: A


NEW QUESTION # 25
Which of the following files assigns a user to its primary group?

  • A. /etc/shadow
  • B. /etc/group
  • C. /etc/gshadow
  • D. /etc/passwd
  • E. /etc/pgroup

Answer: D


NEW QUESTION # 26
Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

  • A. resolv
  • B. remote
  • C. hosts
  • D. dns
  • E. files

Answer: D,E


NEW QUESTION # 27
What is the default nice level when a process is started using the nice command?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

Answer: C


NEW QUESTION # 28
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. hostname
  • B. dnsq
  • C. dnslookup
  • D. zoneinfo
  • E. dig

Answer: E


NEW QUESTION # 29
Which of the following commands redirects the output of cmd to the file foo.txt, in which an existing file is overwritten?

  • A. cmd || foo.txt
  • B. cmd >> foo.txt
  • C. cmd && foo.txt
  • D. cmd > foo.txt
  • E. cmd | foo.txt

Answer: D


NEW QUESTION # 30
Which of the following files assigns a user to its primary group?

  • A. /etc/shadow
  • B. /etc/group
  • C. /etc/gshadow
  • D. /etc/passwd
  • E. /etc/pgroup

Answer: D


NEW QUESTION # 31
Which of the following commands can remove a user from a group?

  • A. groupmod
  • B. usergroups
  • C. passwd
  • D. usermod
  • E. grouprm

Answer: D


NEW QUESTION # 32
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 would be removed. bar would still exist but would be unusable.
  • B. The user is prompted whether bar should be removed, too.
  • C. Both foo and bar would remain accessible.
  • D. foo would be removed while bar would remain accessible.
  • E. foo and bar would both be removed.

Answer: D

Explanation:
Explanation


NEW QUESTION # 33
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)

  • A. Device vendor identification
  • B. Ethernet MAC address
  • C. System battery type
  • D. PCI bus speed
  • E. Device IRQ settings

Answer: A,D,E


NEW QUESTION # 34
Which of the following commands will print the last 10 lines of a text file to the standard output?

  • A. head -n 10 filename
  • B. tail -n 10 filename
  • C. dump -n 10 filename
  • D. cat -n 10 filename

Answer: B


NEW QUESTION # 35
When the command echo $$ outputs 12942, what is the meaning of 12942?

  • A. It is the process ID of the last command which has been placed in the background.
  • B. It is the process ID of the echo command.
  • C. It is the process ID of the last command executed.
  • D. It is the process ID of the current shell.

Answer: D


NEW QUESTION # 36
What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)

  • A. ip route del default
  • B. route del default
  • C. ifconfig unset default
  • D. sysctl ipv4.default_gw=0
  • E. netstat -r default

Answer: A,B


NEW QUESTION # 37
What is true regarding the command sendmail?

  • A. It is only available when the sendmail MTA is installed.
  • B. The sendmail command prints the MTAs queue history of which mails have been sent successfully.
  • C. With any MTA, the sendmail command must be run periodically by the cron daemon.
  • D. All MTAs, including Postfix and Exim, provide a sendmail command.

Answer: D


NEW QUESTION # 38
The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

  • A. It is placed after the row [SectionName].
  • B. It is placed after an initial unindented Section "SectionName" and must be indented by exactly one tab character.
  • C. It is placed in curly brackets as in Section SectionName { ... }.
  • D. It is placed between the tags <Section name="SectionName"> and </Section>
  • E. It is placed between a line containing Section "SectionName" and a line containing EndSection.

Answer: E


NEW QUESTION # 39
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 UI_MESSAGES="pt"
  • B. export LC_MESSAGES="pt"
  • C. export ALL_MESSAGES="pt"
  • D. export MESSAGE="pt"
  • E. export LANGUAGE="pt"

Answer: B


NEW QUESTION # 40
......

LFCS Study Guide Realistic Verified Dumps: https://www.dumpstorrent.com/LFCS-exam-dumps-torrent.html

Accurate LFCS Questions with Free and Fast Updates: https://drive.google.com/open?id=1dWMgrj2kickzL72A34SGAd4CbOme4YRm