Soru

Zorluk: OrtaTCP vs UDP Comparison and Protocols

An enterprise network relies on standard Syslog services over UDP port 514 to collect event logs from remote edge switches. When comparing transport protocol characteristics, which header feature directly accounts for UDP's lower processing overhead compared to TCP?

  1. A
    UDP incorporates sequence numbers in its header to allow receiver packet reordering without transmitting acknowledgments.
  2. UDP utilizes a fixed 8-byte header that omits fields for connection state tracking, flow control, and acknowledgments.Cevap
  3. C
    UDP dynamically varies its header size between 8 and 20 bytes depending on network congestion levels.
  4. D
    UDP relies on the underlying IP layer header fields to negotiate sliding window sizes and perform retransmissions.

Cevap

UDP utilizes a fixed 8-byte header that omits fields for connection state tracking, flow control, and acknowledgments.
UDP is designed for low-overhead, best-effort transport. Its header contains only 4 fields totaling 8 bytes: Source Port (2 bytes), Destination Port (2 bytes), Length (2 bytes), and Checksum (2 bytes). By leaving reliability, sequencing, and flow control to application layers or accepting packet loss, UDP avoids the 20-byte minimum header and state maintenance required by TCP.

Adım Adım Çözüm

1
Analyze transport layer header structures
TCP headers require a minimum of 20 bytes to support sequence numbers, acknowledgment numbers, window sizes, flags, and control mechanisms. UDP headers consist of only 8 bytes (4 fields: Source Port, Destination Port, Length, and Checksum).
Lower header size directly reduces data overhead per packet.
2
Evaluate protocol feature set differences
UDP is connectionless and stateless. It does not establish sessions, manage flow control (windowing), perform segment sequencing, or require ACKs.
Omitting operational state management reduces router/host CPU and memory processing overhead.

Anahtar Kavram

TCP vs UDP Header Overhead and Protocol Mechanics
Bu soruyu puanla