nerdexam
CompTIA

220-1102 · Question #292

A technician is editing the hosts file on a few PCs in ordefvins. Which of the following would the technician need to execute after editing the hosts file?

The correct answer is D. Reset the network adapter. The hosts file maps hostnames to IP addresses and is read by the OS resolver. After editing it, the local DNS cache may still hold stale entries from before the change. Among the given options, resetting the network adapter (D) clears the DNS resolver cache as part of resetting…

Operating Systems

Question

A technician is editing the hosts file on a few PCs in ordefvins. Which of the following would the technician need to execute after editing the hosts file?

Options

  • AEnable promiscuous mode.
  • BClear the browser cache.
  • CAdd a new network adapter.
  • DReset the network adapter.

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    12% (3)
  • C
    4% (1)
  • D
    81% (21)

Explanation

The hosts file maps hostnames to IP addresses and is read by the OS resolver. After editing it, the local DNS cache may still hold stale entries from before the change. Among the given options, resetting the network adapter (D) clears the DNS resolver cache as part of resetting the network stack, causing the new hosts file entries to take effect. The ideal standalone fix would be 'ipconfig /flushdns', but that option is not available here. Clearing the browser cache (B) only affects the browser's own cache, not the OS-level DNS cache. Promiscuous mode (A) and adding a network adapter (C) are entirely unrelated.

Topics

#Hosts file#DNS cache#Network configuration#ipconfig /flushdns

Community Discussion

No community discussion yet for this question.

Full 220-1102 Practice