Question 480
A security and reliability review finds: A technician edits /etc/resolv.conf directly but NetworkManager replaces it on reconnect. What consequence is most material?
Explanation
Correct Answer
The main exposure is Manual changes to generated resolver files can be lost unexpectedly. Reduce it with Configure DNS servers through the responsible connection profile or resolver manager, since Network-management services can regenerate resolv.conf from persistent connection settings.
Incorrect Answers
That danger is associated more closely with A laptop has an active Wi-Fi connection but should prevent automatic connection to an untrusted network. Here the primary exposure is Manual changes to generated resolver files can be lost unexpectedly.
That outcome fits another condition, A server must be assigned a persistent IPv6 address but its only configuration is an ip -6 addr add command, rather than the current one.
That outcome fits another condition, A program resolves a name differently than dig because local NSS mappings override DNS, rather than the current one.