nerdexam
Exams220-1002Questions#753
CompTIA

220-1002 · Question #753

220-1002 Question #753: Real Exam Question with Answer & Explanation

The correct answer is D: Remove all entities in the hosts file. When computers are manually configured to bypass DNS, the most common mechanism is adding static hostname-to-IP mappings to the local hosts file (C:\Windows\System32\drivers\etc\hosts on Windows, /etc/hosts on Linux). The OS resolves entries in the hosts file before querying DNS,

Question

Some of a company's computers were manually configured to bypass the DNS servers for connections to a connections to a fileshare server. A technician needs to ensure at the computers use DNS to reach resources on the network. Which of the following should the technician do to confirm all the computers use only DNS?

Options

  • ADelete al alias record entries in DNS.
  • BEnsure al computers are using the same subnet.
  • CReset the Windows Firewall settings to default.
  • DRemove all entities in the hosts file

Explanation

When computers are manually configured to bypass DNS, the most common mechanism is adding static hostname-to-IP mappings to the local hosts file (C:\Windows\System32\drivers\etc\hosts on Windows, /etc/hosts on Linux). The OS resolves entries in the hosts file before querying DNS, so any hostname listed there bypasses DNS entirely. Removing all entries from the hosts file (D) eliminates these manual overrides and forces the OS to rely exclusively on DNS for name resolution across the network. Deleting DNS alias (CNAME) records (A) would break DNS resolution. Subnet configuration (B) and resetting firewall defaults (C) have no effect on DNS bypass via the hosts file.

Community Discussion

No community discussion yet for this question.

Full 220-1002 Practice