What is the primary function of the Domain Name System (DNS) in computer networking?
Answer and explanation
Correct answer: C. Translating human-readable domain names into numerical IP addresses
- Step 1: Computers communicate over the internet using numerical IP addresses (e.g., IPv4/IPv6).
- Step 2: The DNS service functions as the internet's phonebook, resolving human-friendly hostnames (e.g., `getmymocktest.com`) into routable numerical IP addresses.
Answer
Translating human-readable domain names into numerical IP addresses.
Why not the others: 'Encrypting HTTP packets' is performed by TLS/SSL; 'Allocating IP addresses' is performed by DHCP; 'Routing packets' is performed by network routers using BGP/OSPF.
Practise more Python Programming, Data Structures, Algorithms, Networks and Cybersecurity.
Free questions with an explanation for every one, and full timed Saudi Secondary School Certificate mock tests.
More Python Programming, Data Structures, Algorithms, Networks and Cybersecurity questions
- What is the time complexity of searching for an element in an unsorted array of elements using linear search?
- What is the output of the following Python expression: `[x**2 for x in range(5) if x % 2 == 1]`?
- Which data structure operates on a Last-In, First-Out (LIFO) access principle?
- Which SQL clause is used to filter aggregated group records after a `GROUP BY` statement has been applied?
- What type of network topology connects all nodes to a central forwarding device such as a network switch?
- In cybersecurity, what type of malicious attack overwhelms a web server with massive volumes of traffic from multiple compromised sources to…