Pass Your LPI 102-500 Exam Easy!

LPI 102-500 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

102-500 Premium Bundle

$79.99

LPI 102-500 Premium Bundle

102-500 Premium File: 120 Questions & Answers

Last Update: Sep 30, 2026

102-500 Training Course: 126 Video Lectures

102-500 PDF Study Guide: 962 Pages

102-500 Bundle gives you unlimited access to "102-500" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
LPI 102-500 Premium Bundle
LPI 102-500 Premium Bundle

102-500 Premium File: 120 Questions & Answers

Last Update: Sep 30, 2026

102-500 Training Course: 126 Video Lectures

102-500 PDF Study Guide: 962 Pages

$79.99

102-500 Bundle gives you unlimited access to "102-500" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

LPI 102-500 Practice Test 49

Question 480

A Linux administrator faces this requirement: A local application must resolve a special test hostname to a fixed IP before public DNS lookup according to host resolution policy. Which specific action is the best direct solution?

  1. Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it.
  2. Use hostnamectl set-hostname newname on a systemd host.
  3. Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate.
  4. Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf.

Explanation

Correct Answer

D:

Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf. The mechanism is: The hosts database provides explicit local name-to-address mappings consulted by the resolver per NSS order.

Incorrect Answers

A:

Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it. That operation is designed for the different case: A corporate client must send DNS queries to a new resolver persistently under NetworkManager. It does not perform the specific action required here: Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf.

B:

Use hostnamectl set-hostname newname on a systemd host. That operation is designed for the different case: The system's static hostname must survive reboot and be reported consistently to utilities. It does not perform the specific action required here: Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf.

C:

Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate. That operation is designed for the different case: A host must consult local files before DNS for resolving service hostnames. It does not perform the specific action required here: Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf.

Question 481

The engineer proposes this implementation: Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf. The requirement is: A local application must resolve a special test hostname to a fixed IP before public DNS lookup according to host resolution policy. Which technical explanation best supports the proposed action?

  1. The hosts database provides explicit local name-to-address mappings consulted by the resolver per NSS order.
  2. systemd-networkd reads .network units for interfaces it manages; NetworkManager profile changes may not affect such a host.
  3. Resolver search domains append configured suffixes to eligible relative hostnames; they are separate from DNS server IPs.
  4. NetworkManager commonly manages resolver settings and may regenerate /etc/resolv.conf from profile data.

Explanation

Correct Answer

A:

The hosts database provides explicit local name-to-address mappings consulted by the resolver per NSS order. It specifically supports the proposed action of Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf. for the requirement described.

Incorrect Answers

B:

This explains another Linux operation, namely Configure a matching .network file under /etc/systemd/network/ and reload/reconfigure systemd-networkd., where systemd-networkd reads .network units for interfaces it manages; NetworkManager profile changes may not affect such a host. It does not explain why Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf. satisfies the stated condition.

C:

This explains another Linux operation, namely Set ipv4.dns-search for the correct connection profile and validate resolver behavior., where Resolver search domains append configured suffixes to eligible relative hostnames; they are separate from DNS server IPs. It does not explain why Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf. satisfies the stated condition.

D:

This explains another Linux operation, namely Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it., where NetworkManager commonly manages resolver settings and may regenerate /etc/resolv.conf from profile data. It does not explain why Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf. satisfies the stated condition.

Question 482

The action Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf. was applied for this goal: A local application must resolve a special test hostname to a fixed IP before public DNS lookup according to host resolution policy. Which observation provides the most direct acceptance evidence?

  1. getent hosts shortname resolves as the intended fully qualified internal name after reconnect.
  2. getent hosts testname returns the expected local IP even if DNS lacks the name.
  3. The intended profile appears active for the correct device; stale saved profiles are distinguishable.
  4. The intended profile becomes active at boot, with the expected IP and gateway.

Explanation

Correct Answer

B:

getent hosts testname returns the expected local IP even if DNS lacks the name. This checks the effect of Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf. against the stated operational goal.

Incorrect Answers

A:

That observation checks A machine must use a stable DNS search domain for unqualified internal hostnames under NetworkManager. In this scenario it does not demonstrate Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf.; the relevant evidence must establish getent hosts testname returns the expected local IP even if DNS lacks the name.

