ExamGecko
Home Home / LPI / 102-500

LPI 102-500 Practice Test - Questions Answers, Page 19

Question list
Search
Search

Which option in the chrony configuration file changes the initial interval of polls to a NTP server in order to speed up the initial synchronization?

A.
iburst
A.
iburst
Answers
B.
quickstart
B.
quickstart
Answers
C.
fast
C.
fast
Answers
D.
D. fsync
D.
D. fsync
Answers
E.
flood
E.
flood
Answers
Suggested answer: A

What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)

A.
/etc/cups/ cups-files.conf
A.
/etc/cups/ cups-files.conf
Answers
Suggested answer: A

Which of the following commands lists all queued print jobs?

A.
lpd
A.
lpd
Answers
B.
lpr
B.
lpr
Answers
C.
lp
C.
lp
Answers
D.
lsq
D.
lsq
Answers
E.
lpq
E.
lpq
Answers
Suggested answer: E

Which of the following entries in /etc/syslog.conf writes all mail related events to the file

/var/log/maillog and sends all critical events to the remote server logger.example.com?

A.
mail.*/var/log/maillogmail,[email protected]
A.
mail.*/var/log/maillogmail,[email protected]
Answers
B.
mail.*/var/log/maillogmail.critsyslog://logger.example.org
B.
mail.*/var/log/maillogmail.critsyslog://logger.example.org
Answers
C.
mail/var/log/[email protected]
C.
mail/var/log/[email protected]
Answers
D.
mail.*/var/log/[email protected]
D.
mail.*/var/log/[email protected]
Answers
E.
mail */var/log/maillogmail [email protected]
E.
mail */var/log/maillogmail [email protected]
Answers
Suggested answer: D

Which of the following protocols is related to the term open relay?

A.
SMTP
A.
SMTP
Answers
B.
POP3
B.
POP3
Answers
C.
NTP
C.
NTP
Answers
D.
IMAP
D.
IMAP
Answers
E.
LDAP
E.
LDAP
Answers
Suggested answer: A

Which of the following commands displays all environment and shell variables?

A.
getargs
A.
getargs
Answers
B.
lsenv
B.
lsenv
Answers
C.
ls
C.
ls
Answers
D.
env
D.
env
Answers
E.
lsshell
E.
lsshell
Answers
Suggested answer: D

Which of the following comparison operators for test work on elements in the file system? (Choose two.)

A.
-z
A.
-z
Answers
B.
-eq
B.
-eq
Answers
C.
-d
C.
-d
Answers
D.
-f
D.
-f
Answers
E.
-lt
E.
-lt
Answers
Suggested answer: C, D

What the echo $$ command?

A.
The process ID of the current shell.
A.
The process ID of the current shell.
Answers
B.
The process ID for the following command.
B.
The process ID for the following command.
Answers
C.
The process ID of the last command executed.
C.
The process ID of the last command executed.
Answers
D.
The process ID of the last command which has been placed in the background.
D.
The process ID of the last command which has been placed in the background.
Answers
E.
The process ID of the echo command.
E.
The process ID of the echo command.
Answers
Suggested answer: A

What output is produced by the following command sequence? echo '1 2 3 4 5 6' | while read a b c; do echo result $c $b $a; done

A.
result: 6 5 4
A.
result: 6 5 4
Answers
B.
result: 1 2 3 4 5 6
B.
result: 1 2 3 4 5 6
Answers
C.
result: 3 4 5 6 2 1
C.
result: 3 4 5 6 2 1
Answers
D.
result: 6 5 4 3 2 1
D.
result: 6 5 4 3 2 1
Answers
E.
result: 3 2 1
E.
result: 3 2 1
Answers
Suggested answer: C

What is the purpose of TCP wrapper?

A.
Manage and adjust bandwidth used by TCP services.
A.
Manage and adjust bandwidth used by TCP services.
Answers
B.
Bind a network service to a TCP port.
B.
Bind a network service to a TCP port.
Answers
C.
Encapsulate TCP messages in IP packets.
C.
Encapsulate TCP messages in IP packets.
Answers
D.
Add SSL support to plain text TCP services.
D.
Add SSL support to plain text TCP services.
Answers
E.
Limit access to a network service.
E.
Limit access to a network service.
Answers
Suggested answer: E
Total 194 questions
Go to page: of 20