Question

Difficulty: MediumTCP vs UDP Comparison and Protocols

A network administrator is evaluating transport layer requirements for a enterprise deployment. The network deployment includes a batch database synchronization service requiring guaranteed in-order delivery and a real-time voice streaming application sensitive to delay. Which TWO features distinguish TCP from UDP in this operational environment? (Select TWO.)

  1. TCP utilizes dynamic windowing mechanisms to adjust data transmission flow based on receiver buffer capacity.Answer
  2. TCP maintains session state tracking using sequence and acknowledgment fields within a 20-byte baseline header.Answer
  3. C
    UDP provides reliable delivery by automatically retransmitting missing datagrams using sequence numbers embedded in its 8-byte header.
  4. D
    UDP establishes connection parameters via a formal handshake prior to transmitting real-time audio payloads.

Answer

TCP is distinguished from UDP by its use of dynamic windowing for flow control and session state tracking via sequence/acknowledgment numbers in a 20-byte baseline header.
TCP is a connection-oriented, stateful transport protocol that uses sequence and acknowledgment numbers within a baseline 20-byte header to guarantee ordered delivery. Additionally, TCP employs sliding dynamic windowing to adjust traffic flow based on receiver buffer readiness. UDP, in contrast, uses a fixed 8-byte header and lacks connection handshake, sequence numbers, or flow control mechanisms.

Step-by-Step Solution

1
Analyze transport protocol mechanics required for guaranteed data delivery vs. low-overhead streaming.
Identified TCP as connection-oriented/stateful and UDP as connectionless/stateless.
TCP maintains session state and flow control to guarantee delivery, whereas UDP minimizes header size and latency by avoiding session management.
2
Evaluate the functional features of TCP.
TCP uses a minimum 20-byte header with sequence numbers, acknowledgment numbers, and dynamic window size fields for flow control.
Dynamic windowing allows the receiver to specify how much data can be transmitted before an acknowledgment is required.
3
Evaluate the functional features of UDP.
UDP uses a simple 8-byte header consisting of source port, destination port, length, and checksum.
UDP lacks sequence fields, error recovery retransmissions, and handshake mechanics, giving it low overhead suitable for real-time applications.

Key Concept

TCP vs UDP Transport Layer Features
Rate this question