C:

That observation checks An operator needs to inspect all NetworkManager connection profiles and identify which one is active. In this scenario it does not demonstrate Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf.; the relevant evidence must establish getent hosts testname returns the expected local IP even if DNS lacks the name.

D:

That observation checks A network interface has two saved profiles with different IPv4 settings; production uses the wrong profile on boot. In this scenario it does not demonstrate Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf.; the relevant evidence must establish getent hosts testname returns the expected local IP even if DNS lacks the name.

Question 483

During validation, this problem was found: A resolv.conf nameserver was changed but the required local override is absent. The original goal was: A local application must resolve a special test hostname to a fixed IP before public DNS lookup according to host resolution policy. Which targeted correction best resolves it?

  1. Configure the search domain on the persistent network profile and verify expansion.
  2. Create or edit a persistent authenticated Wi-Fi profile and enable autoconnect.
  3. Maintain the /etc/hosts mapping and check hosts: source order.
  4. Change the managed connection DNS setting instead of an ephemeral generated resolver file.

Explanation

Correct Answer

C:

Maintain the /etc/hosts mapping and check hosts: source order. It directly addresses the observed symptom: A resolv.conf nameserver was changed but the required local override is absent. The relevant mechanism is The hosts database provides explicit local name-to-address mappings consulted by the resolver per NSS order.

Incorrect Answers

A:

This fix is aimed at The configured DNS server is reachable but a short hostname fails without its expected search suffix. and would be relevant if A machine must use a stable DNS search domain for unqualified internal hostnames under NetworkManager. The incident instead states A resolv.conf nameserver was changed but the required local override is absent. and needs Maintain the /etc/hosts mapping and check hosts: source order.

B:

This fix is aimed at Only a manual iw scan was performed; no saved connection was created. and would be relevant if A workstation Wi-Fi profile must join a secured SSID automatically after reboot. The incident instead states A resolv.conf nameserver was changed but the required local override is absent. and needs Maintain the /etc/hosts mapping and check hosts: source order.

D:

This fix is aimed at Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection. and would be relevant if A corporate client must send DNS queries to a new resolver persistently under NetworkManager. The incident instead states A resolv.conf nameserver was changed but the required local override is absent. and needs Maintain the /etc/hosts mapping and check hosts: source order.

Question 484

A Linux administrator faces this requirement: A corporate client must send DNS queries to a new resolver persistently under NetworkManager. Which specific action is the best direct solution?

  1. Adjust the correct NetworkManager connection's autoconnect behavior and priority, then activate it.
  2. Run nmcli connection show --active and compare with nmcli connection show.
  3. Set ipv4.dns-search for the correct connection profile and validate resolver behavior.
  4. Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it.

Explanation

Correct Answer

D:

Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it. The mechanism is: NetworkManager commonly manages resolver settings and may regenerate /etc/resolv.conf from profile data.

Incorrect Answers

A:

Adjust the correct NetworkManager connection's autoconnect behavior and priority, then activate it. That operation is designed for the different case: A network interface has two saved profiles with different IPv4 settings; production uses the wrong profile on boot. It does not perform the specific action required here: Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it.

B:

Run nmcli connection show --active and compare with nmcli connection show. That operation is designed for the different case: An operator needs to inspect all NetworkManager connection profiles and identify which one is active. It does not perform the specific action required here: Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it.

C:

Set ipv4.dns-search for the correct connection profile and validate resolver behavior. That operation is designed for the different case: A machine must use a stable DNS search domain for unqualified internal hostnames under NetworkManager. It does not perform the specific action required here: Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it.

Question 485

The engineer proposes this implementation: Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it. The requirement is: A corporate client must send DNS queries to a new resolver persistently under NetworkManager. Which technical explanation best supports the proposed action?

  1. NetworkManager commonly manages resolver settings and may regenerate /etc/resolv.conf from profile data.
  2. NetworkManager chooses among eligible profiles based on connection matching and autoconnect preferences.
  3. Name Service Switch controls source precedence independent of the contents of resolv.conf.
  4. NetworkManager can persist wireless credentials and connection autostart separately from transient scans.

Explanation

Correct Answer

A:

