New Year Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Linux Foundation LFCS Practice Exam with Questions & Answers | Set: 8

Questions 71

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?

Options:
A.

apropos

B.

which

C.

find

D.

query

E.

whereis

Linux Foundation LFCS Premium Access
Questions 72

What does the command mount -a do?

Options:
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.

Questions 73

Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)

Options:
Questions 74

Which file contains the date of the last change of a user's password?

Options:
A.

/etc/gshadow

B.

/etc/passwd

C.

/etc/pwdlog

D.

/etc/shadow

E.

/var/log/shadow

Questions 75

Which configuration file would be edited to change default options for the OpenSSH server?

Options:
A.

/etc/ssh/sshd_config

B.

/etc/ssh/ssh

C.

/etc/ssh/server

D.

/etc/ssh/ssh_config

E.

/etc/ssh/ssh_server

Questions 76

Which of the following steps prevents a user from obtaining an interactive login session?

Options:
A.

Run the command chsh -s /bin/false with the user name.

B.

Set the UID for the user to 0.

C.

Remove the user from the group staff.

D.

Add the user to /etc/noaccess.

E.

Create a .nologin file in the user's home directory.

Questions 77

Which function key is used to start Safe Mode in Windows NT?

Options:
A.

F10

B.

F8

C.

F6

D.

Windows NT does not support Safe Mode

Questions 78

Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

Options:
A.

New name servers may be added to the resolver configuration.

B.

Network interfaces may become active or inactive.

C.

The routing table may change.

D.

IP addresses may change.

E.

The system's host name may change.