Latest LFCS Pass Guaranteed Exam Dumps Certification Sample Questions [Q156-Q181]

Share

Latest LFCS Pass Guaranteed Exam Dumps Certification Sample Questions

New LFCS Test Materials & Valid LFCS Test Engine


LFCS Certified Professional Salary

  • Europe: €63290
  • England: £53931
  • India: ₹498684
  • United States: $70,194

 

NEW QUESTION 156
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in / usr?

  • A. find -type suid -username root -d /usr
  • B. find /usr -ls \*s\* -u root
  • C. find -user root +mode +s /usr
  • D. find /usr -uid 0 -perm +4000
  • E. find /usr -suid -perm +4000

Answer: D

 

NEW QUESTION 157
Which of the following are syslog facilities? (Choose TWO correct answers.)

  • A. advanced
  • B. postmaster
  • C. local7
  • D. remote
  • E. mail

Answer: C,E

 

NEW QUESTION 158
How is a display manager started?

  • A. It is started automatically when a X11 user logs in to the system console.
  • B. It is started by inetd when a remote hosts connects to the X11 port.
  • C. It is started by a user using the command startx.
  • D. It is started like any other system service by the init system.

Answer: D

 

NEW QUESTION 159
What is true regarding TCP port 23?

  • A. Port 23 is the well known port for the rlogin service which is SSL secured by default.
  • B. Port 23 is the well known port for the SSH service which provides secure logins.
  • C. Port 23 is the well known port for the telnet service which is a plain text protocol that should no longer be used.
  • D. Port 23 is the well-known port for the system login services which are encrypted when the user runs the starttls command in his login shell.

Answer: C

 

NEW QUESTION 160
What is true regarding a default route?

  • A. Without a default route, no network communication even in directly attached networks is possible.
  • B. The default route is always used first. When the default route is not available more specific routes are tried.
  • C. When a default route is set, all other routes are disabled until the default route is deleted.
  • D. The default route is only used if there is not a more specific route to a destination host or network.

Answer: D

 

NEW QUESTION 161
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. p (lowercase)
  • B. P (uppercase)
  • C. i (lowercase)
  • D. U (uppercase)
  • E. u (lowercase)

Answer: A

 

NEW QUESTION 162
SIMULATION
Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information?
(Specify ONLY the option without any values or parameters.)

Answer:

Explanation:
server

 

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

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

Answer: A,B,C

 

NEW QUESTION 164
During a system boot cycle, what program is executed after the BIOS completes its tasks?

  • A. The init program
  • B. The inetd program
  • C. The bootloader
  • D. The kernel

Answer: C

 

NEW QUESTION 165
SIMULATION
Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

Answer:

Explanation:
/etc/at.deny

 

NEW QUESTION 166
Given a file called birthdays containing lines like:
YYYY-MM-DD Name
1983-06-02 Tim
1995-12-17 Sue
Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?

  • A. grep '[0-9]*-0[56]-' birthdays
  • B. grep 06 birthdays | grep 05
  • C. grep 05?6? birthdays
  • D. grep '[56]' birthdays

Answer: A

 

NEW QUESTION 167
In the vi editor, which of the following commands will copy the current line into the vi buffer?

  • A. c
  • B. 1c
  • C. 1y
  • D. cc
  • E. yy

Answer: E

 

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

Answer:

Explanation:
/etc/sudoers

 

NEW QUESTION 169
After running the command umount /mnt, the following error message is displayed:
umount: /mnt: device is busy.
What is a common reason for this message?

  • A. Another file system still contains a symlink to a file inside /mnt.
  • B. The kernel thinks that a process is about to open a file in /mnt for reading.
  • C. The kernel has not finished flushing diskwrites to the mounted device.
  • D. The files in /mnt have been scanned and added to the locate database.
  • E. A user has a file open in the /mnt directory.

Answer: E

 

NEW QUESTION 170
Which command makes the shell variable named VARIABLE visible to subshells?

  • A. export $VARIABLE
  • B. export VARIABLE
  • C. set $VARIABLE
  • D. env VARIABLE
  • E. set VARIABLE

Answer: B

 

NEW QUESTION 171
Which approach will provide a listing of the contents in a tar archive?

  • A. Use the zless command.
  • B. Use the grep command.
  • C. Use the tar command with -t.
  • D. Use the zlist command.
  • E. Use the find command.

Answer: C

 

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

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

Answer: B

 

NEW QUESTION 173
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?

  • A. Modify timestamp
  • B. Link count
  • C. Permissions
  • D. Inode number
  • E. File size

Answer: B

 

NEW QUESTION 174
Which of the following commands can be used to limit the amount of memory a user may use?

  • A. passwd
  • B. ulimit
  • C. chage
  • D. usermod
  • E. umask

Answer: B

 

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

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

Answer: C

 

NEW QUESTION 176
What is true regarding the file ~/.forward?

  • A. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
  • B. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.
  • C. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
  • D. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.

Answer: B

 

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

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

Answer: D

 

NEW QUESTION 178
Which of the following commands will reduce all consecutive spaces down to a single space?

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

Answer: D

 

NEW QUESTION 179
Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

  • A. -
  • B. *
  • C. x
  • D. s

Answer: C

 

NEW QUESTION 180
Which RPM command will output the name of the package which supplied the file /etc/exports?

  • A. rpm -qf /etc/exports
  • B. rpm -Kl /etc/exports
  • C. rpm -qp /etc/exports
  • D. rpm -F /etc/exports
  • E. rpm -qi /etc/exports

Answer: A

 

NEW QUESTION 181
......

LFCS Sample with Accurate & Updated Questions: https://www.troytecdumps.com/LFCS-troytec-exam-dumps.html

LFCS Updated Exam Dumps [2022] Practice Valid Exam Dumps Question: https://drive.google.com/open?id=1Dr0TVUb088e9O3j0y3mAWNueuTqo27OS