NetworkManager commonly manages resolver settings and may regenerate /etc/resolv.conf from profile data. It specifically supports the proposed action of Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it. for the requirement described.

Incorrect Answers

B:

This explains another Linux operation, namely Adjust the correct NetworkManager connection's autoconnect behavior and priority, then activate it., where NetworkManager chooses among eligible profiles based on connection matching and autoconnect preferences. It does not explain why Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it. satisfies the stated condition.

C:

This explains another Linux operation, namely Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate., where Name Service Switch controls source precedence independent of the contents of resolv.conf. It does not explain why Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it. satisfies the stated condition.

D:

This explains another Linux operation, namely Configure a NetworkManager Wi-Fi connection with the correct SSID, security and autoconnect properties., where NetworkManager can persist wireless credentials and connection autostart separately from transient scans. It does not explain why Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it. satisfies the stated condition.

Question 486

The action Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it. was applied for this goal: A corporate client must send DNS queries to a new resolver persistently under NetworkManager. Which observation provides the most direct acceptance evidence?

  1. getent hosts shortname resolves as the intended fully qualified internal name after reconnect.
  2. After reconnect, the resolver query uses the intended DNS server and persists across restart.
  3. getent hosts testname returns the expected local IP even if DNS lacks the name.
  4. nmcli connection show reports the saved manual IPv4 settings and the interface retains the address after restart.

Explanation

Correct Answer

B:

After reconnect, the resolver query uses the intended DNS server and persists across restart. This checks the effect of Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it. against the stated operational goal.

Incorrect Answers

A:

That observation checks A machine must use a stable DNS search domain for unqualified internal hostnames under NetworkManager. In this scenario it does not demonstrate Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it.; the relevant evidence must establish After reconnect, the resolver query uses the intended DNS server and persists across restart.

C:

That observation checks A local application must resolve a special test hostname to a fixed IP before public DNS lookup according to host resolution policy. In this scenario it does not demonstrate Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it.; the relevant evidence must establish After reconnect, the resolver query uses the intended DNS server and persists across restart.

D:

That observation checks A NetworkManager-managed Ethernet connection must retain its static IPv4 address after restart. In this scenario it does not demonstrate Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it.; the relevant evidence must establish After reconnect, the resolver query uses the intended DNS server and persists across restart.

Question 487

A team is validating its implementation of this requirement: A corporate client must send DNS queries to a new resolver persistently under NetworkManager. Which observed mistake most specifically identifies that the intended persistent network configuration behavior has NOT been met?

  1. A resolv.conf nameserver was changed but the required local override is absent.
  2. Only a manual iw scan was performed; no saved connection was created.
  3. Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection.
  4. A temporary hostname command succeeds but the name reverts after reboot.

Explanation

Correct Answer

C:

Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection. This shows the requested behavior is absent, so the deployment needs the correction: Change the managed connection DNS setting instead of an ephemeral generated resolver file.

Incorrect Answers

A:

That symptom concerns A local application must resolve a special test hostname to a fixed IP before public DNS lookup according to host resolution policy. This concerns a separate requirement, not the one being tested. The relevant failure is Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection. The current requirement calls for a different check.

B:

That symptom concerns A workstation Wi-Fi profile must join a secured SSID automatically after reboot. This concerns a separate requirement, not the one being tested. The relevant failure is Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection. The current requirement calls for a different check.

D:

That symptom concerns The system's static hostname must survive reboot and be reported consistently to utilities. This concerns a separate requirement, not the one being tested. The relevant failure is Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection. The current requirement calls for a different check.

Question 488

During validation, this problem was found: Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection. The original goal was: A corporate client must send DNS queries to a new resolver persistently under NetworkManager. Which targeted correction best resolves it?

  1. Set hosts: files dns in nsswitch.conf subject to system resolver policy.
  2. Edit the systemd-networkd unit for the matching interface and apply it safely.
  3. Identify the active connection profile and modify that specific entry.
  4. Change the managed connection DNS setting instead of an ephemeral generated resolver file.

Explanation

Correct Answer

D:

Change the managed connection DNS setting instead of an ephemeral generated resolver file. It directly addresses the observed symptom: Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection. The relevant mechanism is NetworkManager commonly manages resolver settings and may regenerate /etc/resolv.conf from profile data.

