Question 80
A filesystem is mounted read-only, and maintenance requires switching it to read/write without unmounting. Which action changes the mount?
- autofs automount map
- mount -o remount,rw /srv
- mount -a
- Filesystem UUID= entry
Explanation
Correct Answer
B:A remount updates applicable mount flags for an existing filesystem. Read/write operation also requires that the underlying device and filesystem state allow writes.
Incorrect Answers
A:autofs uses automount maps to mount supported resources when needed, often releasing idle mounts later; the requirement is altering a mounted filesystem to read/write, outside the effect of this choice.
C:mount -a processes mount entries from fstab that are eligible for automatic mounting; the evidence calls for altering a mounted filesystem to read/write, not merely this separate operation.
D:A filesystem UUID generally identifies the filesystem independently of transient kernel device numbering; the task involves altering a mounted filesystem to read/write, whereas this addresses another subsystem.
Question 81
A server needs a one-time scan for reachable TCP ports on an authorized test host. Which tool is designed for port discovery?
- ethtool eth0
- nmap -sT host.example
- curl -I https://example.org
- iperf3
Explanation
Correct Answer
B:Nmap probes network ports and reports reachability and service hints. Scanning should be confined to systems for which authorization exists.
Incorrect Answers
A:ethtool reads link properties exposed by the Ethernet driver, including negotiated speed and duplex; that is not equivalent to enumerating reachable ports on an approved host.
C:curl -I requests response headers using an HTTP HEAD request where supported; it answers a neighboring question rather than enumerating reachable ports on an approved host.
D:iperf3 sends measurement traffic between endpoints and reports throughput metrics; that changes a different part of the system; the requested outcome is enumerating reachable ports on an approved host.
Question 82
A remote host has an addressing problem. The technician must review interface IP assignments AND the installed routing table. Which TWO commands provide these views? Choose TWO.
- ping -c 4 192.0.2.20
- ip route show
- nmap -sT host.example
- ethtool eth0
- ip address show dev eth0
Explanation
Correct Answers
B:ip route show reports routes and next-hop decisions currently held by the kernel, including destination prefixes and gateways. ip address show separately reveals which addresses and prefixes are attached to the interface.
E:ip address displays interface addresses and prefixes from the kernel. It does not itself test DNS resolution or external reachability.
Incorrect Answers
A:ping sends ICMP echo probes and measures round-trip timing; it will not provide inspecting both active interface addresses and kernel routes under these conditions.
C:Nmap probes network ports and reports reachability and service hints; the requirement is inspecting both active interface addresses and kernel routes, outside the effect of this choice.
D:ethtool reads link properties exposed by the Ethernet driver, including negotiated speed and duplex; it does not deliver inspecting both active interface addresses and kernel routes, which is decisive in this scenario.
Question 83
A newly created IPv6-only host requires the corresponding loopback address for local IPC. Which literal is correct?
- 127.0.0.1
- ip -6 addr show dev eth0
- ::1
- hostname
- Default route 0.0.0.0/0
Explanation
Correct Answer
C:The IPv6 loopback address is ::1/128 and remains entirely on the local machine. It is the IPv6 counterpart of 127.0.0.1.
Incorrect Answers
A:The IPv4 loopback address accepts local-host connections but is not routed over the external network; the task involves naming the IPv6 loopback endpoint, whereas this addresses another subsystem.
B:The -6 flag restricts ip output to the IPv6 address family; its scope differs from naming the IPv6 loopback endpoint, so it cannot meet the stated requirement.
D:hostname prints the host's current name as understood by the system; the administrator instead needs naming the IPv6 loopback endpoint; this option serves a different purpose.
E:The default IPv4 route is a fallback used after more specific routes are considered; it answers a neighboring question rather than naming the IPv6 loopback endpoint.
Question 84
A host needs a quick local hostname override before querying DNS. Which file normally defines static host mappings?
- hosts: entry in /etc/nsswitch.conf
- netplan try
- /etc/hosts
- nmcli connection modify
Explanation
Correct Answer
C:The hosts file provides local name-to-address entries consulted according to NSS ordering. It does not publish a name to other DNS clients.
Incorrect Answers
A:Name Service Switch specifies the source order for lookups such as hosts and users; that changes a different part of the system; the requested outcome is defining a local hostname mapping.
B:netplan try temporarily applies a candidate configuration and reverts it if not confirmed; this does not achieve defining a local hostname mapping on the system described.
D:nmcli edits NetworkManager connection profiles, including addresses, gateways and DNS; using it would leave defining a local hostname mapping unresolved.
Question 85
A system administrator needs to see the active Netplan-managed interface configuration rather than only YAML files. Which command fits?
- hosts: entry in /etc/nsswitch.conf
- netplan status
- nmcli connection show
- netplan try
Explanation
Correct Answer
B:netplan status summarizes current network links and addressing as seen through its backends. It is for inspection rather than applying updates.
Incorrect Answers
A:Name Service Switch specifies the source order for lookups such as hosts and users; it does not deliver observing current Netplan link state, which is decisive in this scenario.
C:The command lists saved and active profiles with connection identifiers and device associations; the task involves observing current Netplan link state, whereas this addresses another subsystem.
D:netplan try temporarily applies a candidate configuration and reverts it if not confirmed; its scope differs from observing current Netplan link state, so it cannot meet the stated requirement.
Question 86
An administrator wants to capture DNS packets on an interface for later protocol inspection. Which command does this?
- nslookup 192.0.2.20
- ping -c 4 192.0.2.20
- ethtool eth0
- tcpdump -i eth0 port 53 -w dns.pcap
Explanation
Correct Answer
D:tcpdump captures packets matching a filter and can write them to a pcap file. Capturing traffic may require elevated permissions and careful handling of sensitive data.
Incorrect Answers
A:nslookup performs DNS address and name queries against resolver infrastructure; the administrator instead needs recording packet-level DNS exchange evidence; this option serves a different purpose.
B:ping sends ICMP echo probes and measures round-trip timing; it answers a neighboring question rather than recording packet-level DNS exchange evidence.
C:ethtool reads link properties exposed by the Ethernet driver, including negotiated speed and duplex; that changes a different part of the system; the requested outcome is recording packet-level DNS exchange evidence.
Question 87
An internal zone returns an incorrect A record. Which command explicitly queries a chosen DNS server for that record?
- ethtool eth0
- nc -vz server.example 443
- dig @192.0.2.53 host.example A
- mtr destination.example
Explanation
Correct Answer
C:dig can direct a DNS query to a specific resolver and select a record type. This isolates responses from different name servers.
Incorrect Answers
A:ethtool reads link properties exposed by the Ethernet driver, including negotiated speed and duplex; using it would leave asking a specified DNS resolver for an A record unresolved.
B:Netcat can attempt a TCP connection and report success or failure; the requirement is asking a specified DNS resolver for an A record, outside the effect of this choice.
D:mtr combines traceroute-style path discovery with repeated latency and packet-loss sampling; the evidence calls for asking a specified DNS resolver for an A record, not merely this separate operation.
Question 88
An engineer needs a basic trace with path MTU hints that does not require raw sockets. Which tool suits this purpose?
- 127.0.0.1
- Default route 0.0.0.0/0
- hostname
- tracepath example.org
Explanation
Correct Answer
D:tracepath traces a network route and can report path MTU information using UDP probes. Its output aids path diagnosis without editing interfaces.
Incorrect Answers
A:The IPv4 loopback address accepts local-host connections but is not routed over the external network; its scope differs from obtaining path MTU and hop evidence, so it cannot meet the stated requirement.
B:The default IPv4 route is a fallback used after more specific routes are considered; that is not equivalent to obtaining path MTU and hop evidence.
C:hostname prints the host's current name as understood by the system; the administrator instead needs obtaining path MTU and hop evidence; this option serves a different purpose.
Question 89
A service must discover which DNS resolver addresses the host is configured to contact. Which file is commonly consulted?
- nmcli connection show
- /etc/hosts
- nmcli connection modify
- /etc/resolv.conf
- netplan try
Explanation
Correct Answer
D:resolv.conf exposes resolver configuration, often generated by NetworkManager or systemd-resolved. Editing it directly may be overwritten by the management service.
Incorrect Answers
A:The command lists saved and active profiles with connection identifiers and device associations; this does not achieve inspecting host resolver configuration on the system described.
B:The hosts file provides local name-to-address entries consulted according to NSS ordering; it will not provide inspecting host resolver configuration under these conditions.
C:nmcli edits NetworkManager connection profiles, including addresses, gateways and DNS; using it would leave inspecting host resolver configuration unresolved.
E:netplan try temporarily applies a candidate configuration and reverts it if not confirmed; it does not deliver inspecting host resolver configuration, which is decisive in this scenario.
Question 90
An administrator must control whether files or DNS are checked first for hostname lookups. Which configuration is relevant?
- netplan try
- hosts: entry in /etc/nsswitch.conf
- netplan status
- /etc/resolv.conf
Explanation
Correct Answer
B:Name Service Switch specifies the source order for lookups such as hosts and users. It determines source precedence rather than authoritative DNS zone contents.
Incorrect Answers
A:netplan try temporarily applies a candidate configuration and reverts it if not confirmed; the evidence calls for ordering local and remote hostname lookup sources, not merely this separate operation.
C:netplan status summarizes current network links and addressing as seen through its backends; its scope differs from ordering local and remote hostname lookup sources, so it cannot meet the stated requirement.
D:resolv.conf exposes resolver configuration, often generated by NetworkManager or systemd-resolved; that is not equivalent to ordering local and remote hostname lookup sources.