Soru

Zorluk: ZorConnection-Oriented vs Connectionless Protocols

A network administrator is deploying a high-frequency sensor telemetry service that transmits small status updates every 10 milliseconds. The system prioritizes minimal transmission overhead and low latency over guaranteed packet delivery, as occasional lost datagrams do not impact real-time monitoring. Which transport layer protocol best aligns with these application requirements?

  1. User Datagram Protocol (UDP), because its lightweight 8-byte header minimizes overhead and it operates without connection setup or retransmission delays.Cevap
  2. B
    Transmission Control Protocol (TCP) with window size 0, because it disables retransmissions while retaining connection-oriented session tracking.
  3. C
    Internet Protocol (IP) direct encapsulation, because connectionless communication is strictly a Layer 3 function and cannot be implemented at Layer 4.
  4. D
    User Datagram Protocol (UDP) assigned to port 22, because port 22 inherently establishes a connection-oriented handshake for real-time telemetry.

Cevap

User Datagram Protocol (UDP), because its lightweight 8-byte header minimizes overhead and it operates without connection setup or retransmission delays.
The User Datagram Protocol (UDP) operates as a connectionless transport layer protocol. It does not establish a formal session via handshakes, nor does it guarantee delivery or retransmit lost packets. Its small 8-byte header drastically reduces overhead compared to TCP's 20-byte minimum header, making UDP the ideal choice for low-latency, real-time telemetry where transmission speed is critical and minor packet loss is acceptable.

Adım Adım Çözüm

1
Analyze application performance requirements.
The application requires minimal latency, low header overhead, high transmission frequency (10 ms), and can tolerate packet loss without requiring retransmissions.
Identifying these key constraints dictates whether connection-oriented (TCP) or connectionless (UDP) transport is appropriate.
2
Compare transport layer protocol characteristics.
TCP is connection-oriented, requiring a three-way handshake and offering reliable delivery via acknowledgments and retransmissions at the cost of higher latency and a 20-byte minimum header. UDP is connectionless, offers no delivery guarantees or handshake overhead, and has an 8-byte header.
Evaluating protocol overhead and session establishment mechanisms determines overall suitability.
3
Select the optimal protocol.
UDP is the ideal choice for real-time, loss-tolerant telemetry traffic.
UDP avoids connection setup delays and retransmission latency while maintaining minimal header overhead.

Anahtar Kavram

Connection-Oriented (TCP) vs Connectionless (UDP) Transport Protocols
Tahmini Süre:1m 30s
Bu soruyu puanla