Pass LPI 102-500 Exam in First Attempt Easily
Real LPI 102-500 Exam Questions, Accurate & Verified Answers As Experienced in the Actual Test!

Verified by experts
3 products

You save $69.98

102-500 Premium Bundle

  • Premium File 120 Questions & Answers
  • Last Update: Nov 10, 2026
  • Training Course 126 Lectures
  • Study Guide 962 Pages
$79.99 $149.97

Purchase Individually

  • Premium File

    120 Questions & Answers
    Last Update: Nov 10, 2026

    $76.99
    $69.99
  • Training Course

    126 Lectures

    $43.99
    $39.99
  • Study Guide

    962 Pages

    $43.99
    $39.99

LPI Level 1 102-500 Practice Test 57

Question 560

A Linux troubleshooter is gathering specific evidence for this situation: A technician changes the current shell prompt's hostname appearance but the real host identity remains unchanged after reboot. Which check MOST directly diagnoses or confirms the technical condition described?

  1. Inspect DNS packet transport, port 53 firewall counters and resolver retries.
  2. Compare ip address output with nmcli connection show for the relevant profile.
  3. Compare hostnamectl status with the effective hostname command after reboot.
  4. Inspect systemctl status systemd-networkd and networkctl status for the interface.

Explanation

Correct Answer

C:

Compare hostnamectl status with the effective hostname command after reboot. This check targets the relevant state for persisting the system hostname and directly assesses the observed behavior. The result should be evaluated against: hostnamectl reports the intended static hostname after a controlled restart.

Incorrect Answers

A:

Inspect DNS packet transport, port 53 firewall counters and resolver retries. This check is relevant to dns request transport awareness but not the most targeted diagnosis of persisting the system hostname. The specific check is: Compare hostnamectl status with the effective hostname command after reboot.

B:

Compare ip address output with nmcli connection show for the relevant profile. This check is relevant to persistent static ipv4 with networkmanager but not the most targeted diagnosis of persisting the system hostname. The specific check is: Compare hostnamectl status with the effective hostname command after reboot.

D:

Inspect systemctl status systemd-networkd and networkctl status for the interface. This check is relevant to recognizing systemd-networkd management but not the most targeted diagnosis of persisting the system hostname. The specific check is: Compare hostnamectl status with the effective hostname command after reboot.

Question 561

A Linux administrator supports a system covered by LPI exam 102-500, version 5.0: An application resolves an old local mapping even though the DNS server has the correct address for the name. Which step MOST directly corrects the specific problem described?

  1. Use resolvectl status to inspect the upstream servers managed by systemd-resolved.
  2. Configure the intended static address in the persistent NetworkManager connection profile using nmcli.
  3. Check /etc/nsswitch.conf host lookup order and remove the stale authorized /etc/hosts override.
  4. Reconcile the resolver link and configure the approved DNS servers through the actual active resolver manager.

Explanation

Correct Answer

C:

Check /etc/nsswitch.conf host lookup order and remove the stale authorized /etc/hosts override. This targets the observed issue, host lookup precedence between files and dns, rather than a separate Linux configuration. Underlying behavior: NSS host lookup may consult local files before DNS according to its configured source order. Verify the action by checking: getent hosts returns the approved effective address for the application.

Incorrect Answers

A:

Use resolvectl status to inspect the upstream servers managed by systemd-resolved. This is an appropriate response to a different issue (distinguishing a systemd-resolved stub from external dns) but does not MOST directly address the explicit host lookup precedence between files and dns failure.

B:

Configure the intended static address in the persistent NetworkManager connection profile using nmcli. This is an appropriate response to a different issue (persistent static ipv4 with networkmanager) but does not MOST directly address the explicit host lookup precedence between files and dns failure.

D:

Reconcile the resolver link and configure the approved DNS servers through the actual active resolver manager. This is an appropriate response to a different issue (resolver file managed by systemd-resolved) but does not MOST directly address the explicit host lookup precedence between files and dns failure.

Question 562

A Linux team is checking the acceptance evidence for this specific situation: An application resolves an old local mapping even though the DNS server has the correct address for the name. Which observation BEST confirms that this particular issue has been corrected?

  1. The effective resolver matches the approved servers after reconnect.
  2. The route table includes the approved default gateway and off-subnet probes succeed.
  3. The default route reappears after connection reactivation without manual commands.
  4. getent hosts returns the approved effective address for the application.

Explanation

Correct Answer

D:

getent hosts returns the approved effective address for the application. That evidence specifically demonstrates recovery from host lookup precedence between files and dns. The technical reason is: NSS host lookup may consult local files before DNS according to its configured source order.

Incorrect Answers

A:

