LPI Level 1

Here you have the best LPI 102-500 practice exam questions

  • You have 120 total questions across 24 pages (5 per page)
  • These questions were last updated on February 18, 2026
  • This site is not affiliated with or endorsed by LPI.
Question 1 of 120

FILL BLANK -
Which command is used to set the hostname of the local system? (Specify only the command without any path or parameters.)
Answer

Suggested Answer

The command to set the hostname of the local system is 'hostname'. This command allows you to both display and set the system's hostname. However, note that if you want to permanently change the hostname on a modern system using systemd, 'hostnamectl' with the 'set-hostname' parameter might be more appropriate. Without additional context or parameters, 'hostname' is the direct answer to the question.

Question 2 of 120

Which of the following is a valid IPv6 address?
Answer

Suggested Answer

The suggested answer is C.

A valid IPv6 address consists of eight groups of four hexadecimal digits, separated by colons. Hexadecimal digits include 0-9 and A-F. Address compression allows for the omission of consecutive groups of zeros through the use of a double colon (::), but this can only be used once in an address. Option C, '2001:db8:3241::1', adheres to these rules with correct use of valid hexadecimal digits and the appropriate format, making it a valid IPv6 address.

Community Votes

No votes yet

Join the discussion to cast yours

Question 3 of 120

FILL BLANK -
What command, depending on its options, can display the open TCP connections, the routing tables, as well as network interface statistics? (Specify only the command without any path or parameters.)
Answer

Suggested Answer

The command that can display open TCP connections, routing tables, as well as network interface statistics is 'netstat'. The 'netstat' command is known to provide detailed information about network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. While there are more modern alternatives such as 'ss' for socket statistics and 'ip' for managing routing tables and other network configurations, 'netstat' is the traditional command that encompasses all the features mentioned in the question.

Question 4 of 120

FILL BLANK -
Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)
Answer

Suggested Answer

The correct command is 'nmtui'. 'Nmtui' is a curses-based application part of NetworkManager, designed to provide an easy-to-use text user interface (TUI) for managing network connections directly from the command line. This interface is built using the curses programming library, making it suitable for the context described in the question. Although 'nmcli' is also a NetworkManager command-line tool, it does not use the curses library and is more focused on direct command scripting rather than providing a text-based interactive interface.

Question 5 of 120

Which if the following tools, used for DNS debugging, reports not only the response from the name sever but also details about the query?
Answer

Suggested Answer

The suggested answer is C.

The tool for DNS debugging that reports not only the response from the name server but also details about the query is 'dig'. 'dig' (Domain Information Groper) is commonly used for inspecting the DNS and provides detailed output about the query, including the question, answer, authority, and additional sections.

Community Votes2 votes
CSuggested
100%

About the LPI 102-500 Certification Exam

About the Exam

The LPI 102-500 (LPI Level 1) validates your knowledge and skills. Passing demonstrates proficiency and can boost your career prospects in the field.

How to Prepare

Work through all 120 practice questions across 24 pages. Focus on understanding the reasoning behind each answer rather than memorizing responses to be ready for any variation on the real exam.

Why Practice Exams?

Practice exams help you familiarize yourself with the question format, manage your time, and reduce anxiety on the test day. Our 102-500 questions are regularly updated to reflect the latest exam objectives.