Incorrect Answers

A:

This fix is aimed at NSS is configured dns files and unexpectedly ignores the desired local override. and would be relevant if A host must consult local files before DNS for resolving service hostnames. The incident instead states Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection. and needs Change the managed connection DNS setting instead of an ephemeral generated resolver file.

B:

This fix is aimed at An nmcli command edits a nonexistent or unmanaged profile, leaving the interface unchanged. and would be relevant if A small host uses systemd-networkd, not NetworkManager, for its persistent wired network configuration. The incident instead states Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection. and needs Change the managed connection DNS setting instead of an ephemeral generated resolver file.

C:

This fix is aimed at The operator edits an inactive duplicate profile while the active one retains wrong settings. and would be relevant if An operator needs to inspect all NetworkManager connection profiles and identify which one is active. The incident instead states Editing generated /etc/resolv.conf is overwritten when NetworkManager reactivates the connection. and needs Change the managed connection DNS setting instead of an ephemeral generated resolver file.

Question 489

A Linux administrator faces this requirement: A host must consult local files before DNS for resolving service hostnames. Which specific action is the best direct solution?

  1. Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate.
  2. Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf.
  3. Set ipv4.dns-search for the correct connection profile and validate resolver behavior.
  4. Set ipv4.method manual with address/gateway using nmcli connection modify on the correct connection, then activate it.

Explanation

Correct Answer

A:

Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate. The mechanism is: Name Service Switch controls source precedence independent of the contents of resolv.conf.

Incorrect Answers

B:

Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf. That operation is designed for the different case: A local application must resolve a special test hostname to a fixed IP before public DNS lookup according to host resolution policy. It does not perform the specific action required here: Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate.

C:

Set ipv4.dns-search for the correct connection profile and validate resolver behavior. That operation is designed for the different case: A machine must use a stable DNS search domain for unqualified internal hostnames under NetworkManager. It does not perform the specific action required here: Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate.

D:

Set ipv4.method manual with address/gateway using nmcli connection modify on the correct connection, then activate it. That operation is designed for the different case: A NetworkManager-managed Ethernet connection must retain its static IPv4 address after restart. It does not perform the specific action required here: Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate.

Question 490

The engineer proposes this implementation: Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate. The requirement is: A host must consult local files before DNS for resolving service hostnames. Which technical explanation best supports the proposed action?

  1. The hosts database provides explicit local name-to-address mappings consulted by the resolver per NSS order.
  2. Name Service Switch controls source precedence independent of the contents of resolv.conf.
  3. NetworkManager commonly manages resolver settings and may regenerate /etc/resolv.conf from profile data.
  4. systemd-networkd reads .network units for interfaces it manages; NetworkManager profile changes may not affect such a host.

Explanation

Correct Answer

B:

Name Service Switch controls source precedence independent of the contents of resolv.conf. It specifically supports the proposed action of Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate. for the requirement described.

Incorrect Answers

A:

This explains another Linux operation, namely Add the entry in /etc/hosts and confirm the hosts source precedes DNS in nsswitch.conf., where The hosts database provides explicit local name-to-address mappings consulted by the resolver per NSS order. It does not explain why Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate. satisfies the stated condition.

C:

This explains another Linux operation, namely Set ipv4.dns on the appropriate NetworkManager connection profile and reactivate it., where NetworkManager commonly manages resolver settings and may regenerate /etc/resolv.conf from profile data. It does not explain why Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate. satisfies the stated condition.

D:

This explains another Linux operation, namely Configure a matching .network file under /etc/systemd/network/ and reload/reconfigure systemd-networkd., where systemd-networkd reads .network units for interfaces it manages; NetworkManager profile changes may not affect such a host. It does not explain why Ensure the hosts line in /etc/nsswitch.conf orders files before dns as appropriate. satisfies the stated condition.


LPI Level 1 (102-500) Practice Tests

Purchase Individually

102-500 Premium File

Premium File
102-500 Premium File
120 Q&A
$76.99$69.99

102-500 Training Video Course

Training Course
102-500 Training Video Course
126 Lectures
$27.49$24.99

102-500 Study Guide

Study Guide
102-500 Study Guide
962 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.