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.

  1. A. Both A and R are true and R is the correct explanation of A
  2. B. Both A and R are true but R is not the correct explanation of A
  3. C. A is true but R is false
  4. 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

Exams that ask this topic