Question 430
Which observed test most directly validates a fix for the following: A program resolves a name differently than dig because local NSS mappings override DNS?
Explanation
Correct Answer
Verify that The mismatch is explained by the local hosts entry and lookup ordering. That test is specific to the described fault and the correction, Compare getent hosts and dig to distinguish NSS lookup from a direct DNS query.
Incorrect Answers
The required verification is The mismatch is explained by the local hosts entry and lookup ordering, not a result meant for A security reviewer needs to query a specific DNS server rather than whichever resolver the host currently uses.
This would test another scenario: A test host uses 255.255.255.0 but another host in the same VLAN uses 255.255.0.0. Here the acceptance evidence is The mismatch is explained by the local hosts entry and lookup ordering.
That observation may validate A system using systemd-resolved shows generated /etc/resolv.conf and an administrator edits it persistently, but it does not establish that The mismatch is explained by the local hosts entry and lookup ordering for the current case.