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

Free LPI 102-500 Practice Exam with Questions & Answers | Set: 6

Questions 51

What is true regarding the command sendmail?

Options:
A.

With any MTA, the sendmail command must be run periodically by the cron daemon.

B.

All MTAs, including Postfix and Exim, provide a sendmail command.

C.

The sendmail command prints the MTAs queue history of which mails have been sent successfully.

D.

It is only available when the sendmail MTA is installed.

LPI 102-500 Premium Access
Questions 52

Which of the following commands is used to rotate, compress, and mail system logs?

Options:
A.

rotatelog

B.

striplog

C.

syslogd --rotate

D.

logrotate

E.

logger

Questions 53

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.)

Options:
Questions 54

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

Options:
A.

Because the conversion of Unix timestamps to local time relies on the time zone configuration.

B.

Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.

C.

Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.

D.

Because NTP chooses servers nearby based on the configured time zone.

Questions 55

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 56

Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

Options:
A.

lpd

B.

lpp

C.

lpq

D.

lpr

Questions 57

What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

Options:
A.

*.* /dev/tty12

B.

/var/log/messages | /dev/tty12

C.

| /dev/tty12

D.

syslog tty12

E.

mail.* /dev/tty12

Questions 58

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.)

Options:
Questions 59

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 60

What is true about the file /etc/localtime?

Options:
A.

It is a plain text file containing a string such as Europe/Berlin

B.

It is created and maintained by the NTP service based on the location of the system’s IP address.

C.

It is a symlink to /sys/device/clock/ltime and always contains the current local time.

D.

After changing this file, newtzconfig has to be run to make the changes effective.

E.

It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.

Exam Code: 102-500
Certification Provider: LPI
Exam Name: LPIC-1 Exam 102, Part 2 of 2, version 5.0
Last Update: Mar 28, 2025
Questions: 235