Question

Difficulty: MediumTCP vs UDP Comparison and Protocols

An application architect is designing a lightweight heartbeat monitoring service for IoT sensors. To conserve network bandwidth over low-power links, the design requires minimizing transport layer protocol header overhead for small status payloads. Which transport layer characteristic makes UDP the most suitable choice for this application?

  1. A
    UDP guarantees in-order delivery of telemetry packets using sequence numbers without requiring acknowledgment packets.
  2. UDP utilizes a fixed 8-byte header and operates without connection setup overhead.Answer
  3. C
    UDP provides flow control through a dynamic sliding window mechanism to adjust transmission rates on constrained links.
  4. D
    UDP reduces transmission overhead by dynamically negotiating a compressed 20-byte transport header during session establishment.

Answer

UDP utilizes a fixed 8-byte header and operates without connection setup overhead.
UDP features a minimal, fixed 8-byte header (containing source port, destination port, length, and checksum) and operates connectionlessly without handshake or state management overhead, making it ideal for bandwidth-constrained, small-payload messaging.

Step-by-Step Solution

1
Analyze the application requirements from the scenario.
The application requires minimal transport layer header overhead for small status messages over low-bandwidth links.
Choosing between TCP and UDP depends on balancing reliability requirements against protocol overhead.
2
Compare TCP and UDP transport header sizes and connection overhead.
TCP uses a minimum 20-byte header and requires a 3-way handshake, whereas UDP uses a fixed 8-byte header and is connectionless.
UDP's 8-byte header minimizes payload ratio overhead significantly compared to TCP's 20-byte minimum header.
3
Select the option that correctly describes UDP's low-overhead characteristics.
The statement highlighting UDP's fixed 8-byte header and lack of connection setup overhead is correct.
This directly satisfies the requirement for low-power link efficiency.

Key Concept

UDP vs TCP Header Overhead and Connection Mechanics
Rate this question