LPI 102-500 Practice Test 49
Question 480
An operations handoff identifies this problem: A network engineer uses a random IPv4-style netmask for an IPv6 /64 configuration and cannot identify on-link peers. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.
- Inspect interface addresses and routing, compare to the exact RFC1918 CIDR ranges, and test external source visibility where permitted.
- Inspect `ip -6 addr`, `ip -6 route`, router advertisements and a scoped ping6 to the link-local destination.
- Assume fe80:: addresses are globally routable and that an IPv4 dotted-decimal netmask is required for every IPv6 interface.
- 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.
- Configure and interpret IPv6 addresses and prefix lengths correctly and supply a scope interface for link-local communication when needed.
Explanation
Correct Answers
B:Most direct verification evidence: Inspect `ip -6 addr`, `ip -6 route`, router advertisements and a scoped ping6 to the link-local destination. Linux principle: IPv6 commonly uses 128-bit addresses and prefix notation; fe80::/10 link-local addresses are limited to one link and typically need an interface zone for selection.
E:Recommended administrative action: Configure and interpret IPv6 addresses and prefix lengths correctly and supply a scope interface for link-local communication when needed. Linux principle: IPv6 commonly uses 128-bit addresses and prefix notation; fe80::/10 link-local addresses are limited to one link and typically need an interface zone for selection.
Incorrect Answers
A:This alternative addresses RFC1918 private addressing and internet routing, not the specific issue of IPv6 addressing link-local scope and prefix rules: Inspect interface addresses and routing, compare to the exact RFC1918 CIDR ranges, and test external source visibility where permitted. Linux principle: IPv6 commonly uses 128-bit addresses and prefix notation; fe80::/10 link-local addresses are limited to one link and typically need an interface zone for selection.
C:This shortcut is unsafe for the present Linux issue: Assume fe80:: addresses are globally routable and that an IPv4 dotted-decimal netmask is required for every IPv6 interface. IPv6 commonly uses 128-bit addresses and prefix notation; fe80::/10 link-local addresses are limited to one link and typically need an interface zone for selection.
D: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. IPv6 commonly uses 128-bit addresses and prefix notation; fe80::/10 link-local addresses are limited to one link and typically need an interface zone for selection.
Question 481
A team maintaining a Linux host reports: An engineer sets a static IP using `ip addr add`, reboots, and loses the address because no persistent NetworkManager connection was modified. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.
- Review hosts lookup precedence in nsswitch.conf and maintain the correct /etc/hosts and resolver settings for each source.
- Use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot.
- Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately.
- 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.
Explanation
Correct Answer
C:Recommended administrative action: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately.
Incorrect Answers
A:That option would review hosts lookup precedence in nsswitch.conf and maintain the correct /etc/hosts and resolver settings for each source, but it addresses a different concern. `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
B: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.
D:This alternative addresses Linux routing tables and default gateway selection, not the specific issue of NetworkManager persistent wired connection 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: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts. Appropriate response: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately. Root-cause evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot. Independent acceptance: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
Question 482
While verifying a Linux change request, an engineer finds: An engineer sets a static IP using `ip addr add`, reboots, and loses the address because no persistent NetworkManager connection was modified. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.
- Use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot.
- Routing chooses destination paths from installed route prefixes and metrics; a correct local interface address alone does not establish off-link connectivity.
- `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
- RFC1918 private IPv4 ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16; not every 172.x or 192.x address is private.
Explanation
Correct Answer
C:Relevant Linux operating principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
Incorrect Answers
A:That option would use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot, but it addresses a different concern. Independent acceptance: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
B:This alternative addresses Linux routing tables and default gateway selection, not the specific issue of NetworkManager persistent wired connection profiles: Routing chooses destination paths from installed route prefixes and metrics; a correct local interface address alone does not establish off-link connectivity. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts. Appropriate response: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately. Root-cause evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot. Independent acceptance: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
D:This alternative addresses RFC1918 private addressing and internet routing, not the specific issue of NetworkManager persistent wired connection profiles: RFC1918 private IPv4 ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16; not every 172.x or 192.x address is private. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts. Appropriate response: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately. Root-cause evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot. Independent acceptance: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
Question 483
A Linux administrator investigates the following system incident: An engineer sets a static IP using `ip addr add`, reboots, and loses the address because no persistent NetworkManager connection was modified. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.
- Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot.
- Inspect protocol-specific packet traces and socket details, run both ICMP and application-layer reachability tests, and check filtering rules.
- Inspect `ss -ltnp`, service bind configuration, local and remote connection attempts and firewall rules.
- Use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot.
Explanation
Correct Answer
A:Most direct verification evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot.
Incorrect Answers
B: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.
C:This alternative addresses Listening sockets with ss and netcat testing, not the specific issue of NetworkManager persistent wired connection profiles: Inspect `ss -ltnp`, service bind configuration, local and remote connection attempts and firewall rules.
D: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. It cannot establish a safe correction.
Question 484
On a production Linux workstation or server, a technician observes: An engineer sets a static IP using `ip addr add`, reboots, and loses the address because no persistent NetworkManager connection was modified. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.
- The selected transport matches reliability requirements and diagnostics distinguish blocked ICMP from a reachable TCP service.
- Required traffic uses only documented service ports and protocols while irrelevant exposure stays blocked.
- Use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot.
- The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
Explanation
Correct Answer
D:Observable acceptance criterion: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
Incorrect Answers
A:This alternative addresses TCP versus UDP versus ICMP diagnostics, not the specific issue of NetworkManager persistent wired connection profiles: The selected transport matches reliability requirements and diagnostics distinguish blocked ICMP from a reachable TCP service. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts. Appropriate response: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately. Root-cause evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot. Independent acceptance: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
B:This alternative addresses Well-known TCP UDP port mapping, not the specific issue of NetworkManager persistent wired connection profiles: Required traffic uses only documented service ports and protocols while irrelevant exposure stays blocked.
C: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. It cannot establish a safe correction. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
Question 485
During an LPIC-1 practice lab, the operator encounters this condition: An engineer sets a static IP using `ip addr add`, reboots, and loses the address because no persistent NetworkManager connection was modified. Which misleading assumption MOST directly contributes to this failure and should be rejected? 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.
- Use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot.
- Assume an active systemd service implies TCP listener availability on every interface and omit direct socket inspection.
- Assume fe80:: addresses are globally routable and that an IPv4 dotted-decimal netmask is required for every IPv6 interface.
Explanation
Correct Answer
B:Reject this specific misconception: Use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot. It incorrectly assumes behavior that conflicts with the observed Linux conditions.
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. `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
C:That option would assume an active systemd service implies TCP listener availability on every interface and omit direct socket inspection, but it addresses a different concern. `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
D:That option would assume fe80:: addresses are globally routable and that an IPv4 dotted-decimal netmask is required for every IPv6 interface, but it addresses a different concern. `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
Question 486
A helpdesk escalation describes this Linux behavior: An interface has a saved NetworkManager profile but fails to activate because the wrong device name and connection autostart were configured. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.
- Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately.
- Configure and interpret IPv6 addresses and prefix lengths correctly and supply a scope interface for link-local communication when needed.
- 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.
- Use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot.
Explanation
Correct Answer
A:Recommended administrative action: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately.
Incorrect Answers
B:That option would configure and interpret IPv6 addresses and prefix lengths correctly and supply a scope interface for link-local communication when needed, 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 Linux routing tables and default gateway selection, not the specific issue of NetworkManager persistent wired connection 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: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts. Appropriate response: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately. Root-cause evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot. Independent acceptance: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
D: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 487
An operations handoff identifies this problem: An interface has a saved NetworkManager profile but fails to activate because the wrong device name and connection autostart were configured. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.
- Different Linux networking managers apply persistent interface settings through their own configurations; conflicting ownership can cause changes to be ignored or overwritten.
- 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.
- A running process does not prove it is listening on the expected socket or interface; TCP and UDP socket state and bind address matter.
Explanation
Correct Answer
C:Relevant Linux operating principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
Incorrect Answers
A:This alternative addresses NetworkManager and systemd-networkd configuration ownership, not the specific issue of NetworkManager persistent wired connection profiles: Different Linux networking managers apply persistent interface settings through their own configurations; conflicting ownership can cause changes to be ignored or overwritten. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts. Appropriate response: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately. Root-cause evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot. Independent acceptance: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
B: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. It cannot establish a safe correction. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
D:This alternative addresses Listening sockets with ss and netcat testing, not the specific issue of NetworkManager persistent wired connection profiles: A running process does not prove it is listening on the expected socket or interface; TCP and UDP socket state and bind address matter. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts. Appropriate response: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately. Root-cause evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot. Independent acceptance: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
Question 488
A team maintaining a Linux host reports: An interface has a saved NetworkManager profile but fails to activate because the wrong device name and connection autostart were configured. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.
- Inspect `ss -ltnp`, service bind configuration, local and remote connection attempts and firewall rules.
- Check `ip -4 addr`, compute bitwise network address and broadcast boundary, and inspect `ip route get` for representative peers.
- 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 Answer
C:Most direct verification evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot.
Incorrect Answers
A:This alternative addresses Listening sockets with ss and netcat testing, not the specific issue of NetworkManager persistent wired connection profiles: Inspect `ss -ltnp`, service bind configuration, local and remote connection attempts and firewall rules.
B: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. `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts.
D: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. It cannot establish a safe correction. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts. Appropriate response: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately. Root-cause evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot. Independent acceptance: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
Question 489
While verifying a Linux change request, an engineer finds: An interface has a saved NetworkManager profile but fails to activate because the wrong device name and connection autostart were configured. 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 intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
- The intended link is administratively up with the expected address and persistent configuration remains stable after service restart.
- Use only a transient `ip addr add` command and expect NetworkManager to persist it automatically after every reboot.
Explanation
Correct Answer
B:Observable acceptance criterion: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
Incorrect Answers
A:This alternative addresses Hostnamectl and durable host identification, not the specific issue of NetworkManager persistent wired connection profiles: The host reports the approved name consistently and local resolution returns the correct intended addresses.
C:This alternative addresses Ip command address and link troubleshooting, not the specific issue of NetworkManager persistent wired connection profiles: The intended link is administratively up with the expected address and persistent configuration remains stable after service restart. Linux principle: `ip` changes running kernel networking state, while NetworkManager connection profiles define persistent settings managed across restarts. Appropriate response: Use `nmcli connection` to edit the correct NetworkManager profile's IPv4 method, addresses, gateway and activation settings, then reapply deliberately. Root-cause evidence: Inspect `nmcli connection show`, device status, saved connection properties, live `ip addr` and route after reconnect or reboot. Independent acceptance: The intended profile reconnects after a restart with the correct address, gateway and DNS while unrelated devices remain intact.
D: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 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.