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

Viewing page 4 out of 8 pages
Viewing questions 31-40 out of questions
Questions # 31:

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)

Options:

A.

find /tmp -uid root -print


B.

find -path /tmp -uid root


C.

find /tmp -user root -print


D.

find/tmp -user root


E.

find -path /tmp -user root –print


Questions # 32:

Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)


Questions # 33:

Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)


Questions # 34:

What is the purpose of the nsswitch.conf file?

Options:

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.


Questions # 35:

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

Options:

A.

xkb


B.

atkb


C.

GOK


D.

xOSK


Questions # 36:

In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)


Questions # 37:

The script, script.sh, consists of the following lines:

#!/bin/bash

echo $2 $1

Which output will appear if the command, ./script.sh test1 test2, is entered?

Options:

A.

test1 test2


B.

test2 test1


C.

script.sh test2


D.

script.sh test1


E.

test1 script.sh


Questions # 38:

In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)

Options:

A.

cat /proc/self/mounts


B.

free


C.

mount


D.

lsmounts


E.

cat /proc/filesystems


Questions # 39:

Which command displays a list of allbackground tasks running in the current shell? (Specify ONLY the command without any path or parameters.)


Questions # 40:

Which of the following statements is correct regarding the command foo 1> bar?

Options:

A.

The stdout from the command foo is appended to the file bar.


B.

The stdout from the command foo overwrites the file bar.


C.

The commandfoo receives its stdin from the file bar.


D.

The command foo receives its stdin from the stdout of the command bar.


E.

The stderr from the command foo is saved to the file bar.


Viewing page 4 out of 8 pages
Viewing questions 31-40 out of questions