The effective resolver matches the approved servers after reconnect. This can validate persisting dns settings through networkmanager, but it does not establish that the described host lookup precedence between files and dns issue is fixed. The case-specific evidence is: getent hosts returns the approved effective address for the application.

B:

The route table includes the approved default gateway and off-subnet probes succeed. This can validate diagnosing a missing default route, but it does not establish that the described host lookup precedence between files and dns issue is fixed. The case-specific evidence is: getent hosts returns the approved effective address for the application.

C:

The default route reappears after connection reactivation without manual commands. This can validate persisting an ipv4 default gateway, but it does not establish that the described host lookup precedence between files and dns issue is fixed. The case-specific evidence is: getent hosts returns the approved effective address for the application.

Question 563

A Linux engineer reviews the underlying behavior in this particular case: An application resolves an old local mapping even though the DNS server has the correct address for the name. Which technical behavior BEST explains this particular failure and its remedy?

  1. NSS host lookup may consult local files before DNS according to its configured source order.
  2. The hosts file provides local name-to-address mappings for clients whose NSS configuration uses it.
  3. A network manager can regenerate resolver settings from its active connection profiles.
  4. NSS host lookup order determines which source is consulted first.

Explanation

Correct Answer

A:

NSS host lookup may consult local files before DNS according to its configured source order. This Linux behavior explains the observed symptoms and supports the precise remedy: Check /etc/nsswitch.conf host lookup order and remove the stale authorized /etc/hosts override.

Incorrect Answers

B:

The hosts file provides local name-to-address mappings for clients whose NSS configuration uses it. This describes another behavior (static hosts mapping without dns changes) and does not explain the stated host lookup precedence between files and dns failure. The operative behavior is: NSS host lookup may consult local files before DNS according to its configured source order.

C:

A network manager can regenerate resolver settings from its active connection profiles. This describes another behavior (persisting dns settings through networkmanager) and does not explain the stated host lookup precedence between files and dns failure. The operative behavior is: NSS host lookup may consult local files before DNS according to its configured source order.

D:

NSS host lookup order determines which source is consulted first. This describes another behavior (correcting the hosts lookup source order) and does not explain the stated host lookup precedence between files and dns failure. The operative behavior is: NSS host lookup may consult local files before DNS according to its configured source order.

Question 564

A Linux operating control has not corrected the following specific problem: An application resolves an old local mapping even though the DNS server has the correct address for the name. Which outcome is the MOST directly associated operational risk if this problem remains?

  1. Local connectivity may mask a complete loss of Internet access.
  2. Manual resolver edits may vanish and cause intermittent name resolution.
  3. A healthy new NIC may remain unmanaged with no persistent IP configuration.
  4. Applications can connect to retired addresses despite healthy authoritative DNS.

Explanation

Correct Answer

D:

Applications can connect to retired addresses despite healthy authoritative DNS. This is the directly relevant consequence of leaving the host lookup precedence between files and dns problem unresolved. The appropriate preventive change is: Check /etc/nsswitch.conf host lookup order and remove the stale authorized /etc/hosts override.

Incorrect Answers

A:

Local connectivity may mask a complete loss of Internet access. This consequence is connected to diagnosing a missing default route rather than the MOST direct exposure in the stated host lookup precedence between files and dns problem. The specific consequence is: Applications can connect to retired addresses despite healthy authoritative DNS.

B:

Manual resolver edits may vanish and cause intermittent name resolution. This consequence is connected to persisting dns settings through networkmanager rather than the MOST direct exposure in the stated host lookup precedence between files and dns problem. The specific consequence is: Applications can connect to retired addresses despite healthy authoritative DNS.

C:

A healthy new NIC may remain unmanaged with no persistent IP configuration. This consequence is connected to networkmanager connection bound to wrong interface rather than the MOST direct exposure in the stated host lookup precedence between files and dns problem. The specific consequence is: Applications can connect to retired addresses despite healthy authoritative DNS.

Question 565

A Linux troubleshooter is gathering specific evidence for this situation: An application resolves an old local mapping even though the DNS server has the correct address for the name. Which check MOST directly diagnoses or confirms the technical condition described?

  1. Compare ip route default with nmcli connection ipv4.gateway properties.
  2. Compare getent hosts output, /etc/hosts and a direct dig query.
  3. Check nmcli device show DNS information and the effective resolv.conf ownership.
  4. Inspect UDP 123 counters and the NTP client's peer statistics.

Explanation

Correct Answer

B:

Compare getent hosts output, /etc/hosts and a direct dig query. This check targets the relevant state for host lookup precedence between files and dns and directly assesses the observed behavior. The result should be evaluated against: getent hosts returns the approved effective address for the application.

Incorrect Answers

A:

