ExamGecko
Home Home / LPI / 102-500

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

Question list
Search
Search

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)

A.
lpq,/usr/bin/lpq, lpstat,/usr/bin/lpstat
A.
lpq,/usr/bin/lpq, lpstat,/usr/bin/lpstat
Answers
Suggested answer: A

Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)

A.
Synchronize the hardware and system clocks.
A.
Synchronize the hardware and system clocks.
Answers
B.
Output date and time in different formats.
B.
Output date and time in different formats.
Answers
C.
Set the system clock.
C.
Set the system clock.
Answers
D.
Set the hardware clock.
D.
Set the hardware clock.
Answers
E.
Update the time via NTP.
E.
Update the time via NTP.
Answers
Suggested answer: B, C

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

A.
local7
A.
local7
Answers
B.
mail
B.
mail
Answers
C.
advanced
C.
advanced
Answers
D.
postmaster
D.
postmaster
Answers
E.
remote
E.
remote
Answers
Suggested answer: A, B

What is the purpose of the command mailq?

A.
It fetches new emails from a remote server using POP3 or IMAP.
A.
It fetches new emails from a remote server using POP3 or IMAP.
Answers
B.
It is a multi-user mailing list manager.
B.
It is a multi-user mailing list manager.
Answers
C.
It is a proprietary tool contained only in the qmail MTA.
C.
It is a proprietary tool contained only in the qmail MTA.
Answers
D.
It queries the mail queue of the local MTA.
D.
It queries the mail queue of the local MTA.
Answers
E.
It is a command-line based tool for reading and writing emails.
E.
It is a command-line based tool for reading and writing emails.
Answers
Suggested answer: D

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

A.
cups-devices.conf
A.
cups-devices.conf
Answers
B.
snmp.conf
B.
snmp.conf
Answers
C.
printcap.conf
C.
printcap.conf
Answers
D.
printers.conf
D.
printers.conf
Answers
E.
cupsd.conf
E.
cupsd.conf
Answers
Suggested answer: D

What is true regarding the command sendmail?

A.
With any MTA, the sendmail command must be run periodically by the cron daemon.
A.
With any MTA, the sendmail command must be run periodically by the cron daemon.
Answers
B.
All MTAs, including Postfix and Exim, provide a sendmail command.
B.
All MTAs, including Postfix and Exim, provide a sendmail command.
Answers
C.
The sendmail command prints the MTAs queue history of which mails have been sent successfully.
C.
The sendmail command prints the MTAs queue history of which mails have been sent successfully.
Answers
D.
It is only available when the sendmail MTA is installed.
D.
It is only available when the sendmail MTA is installed.
Answers
Suggested answer: B

After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)

A.
newaliases, sendmail -bi
A.
newaliases, sendmail -bi
Answers
Suggested answer: A

Why is the correct configuration of a system's time zone important?

A.
Because the conversion of Unix timestamps to local time relies on the time zone configuration.
A.
Because the conversion of Unix timestamps to local time relies on the time zone configuration.
Answers
B.
Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.
B.
Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.
Answers
C.
Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.
C.
Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.
Answers
D.
Because NTP chooses servers nearby based on the configured time zone.
D.
Because NTP chooses servers nearby based on the configured time zone.
Answers
Suggested answer: A

Which of the following parameters are used for journalctl to limit the time frame of the output?

(Choose TWO correct answers.)

A.
--from=
A.
--from=
Answers
B.
--since=
B.
--since=
Answers
C.
--until=
C.
--until=
Answers
D.
--upto=
D.
--upto=
Answers
E.
--date=
E.
--date=
Answers
Suggested answer: B, C

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

A.
Postfix
A.
Postfix
Answers
B.
Procmail
B.
Procmail
Answers
C.
Sendmail
C.
Sendmail
Answers
D.
Exim
D.
Exim
Answers
E.
SMTPd
E.
SMTPd
Answers
Suggested answer: A, C, D
Total 194 questions
Go to page: of 20