GCIH · Question #651
Which of the following network applications is better suited for using a connection-oriented protocol than a stateless protocol?
The correct answer is C. Windows Server Message Block. SMB relies on TCP because file and printer sharing operations require guaranteed, ordered delivery that a connectionless protocol cannot provide.
Question
Which of the following network applications is better suited for using a connection-oriented protocol than a stateless protocol?
Options
- AVideo streaming
- BVoice transmissions
- CWindows Server Message Block
- DDomain Name Service queries
How the community answered
(19 responses)- C95% (18)
- D5% (1)
Why each option
SMB relies on TCP because file and printer sharing operations require guaranteed, ordered delivery that a connectionless protocol cannot provide.
Video streaming typically uses UDP-based protocols such as RTP because the low latency of connectionless delivery is more important than guaranteeing every packet arrives.
Voice transmissions use UDP via RTP/RTCP because the slight data loss of a connectionless protocol is preferable to the retransmission delays introduced by TCP.
SMB (Server Message Block) uses TCP as its transport because file transfers, authentication handshakes, and named pipe communications require reliable in-order delivery and error recovery. Any lost or reordered packets in an SMB session would corrupt transferred files or break protocol state, making a connection-oriented protocol mandatory.
DNS queries use UDP by default because they are small, single-packet request-response exchanges where speed matters more than guaranteed delivery.
Concept tested: TCP connection-oriented transport requirement for SMB
Source: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/5606ad47-5ee0-437a-817e-70c366052962
Topics
Community Discussion
No community discussion yet for this question.