LPI 102-500 Exam Questions

Questions for the 102-500 were updated on : Dec 08 ,2025

Page 1 out of 16. Viewing questions 1-15 out of 234

Question 1

Which of the following environment variables can be defined in locale. conf ? (Choose TWO correct
answers.)

  • A. LC_ALL
  • B. LC_USERNAME
  • C. LC_U?F8
  • D. LC_GEOGRAPHY
  • E. LC_TIME
Answer:

A, E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 2

Given the following user's cronlab entry:
15 14 * * 1-5 /usr/local/bin/example.sh be executed?
When will the script /usr/local/bin/example.sh be executed?

  • A. At 14:15 local time. January till May.
  • B. At 15:14 local time, 1st to 5th day of month.
  • C. At 14:15 local time, February till June.
  • D. At 14:15 local time, 1st to 5th day of month.
  • E. At 14:15 local time, Monday to Friday.
Answer:

E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 3

Which of the following getent invocations lists all existing users?

  • A. getent homco
  • B. getent uids
  • C. getent pmsswd
  • D. getent users
  • E. getent logins
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 4

How can a specific user be prevented from scheduling tasks with a i.?

  • A. By adding the specific user to the /etc/ at,allow file.
  • B. By adding the specific user to the [deny] section in the /etc./atd.conf file.
  • C. By adding the specific user to the nojoba group.
  • D. By adding the specific user to the /etc/at.deny file.
  • E. By executing the atd –deny [user] command.
Answer:

D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 5

If neigher cron, allow nor cron, deny exist in /etc/, which of the following is true?

  • A. Without additional configuration, all users may create user specific crontabs.
  • B. Without additional configuration, only root may create user specific crontabs.
  • C. The aon daemon will refuse to start and report missing files in the system's logfile.
  • D. When a user creates a user specific crontab the system administrator must approve it explicitly.
  • E. The default settings of /etc/crond.conf define whether or not user specific crontabs are generally allowed or not.
Answer:

E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 6

Which of the following sections exists in a systemd timer unit?

  • A. [Events]
  • B. [Timer]
  • C. [Cron]
  • D. [Schedule]
  • E. [Trigger]
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 7

Which of Ihe following commands sets the system's time zone to the Canadian Eastern Time?
A)

B)

C)

D)

E)

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
  • E. Option E
Answer:

E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 8

Which standardized TCP port is used by HTTPS services?

  • A. 25
  • B. 80
  • C. 8080
  • D. 443
  • E. 636
Answer:

D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 9

What is Irue aboul Network Manager on a Linux syslem that uses its distribution's mechanisms lo
configure network interfaces? (Choose TWO correct answers.)

  • A. NetworkManager reconfigures all network interfaces to use DHCP unless they are specifically managed by NetworkManager
  • B. NetworkManager musl be explicitly enabled for each interface it should manage.
  • C. NetworkManager by default does not change interfaces which are already configured.
  • D. NetworkManager disables all interfaces which were not configured by NetworkManager.
  • E. NetworkManager can be configured to use the distribution's network interface configuration.
Answer:

B, C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 10

Which of Ihe following slates can NetworkManager show regarding the system's network
connectivity? (Choose TWO correct answers.)

  • A. Up
  • B. Portal
  • C. full
  • D. Login-required
  • E. firewalled
Answer:

B, C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 11

Which parameter is missing in the command
Ip link act ___ dec etho
To activate the previously inactive network interface ethO? (Specrfy the parameter only without any
command, path or additional options)

Answer:

Up

User Votes:

Discussions
vote your answer:
0 / 1000

Question 12

What is the about the following command?
Nmcli device wifi connect WIFIo1

  • A. NetworkManager opens a new public hotspol with ihe SSID…
  • B. NetworkManager creates an unconfigured new virtual network interface named WlFIc1.
  • C. NetworkManager creates a new wifi connection MZTZol and activates it.
  • D. NetworkManager returns an error in case the connection WIFIlol does not exist.
  • E. NetworkManager reports an error because WiFlo1 is an invalid wifi device.
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 13

Which of Ihe following commands will delete Ihe defaull gateway from the system's IP touting table?
(Choose TWO correct answers.)

  • A. Ifconfig unaet default
  • B. Route del default
  • C. Ip route del default
  • D. Netstat –r default
  • E. Sysct1 ipv1default_gw=0
Answer:

B, C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 14

Which of the following are valid host addresses for the subnet 203.0.113.64/28? (Choose TWO
correct answers.)

  • A. 2030.113.64
  • B. 2030.113.78
  • C. 203.0.113.65
  • D. 203.0.113.80
  • E. 203.0.113.81
Answer:

B, C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 15

How does the ping command work by default?

  • A. It sends an ICMP Echo RequesI lo a remote host and warts to receive an ICMP Echo Response in return.
  • B. It sends an ARP request to a remote host and waits to receive an ARP response in return.
  • C. It sends a TCP SYN packet to a remote host and waits to receive an TCPACK response in return.
  • D. It sends a broadcast packet to all hosts on the net and waits to receive, among others, a response from the target system.
  • E. It sends a UDP packet to port 0 of the remote host and waits to receive a UDP error response in return.
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

Discussions
vote your answer:
A
B
C
D
E
0 / 1000
To page 2