LPI 102-500 Practice Test 50
Question 490
A Linux administrator investigates the following system incident: An interface has a saved NetworkManager profile but fails to activate because the wrong device name and connection autostart were configured. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.
- Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately.
- Identify the active network configuration manager and express persistent settings in its supported profiles or .network files without competing managers.
- Inspect protocol-specific packet traces and socket details, run both ICMP and application-layer reachability tests, and check filtering rules.
- Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot.
- Use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot.
Explanation
Correct Answers
A:Recommended administrative action: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
D:Most direct verification evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
Incorrect Answers
B:That option would identify the active network configuration manager and express persistent settings in its supported profiles or .network files without competing managers, but it addresses a different concern. `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
C:This alternative addresses TCP versus UDP versus ICMP diagnostics, not the specific issue of NetworkManager persistent wired connection profiles: Inspect protocol-specific packet traces and socket details, run both ICMP and application-layer reachability tests, and check filtering rules.
E:This shortcut is unsafe for the present Linux issue: Use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot. `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
Question 491
On a production Linux workstation or server, a technician observes: A roaming laptop can see a secured wireless SSID but never connects because a NetworkManager profile contains an outdated secret. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.
- Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network.
- Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences.
- Identify the active network configuration manager and express persistent settings in its supported profiles or .network files without competing managers.
- Choose TCP when reliable ordered byte streams are needed, UDP for connectionless datagrams with application-level reliability as required, and ICMP for appropriate network control and diagnostics.
Explanation
Correct Answer
B:Recommended administrative action: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Incorrect Answers
A:That option would assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network, but it addresses a different concern. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
C:That option would identify the active network configuration manager and express persistent settings in its supported profiles or .network files without competing managers, but it addresses a different concern. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
D:This alternative addresses TCP versus UDP versus ICMP diagnostics, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: Choose TCP when reliable ordered byte streams are needed, UDP for connectionless datagrams with application-level reliability as required, and ICMP for appropriate network control and diagnostics. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity. Appropriate response: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Root-cause evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Independent acceptance: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
Question 492
During an LPIC-1 practice lab, the operator encounters this condition: A roaming laptop can see a secured wireless SSID but never connects because a NetworkManager profile contains an outdated secret. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.
- TCP, UDP and ICMP have different roles; UDP does not inherently acknowledge or reorder delivery and ICMP ping behavior does not establish application TCP availability.
- Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network.
- In IPv4 CIDR the prefix length specifies network bits; the remaining host bits determine subnet boundaries and usable address ranges.
- Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Explanation
Correct Answer
D:Relevant Linux operating principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Incorrect Answers
A:This alternative addresses TCP versus UDP versus ICMP diagnostics, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: TCP, UDP and ICMP have different roles; UDP does not inherently acknowledge or reorder delivery and ICMP ping behavior does not establish application TCP availability. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity. Appropriate response: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Root-cause evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Independent acceptance: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
B:This shortcut is unsafe for the present Linux issue: Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
C:This alternative addresses IPv4 CIDR network masks and subnet reachability, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: In IPv4 CIDR the prefix length specifies network bits; the remaining host bits determine subnet boundaries and usable address ranges. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity. Appropriate response: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Root-cause evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Independent acceptance: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
Question 493
A helpdesk escalation describes this Linux behavior: A roaming laptop can see a secured wireless SSID but never connects because a NetworkManager profile contains an outdated secret. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.
- Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network.
- Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes.
- Inspect interface addresses and routing, compare to the exact RFC1918 CIDR ranges, and test external source visibility where permitted.
- Check `ip -4 addr`, compute bitwise network address and broadcast boundary, and inspect `ip route get` for representative peers.
Explanation
Correct Answer
B:Most direct verification evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Incorrect Answers
A:This shortcut is unsafe for the present Linux issue: Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
C:That option would inspect interface addresses and routing, compare to the exact RFC1918 CIDR ranges, and test external source visibility where permitted, but it addresses a different concern. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
D:That option would check `ip -4 addr`, compute bitwise network address and broadcast boundary, and inspect `ip route get` for representative peers, but it addresses a different concern. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Question 494
An operations handoff identifies this problem: A roaming laptop can see a secured wireless SSID but never connects because a NetworkManager profile contains an outdated secret. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.
- Host resolution follows the documented local and DNS precedence without stale overrides for the service name.
- Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network.
- The selected transport matches reliability requirements and diagnostics distinguish blocked ICMP from a reachable TCP service.
- The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
Explanation
Correct Answer
D:Observable acceptance criterion: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Incorrect Answers
A:This alternative addresses Local hosts resolution versus DNS settings, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: Host resolution follows the documented local and DNS precedence without stale overrides for the service name. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity. Appropriate response: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Root-cause evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Independent acceptance: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
B:This shortcut is unsafe for the present Linux issue: Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network. It cannot establish a safe correction. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
C:This alternative addresses TCP versus UDP versus ICMP diagnostics, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: The selected transport matches reliability requirements and diagnostics distinguish blocked ICMP from a reachable TCP service. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity. Appropriate response: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Root-cause evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Independent acceptance: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
Question 495
A team maintaining a Linux host reports: A roaming laptop can see a secured wireless SSID but never connects because a NetworkManager profile contains an outdated secret. Which misleading assumption MOST directly contributes to this failure and should be rejected? Select ONE best answer.
- Assume UDP automatically retries dropped packets and that failure of ping always means every TCP application on the destination is unreachable.
- Assume any file under /etc/systemd/network will control an interface regardless of which network manager actually owns the device.
- Assume editing /etc/resolv.conf always overrides a conflicting /etc/hosts entry regardless of NSS hosts order.
- Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network.
Explanation
Correct Answer
D:Reject this specific misconception: Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network. It incorrectly assumes behavior that conflicts with the observed Linux conditions.
Incorrect Answers
A:That option would assume UDP automatically retries dropped packets and that failure of ping always means every TCP application on the destination is unreachable, but it addresses a different concern. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
B:That option would assume any file under /etc/systemd/network will control an interface regardless of which network manager actually owns the device, but it addresses a different concern. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
C:This alternative addresses Local hosts resolution versus DNS settings, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: Assume editing /etc/resolv.conf always overrides a conflicting /etc/hosts entry regardless of NSS hosts order.
Question 496
While verifying a Linux change request, an engineer finds: A machine joins an open guest network when an approved WPA2-enterprise connection should be preferred after restart. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.
- Use `ip link` and `ip addr` to examine and adjust temporary interface state and repair the persistent manager configuration where required.
- Inspect `ip route` and selected `ip route get`, then set or repair the appropriate default route in the active manager or with `ip route` for a controlled temporary change.
- Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network.
- Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences.
Explanation
Correct Answer
D:Recommended administrative action: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences.
Incorrect Answers
A:That option would use `ip link` and `ip addr` to examine and adjust temporary interface state and repair the persistent manager configuration where required, but it addresses a different concern. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
B:This alternative addresses Linux routing tables and default gateway selection, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: Inspect `ip route` and selected `ip route get`, then set or repair the appropriate default route in the active manager or with `ip route` for a controlled temporary change. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity. Appropriate response: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Root-cause evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Independent acceptance: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
C:This shortcut is unsafe for the present Linux issue: Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Question 497
A Linux administrator investigates the following system incident: A machine joins an open guest network when an approved WPA2-enterprise connection should be preferred after restart. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.
- Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network.
- TCP, UDP and ICMP have different roles; UDP does not inherently acknowledge or reorder delivery and ICMP ping behavior does not establish application TCP availability.
- Name Service Switch controls whether hosts files and DNS are queried and in what order, while resolv.conf primarily identifies recursive resolver configuration.
- Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Explanation
Correct Answer
D:Relevant Linux operating principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Incorrect Answers
A:This shortcut is unsafe for the present Linux issue: Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network. It cannot establish a safe correction. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
B:This alternative addresses TCP versus UDP versus ICMP diagnostics, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: TCP, UDP and ICMP have different roles; UDP does not inherently acknowledge or reorder delivery and ICMP ping behavior does not establish application TCP availability. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity. Appropriate response: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Root-cause evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Independent acceptance: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
C:This alternative addresses Local hosts resolution versus DNS settings, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: Name Service Switch controls whether hosts files and DNS are queried and in what order, while resolv.conf primarily identifies recursive resolver configuration. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity. Appropriate response: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Root-cause evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Independent acceptance: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
Question 498
On a production Linux workstation or server, a technician observes: A machine joins an open guest network when an approved WPA2-enterprise connection should be preferred after restart. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.
- Inspect `systemctl` service state, NetworkManager device management, /etc/systemd/network and active connection profiles alongside `ip` state.
- Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network.
- Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes.
- Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot.
Explanation
Correct Answer
C:Most direct verification evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes.
Incorrect Answers
A:This alternative addresses NetworkManager and systemd-networkd configuration ownership, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: Inspect `systemctl` service state, NetworkManager device management, /etc/systemd/network and active connection profiles alongside `ip` state.
B:This shortcut is unsafe for the present Linux issue: Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network. It cannot establish a safe correction. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity. Appropriate response: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Root-cause evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Independent acceptance: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
D:That option would inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot, but it addresses a different concern. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Question 499
During an LPIC-1 practice lab, the operator encounters this condition: A machine joins an open guest network when an approved WPA2-enterprise connection should be preferred after restart. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.
- The host reports the approved name consistently and local resolution returns the correct intended addresses.
- The selected transport matches reliability requirements and diagnostics distinguish blocked ICMP from a reachable TCP service.
- Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network.
- The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
Explanation
Correct Answer
D:Observable acceptance criterion: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
Incorrect Answers
A:This alternative addresses Hostnamectl and durable host identification, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: The host reports the approved name consistently and local resolution returns the correct intended addresses.
B:This alternative addresses TCP versus UDP versus ICMP diagnostics, not the specific issue of NetworkManager Wi-Fi authentication and saved profiles: The selected transport matches reliability requirements and diagnostics distinguish blocked ICMP from a reachable TCP service. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity. Appropriate response: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Root-cause evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Independent acceptance: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
C:This shortcut is unsafe for the present Linux issue: Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Question 500
A helpdesk escalation describes this Linux behavior: A machine joins an open guest network when an approved WPA2-enterprise connection should be preferred after restart. Which THREE elements together give the appropriate corrective action, direct diagnostic evidence and observable acceptance result? Select THREE answers.
- Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes.
- Inspect `ip -br link`, `ip address show`, carrier state and manager logs before and after a controlled interface activation.
- The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration.
- Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network.
- Map required common services to their correct transport and port, including SSH 22/TCP, HTTP 80/TCP, HTTPS 443/TCP and DNS 53/UDP or TCP where used.
- Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences.
Explanation
Correct Answers
A:Most direct verification evidence: Inspect available SSIDs, connection authentication settings, device state, connection activation logs and effective routes. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
C:Observable acceptance criterion: The device associates to the approved wireless network, authenticates successfully and receives the expected network configuration. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
F:Recommended administrative action: Inspect and configure the appropriate `nmcli device wifi` and connection profile settings with approved authentication, secrets and autoconnect preferences. Linux principle: Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
Incorrect Answers
B:That option would inspect `ip -br link`, `ip address show`, carrier state and manager logs before and after a controlled interface activation, but it addresses a different concern. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
D:This shortcut is unsafe for the present Linux issue: Assume a displayed Wi-Fi SSID guarantees valid credentials and that any automatically connected access point is the approved enterprise network. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.
E:That option would map required common services to their correct transport and port, including SSH 22/TCP, HTTP 80/TCP, HTTPS 443/TCP and DNS 53/UDP or TCP where used, but it addresses a different concern. Wireless association, authentication and IP configuration are distinct stages; an SSID's visibility does not establish authorized connectivity.