Compare ip route default with nmcli connection ipv4.gateway properties. This examines the different Linux issue 'Persisting an IPv4 default gateway', not the specific host lookup precedence between files and dns in this question. The appropriate scenario-specific evidence or remedy is: Compare getent hosts output, /etc/hosts and a direct dig query.

C:

Check nmcli device show DNS information and the effective resolv.conf ownership. This check is relevant to persisting dns settings through networkmanager but not the most targeted diagnosis of host lookup precedence between files and dns. The specific check is: Compare getent hosts output, /etc/hosts and a direct dig query.

D:

Inspect UDP 123 counters and the NTP client's peer statistics. This check is relevant to ntp port and udp transport but not the most targeted diagnosis of host lookup precedence between files and dns. The specific check is: Compare getent hosts output, /etc/hosts and a direct dig query.

Question 566

A Linux administrator supports a system covered by LPI exam 102-500, version 5.0: A training VM needs one temporary local hostname mapping, but there is no permission to edit the organization's DNS zone. Which step MOST directly corrects the specific problem described?

  1. Compare getent hosts with dig and inspect name service switch policy.
  2. Configure the intended IPv4 gateway in the persistent network profile rather than relying on a runtime ip route add.
  3. Add a narrowly scoped entry to /etc/hosts on that VM and verify NSS behavior.
  4. Identify the active network-management service and edit the appropriate systemd-networkd configuration.

Explanation

Correct Answer

C:

Add a narrowly scoped entry to /etc/hosts on that VM and verify NSS behavior. This targets the observed issue, static hosts mapping without dns changes, rather than a separate Linux configuration. Underlying behavior: The hosts file provides local name-to-address mappings for clients whose NSS configuration uses it. Verify the action by checking: getent hosts on the VM resolves the local alias without modifying external DNS records.

Incorrect Answers

A:

Compare getent hosts with dig and inspect name service switch policy. This is an appropriate response to a different issue (checking nss host resolution versus dns-only queries) but does not MOST directly address the explicit static hosts mapping without dns changes failure.

B:

Configure the intended IPv4 gateway in the persistent network profile rather than relying on a runtime ip route add. This is an appropriate response to a different issue (persisting an ipv4 default gateway) but does not MOST directly address the explicit static hosts mapping without dns changes failure.

D:

Identify the active network-management service and edit the appropriate systemd-networkd configuration. This is an appropriate response to a different issue (recognizing systemd-networkd management) but does not MOST directly address the explicit static hosts mapping without dns changes failure.

Question 567

A Linux team is checking the acceptance evidence for this specific situation: A training VM needs one temporary local hostname mapping, but there is no permission to edit the organization's DNS zone. Which observation BEST confirms that this particular issue has been corrected?

  1. The effective resolver matches the approved servers after reconnect.
  2. The two endpoint interfaces receive usable addresses from the same /30 network.
  3. getent hosts on the VM resolves the local alias without modifying external DNS records.
  4. resolvectl status and the effective resolver path agree after restart.

Explanation

Correct Answer

C:

getent hosts on the VM resolves the local alias without modifying external DNS records. That evidence specifically demonstrates recovery from static hosts mapping without dns changes. The technical reason is: The hosts file provides local name-to-address mappings for clients whose NSS configuration uses it.

Incorrect Answers

A:

The effective resolver matches the approved servers after reconnect. This can validate persisting dns settings through networkmanager, but it does not establish that the described static hosts mapping without dns changes issue is fixed. The case-specific evidence is: getent hosts on the VM resolves the local alias without modifying external DNS records.

B:

The two endpoint interfaces receive usable addresses from the same /30 network. This can validate recognizing a point-to-point ipv4 prefix, but it does not establish that the described static hosts mapping without dns changes issue is fixed. The case-specific evidence is: getent hosts on the VM resolves the local alias without modifying external DNS records.

D:

resolvectl status and the effective resolver path agree after restart. This can validate resolver file managed by systemd-resolved, but it does not establish that the described static hosts mapping without dns changes issue is fixed. The case-specific evidence is: getent hosts on the VM resolves the local alias without modifying external DNS records.

Question 568

A Linux engineer reviews the underlying behavior in this particular case: A training VM needs one temporary local hostname mapping, but there is no permission to edit the organization's DNS zone. Which technical behavior BEST explains this particular failure and its remedy?

  1. NSS host lookup may consult local files before DNS according to its configured source order.
  2. The iproute2 address view reports the kernel's current interface addressing state.
  3. Wireless association and authentication precede DHCP or static IP connectivity.
  4. The hosts file provides local name-to-address mappings for clients whose NSS configuration uses it.

Explanation

Correct Answer

D:

The hosts file provides local name-to-address mappings for clients whose NSS configuration uses it. This Linux behavior explains the observed symptoms and supports the precise remedy: Add a narrowly scoped entry to /etc/hosts on that VM and verify NSS behavior.

