CS FundamentalsHardIBM · Deloitte pattern
Assertion (A): DNS uses only UDP, because each query and answer fits in a single datagram. Reason (R): UDP avoids the connection set-up delay of TCP.
- A. Both A and R are true and R is the correct explanation of A
- B. Both A and R are true but R is not the correct explanation of A
- C. A is true but R is false
- D. A is false but R is true
Correct answer: D. A is false but R is true
R is true, which is why ordinary lookups prefer UDP. A is false: DNS falls back to TCP port 53 when a response is truncated (too large for UDP) and always uses TCP for zone transfers, and DNS-over-TLS also runs on TCP.
More Computer Networks questions
- How many of the following statements about DHCP are correct? 1. The DHCPDISCOVER message is broadcast with source IP 0.0.0.0. 2. DHCP…
- How many of the following statements about NAT are correct? 1. NAT breaks the end-to-end principle because outside hosts cannot start…
- A 5000-byte IPv4 datagram (20-byte header) must cross a link with MTU 1420 bytes. What are the fragment offset and total length of the…
- A code has exactly four codewords: 00000, 01011, 10101 and 11110. Which statement about its error handling is correct?
- In slotted ALOHA, the offered load is G = 2 frames per slot. What fraction of slots carry a successful frame?
- For the host 131.45.214.9/22, how many usable host addresses does its subnet have, and what is the last usable host address?