Pass the Linux Foundation Linux Foundation Certified SYSADMIN LFCS Questions and answers with CertsForce

Viewing page 2 out of 8 pages
Viewing questions 11-20 out of questions
Questions # 11:

What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

Options:

A.

The user bob is removed from the system's user database.


B.

The user bob's home directory is removed.


C.

The locate database is updated to drop files owned by bob.


D.

All files owned by bob are remove from all mounted filesystems.


E.

In case bob was the last member of a group, that group is deleted.


Questions # 12:

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 # 13:

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

Options:

A.

cat -n 10 filename


B.

dump -n 10 filename


C.

head -n 10 filename


D.

tail -n 10 filename


Questions # 14:

Which signal is missing from the following command that is commonly used to instruct adaemon to reinitialize itself, including reading configuration files?

killall -s _______ daemon


Questions # 15:

What command will generate a list of user names from /etc/passwd along with their login shell?

Options:

A.

column -s : 1,7 /etc/passwd


B.

chop -c 1,7 /etc/passwd


C.

colrm 1,7 /etc/passwd


D.

cut -d: -f1,7 /etc/passwd


Questions # 16:

Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)

Options:

A.

Postfix


B.

Procmail


C.

Sendmail


D.

Exim


E.

SMTPd


Questions # 17:

What is the output of the following command sequence?

for token in a b c; do

echo -n "$token ";

done

Options:

A.

anbncn


B.

a b c


C.

"a " "b " "c "


D.

token token token


E.

abc


Questions # 18:

Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)

Options:

A.

--from=


B.

--since=


C.

--until=


D.

--upto=


E.

--date=


Questions # 19:

Which file inside the CUPS configuration directory contains the definition of the printers?

Options:

A.

cups-devices.conf


B.

snmp.conf


C.

printcap.conf


D.

printers.conf


E.

cupsd.conf


Questions # 20:

Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)

Options:

A.

127.0.0.0/8


B.

10.0.0.0/8


C.

169.255.0.0/16


D.

172.16.0.0/12


E.

192.168.0.0/16


Viewing page 2 out of 8 pages
Viewing questions 11-20 out of questions