Incorrect Answers

A:

NSS host lookup may consult local files before DNS according to its configured source order. This describes another behavior (host lookup precedence between files and dns) and does not explain the stated static hosts mapping without dns changes failure. The operative behavior is: The hosts file provides local name-to-address mappings for clients whose NSS configuration uses it.

B:

The iproute2 address view reports the kernel's current interface addressing state. This describes another behavior (inspecting local interface addresses with iproute2) and does not explain the stated static hosts mapping without dns changes failure. The operative behavior is: The hosts file provides local name-to-address mappings for clients whose NSS configuration uses it.

C:

Wireless association and authentication precede DHCP or static IP connectivity. This describes another behavior (managing wi-fi association in networkmanager) and does not explain the stated static hosts mapping without dns changes failure. The operative behavior is: The hosts file provides local name-to-address mappings for clients whose NSS configuration uses it.

Question 569

A Linux operating control has not corrected the following specific problem: A training VM needs one temporary local hostname mapping, but there is no permission to edit the organization's DNS zone. Which outcome is the MOST directly associated operational risk if this problem remains?

  1. A mistaken global DNS change could affect unrelated users.
  2. Logs and monitoring can continue reporting an unexpected host identity.
  3. Manual resolver edits may vanish and cause intermittent name resolution.
  4. Name resolution can fail despite a reachable DNS server.

Explanation

Correct Answer

A:

A mistaken global DNS change could affect unrelated users. This is the directly relevant consequence of leaving the static hosts mapping without dns changes problem unresolved. The appropriate preventive change is: Add a narrowly scoped entry to /etc/hosts on that VM and verify NSS behavior.

Incorrect Answers

B:

Logs and monitoring can continue reporting an unexpected host identity. This consequence is connected to persisting the system hostname rather than the MOST direct exposure in the stated static hosts mapping without dns changes problem. The specific consequence is: A mistaken global DNS change could affect unrelated users.

C:

Manual resolver edits may vanish and cause intermittent name resolution. This consequence is connected to persisting dns settings through networkmanager rather than the MOST direct exposure in the stated static hosts mapping without dns changes problem. The specific consequence is: A mistaken global DNS change could affect unrelated users.

D:

Name resolution can fail despite a reachable DNS server. This consequence is connected to dns request transport awareness rather than the MOST direct exposure in the stated static hosts mapping without dns changes problem. The specific consequence is: A mistaken global DNS change could affect unrelated users.

Question 570

A Linux troubleshooter is gathering specific evidence for this situation: A training VM needs one temporary local hostname mapping, but there is no permission to edit the organization's DNS zone. Which check MOST directly diagnoses or confirms the technical condition described?

  1. Inspect /etc/hosts and the effective hosts source order.
  2. Compare ip address output with nmcli connection show for the relevant profile.
  3. Compare dig @server outputs for both resolvers and the relevant record type.
  4. Inspect resolvectl status together with resolv.conf and listener addresses.

Explanation

Correct Answer

A:

Inspect /etc/hosts and the effective hosts source order. This check targets the relevant state for static hosts mapping without dns changes and directly assesses the observed behavior. The result should be evaluated against: getent hosts on the VM resolves the local alias without modifying external DNS records.

Incorrect Answers

B:

Compare ip address output with nmcli connection show for the relevant profile. This check is relevant to persistent static ipv4 with networkmanager but not the most targeted diagnosis of static hosts mapping without dns changes. The specific check is: Inspect /etc/hosts and the effective hosts source order.

C:

Compare dig @server outputs for both resolvers and the relevant record type. This check examines querying a specific dns server directly instead of the decisive static hosts mapping without dns changes condition. Start by checking: Inspect /etc/hosts and the effective hosts source order.

D:

Inspect resolvectl status together with resolv.conf and listener addresses. This check examines distinguishing a systemd-resolved stub from external dns instead of the decisive static hosts mapping without dns changes condition. Start by checking: Inspect /etc/hosts and the effective hosts source order.

LPI Level 1 (102-500) Practice Tests

Purchase Individually

  • Premium File

    120 Questions & Answers
    Last Update: Nov 10, 2026

    $76.99
    $69.99
  • Training Course

    126 Lectures

    $43.99
    $39.99
  • Study Guide

    962 Pages

    $43.99
    $39.99

SPECIAL OFFER: GET 10% OFF
This is ONE TIME OFFER

You save
10%

Enter Your Email Address to Receive Your 10% Off Discount Code

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

Please check your mailbox for a message from support@examlabs.com and follow the directions.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

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

  • Realistic exam simulation and exam editor with preview functions
  • Whole exam in a single file with several different question types
  • Customizable exam-taking mode & detailed score reports