CS FundamentalsModerateProduct-company interview pattern

A video-calling app sends small voice packets every 20 ms. Why do such apps usually prefer UDP over TCP for the media stream?

  1. A. A late packet is useless, and TCP’s retransmission with in-order delivery would hold back newer packets behind a lost one
  2. B. UDP encrypts packets, while TCP does not
  3. C. TCP cannot carry packets smaller than 1 KB
  4. D. UDP guarantees delivery faster than TCP

Correct answer: A. A late packet is useless, and TCP’s retransmission with in-order delivery would hold back newer packets behind a lost one

For real-time audio, a retransmitted packet arrives too late to be played, and TCP would also block all later data until the gap is filled (head-of-line blocking). UDP lets the app skip losses. UDP guarantees nothing, and neither protocol encrypts by itself.

More Computer Networks questions

Exams that ask this topic