Question

Difficulty: Very hardTCP vs UDP Comparison and Protocols

A network engineer is troubleshooting a custom financial trading application that streams tick data across an enterprise WAN link. During micro-burst traffic spikes, application logs report severe latency variations and out-of-order message processing, despite zero interface drops recorded on local router interfaces. Wireshark analysis reveals that the Layer 4 header of the application frames is fixed at 8 bytes in length, with no explicit Sequence Number or Acknowledgment Number fields present. However, the software development team insists that the transport protocol itself is executing dynamic windowing flow control to handle the latency. Which statement correctly identifies the transport protocol in use and explains why the developer's claim regarding Layer 4 flow control is incorrect?

  1. The protocol is UDP; UDP has a fixed 8-byte header and is completely connectionless and stateless, meaning any reliability, sequencing, or reordering mechanisms must be implemented in the application layer rather than at Layer 4.Answer
  2. B
    The protocol is TCP utilizing Van Jacobson header compression; the 20-byte TCP header is dynamically stripped down to 8 bytes while maintaining Layer 4 windowing controls across active sessions.
  3. C
    The protocol is UDP; UDP automatically activates lightweight Layer 4 sliding window mechanisms whenever link utilization exceeds 80% to prevent buffer exhaustion.
  4. D
    The protocol is TCP operating in connectionless mode; TCP omits sequence and ACK fields when transmitting real-time data to lower protocol overhead to 8 bytes.

Answer

The protocol is UDP; UDP has a fixed 8-byte header and is completely connectionless and stateless, meaning any reliability, sequencing, or reordering mechanisms must be implemented in the application layer rather than at Layer 4.
The correct answer identifies that an 8-byte L4 header without sequence or ACK fields uniquely characterizes UDP. UDP prioritizes speed and low overhead over reliability. It does not provide flow control, error recovery, or reordering at the transport layer. Any ordering or reliability logic must be built into the upper-layer application protocol.

Step-by-Step Solution

1
Analyze the Layer 4 header size provided in the packet analysis.
The packet capture indicates a fixed 8-byte Layer 4 header length.
UDP headers are always 8 bytes (containing Source Port, Destination Port, Length, and Checksum), whereas standard TCP headers have a minimum length of 20 bytes.
2
Examine the presence of reliability and flow control fields.
The capture shows no Sequence Number, Acknowledgment Number, or Window Size fields.
TCP requires these fields (within its 20-byte base header) to provide stateful, reliable connection management, retransmission, and sliding-window flow control. UDP omits all state management fields.
3
Evaluate the software developer's claim regarding transport layer flow control.
The claim is invalid for Layer 4; any sequencing or buffering mechanisms must reside at the application layer (Layer 7).
Because UDP operates without transport-layer state, applications using UDP must handle packet loss detection, reordering, and rate control within custom higher-layer protocols.

Key Concept

UDP versus TCP Header Fields and Reliability Mechanics
Rate this question