Leads4pass > Lpi > LPI Certifications > 102-500 > 102-500 Online Practice Questions and Answers

102-500 Online Practice Questions and Answers

Questions 4

When the command echo $ outputs 1, which of the following statements is true?

A. It is the process ID of the echo command.

B. It is the process ID of the current shell.

C. It is the exit value of the command executed immediately before echo.

D. It is the exit value of the echo command.

Buy Now
Questions 5

How is a display manager started?

A. It is started by a user using the command startx.

B. It is started like any other system service by the init system.

C. It is started by inetd when a remote hosts connects to the X11 port.

D. It is started automatically when a X11 user logs in to the system console.

Buy Now
Questions 6

Which commands can you use to change a user's account aging information? (Choose THREE correct answers.)

A. usermod

B. passwd

C. chattr

D. chage

E. chsh

Buy Now
Questions 7

Which of the following can the chage command NOT change?

A. The number of days since January 1, 1970 after which the user's account will no longer be accessible.

B. The number of days since January 1, 1970 after which the password can change.

C. The number of days since January 1, 1970 since the password was last changed.

D. The maximum number of days during which a password is valid.

E. The number of days of inactivity after a password has expired before the account is locked.

Buy Now
Questions 8

What is true regarding the command sendmail?

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.

Buy Now
Questions 9

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.

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.

Buy Now
Questions 10

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

A. rotatelog

B. striplog

C. syslogd --rotate

D. logrotate

E. logger

Buy Now
Questions 11

Which of the following is a valid IPv6 address?

A. 2001:db8:3241::1

B. 2001::db8:4581::1

C. 2001:db8:0g41::1

D. 2001%db8%9990%%1

E. 2001.db8.819f..1

Buy Now
Questions 12

Which configuration file would be edited to change default options for the OpenSSH server?

A. /etc/ssh/sshd_config

B. /etc/ssh/ssh

C. /etc/ssh/server

D. /etc/ssh/ssh_config

E. /etc/ssh/ssh_server

Buy Now
Questions 13

Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?

A. find /usr -uid 0 -perm +4000

B. find -user root +mode +s /usr

C. find -type suid -username root -d /usr

D. find /usr -ls \*s\* -u root

E. find /usr -suid -perm +4000

Buy Now
Exam Code: 102-500
Exam Name: LPIC-1 - Exam 102 - version 5.0
Last Update: May 28, 2026
Questions: 237
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99