100-140 Question 194
Single answerA user reports that they cannot access a website using its domain name (e.g., www.example.com), but they can successfully access it using its IP address. Which of the following best describes the primary purpose of DNS in this scenario?
- A
To map domain names to IP addresses
- B
To translate programming code into machine-readable instructions
- C
To establish secure connections between devices on a network
- D
To monitor and block malicious traffic on a network
Show answer and explanation
Correct answer: A
Explanation
The primary purpose of DNS is to map human-friendly domain names to their corresponding IP addresses, enabling users to access websites without needing to memorize complex numerical addresses. In this scenario, the user can access the website with its IP address but not its domain name, indicating a DNS-related issue.
- A. Correct.
Correct. The Domain Name System (DNS) translates human-readable domain names (e.g., www.example.com) into machine-readable IP addresses required for connecting to web servers.
- B. Incorrect.
Incorrect. Translating programming code into machine-readable instructions is the job of a compiler or interpreter, not DNS.
- C. Incorrect.
Incorrect. Establishing secure connections is typically done using protocols like HTTPS or VPNs, not DNS.
- D. Incorrect.
Incorrect. Monitoring and blocking malicious traffic is associated with firewalls or intrusion detection/prevention systems, not DNS.