CompTIACompTIA
220-1102 · Question #854
220-1102 Question #854: Real Exam Question with Answer & Explanation
The correct answer is B: Edit the hosts file.. To locally override DNS resolution and map specific IP addresses to URLs, a technician should edit the hosts file on the affected system. This file takes precedence over DNS for local lookups.
Operating Systems
Question
A technician needs to override DNS and map IP addresses and URLs to different locations. Which of the following should the technician do?
Options
- AInstall signal repeaters.
- BEdit the hosts file.
- CConfigure the firewall.
- DEnable port forwarding.
Explanation
To locally override DNS resolution and map specific IP addresses to URLs, a technician should edit the hosts file on the affected system. This file takes precedence over DNS for local lookups.
Common mistakes.
- A. Installing signal repeaters is used to extend the range of a wireless signal, which has no relation to mapping IP addresses to URLs or overriding DNS.
- C. Configuring a firewall primarily involves controlling network traffic flow, permitting or denying connections based on rules, not overriding DNS resolution locally.
- D. Enabling port forwarding redirects incoming network traffic from one port to another port or IP address, which is unrelated to locally mapping hostnames to IP addresses.
Concept tested. Local DNS resolution override (hosts file)
Topics
#hosts file#DNS override#local name resolution
Community Discussion
No community discussion yet for this question.