200-301 · Question #867
How do TCP and UDP fit into a query-responsible model?
The correct answer is B. TCP establishes a connection prior to sending data, and UDP sends immediately. In a query-response model, TCP establishes a dedicated connection before any data is sent, whereas UDP transmits data immediately without a prior connection setup.
Question
Options
- ATCP avoids using sequencing and UDP avoids using acknowledgments
- BTCP establishes a connection prior to sending data, and UDP sends immediately
- CTCP encourages out-of-order packet delivery, and UDP prevents re-ordering
- DTCP uses error detection for packets, and UDP uses error recovery.
How the community answered
(45 responses)- A2% (1)
- B91% (41)
- C4% (2)
- D2% (1)
Why each option
In a query-response model, TCP establishes a dedicated connection before any data is sent, whereas UDP transmits data immediately without a prior connection setup.
This is incorrect; TCP *uses* sequencing for ordered delivery, and UDP *avoids* using acknowledgments as part of its connectionless nature.
TCP is a connection-oriented protocol, meaning it initiates a three-way handshake to establish a reliable connection between the sender and receiver before any application data is transferred. In contrast, UDP is connectionless; it sends data datagrams directly to the destination without any prior setup or guarantee of delivery, effectively sending immediately.
This is incorrect; TCP ensures in-order delivery and prevents out-of-order packet delivery, whereas UDP does not guarantee order, and packets can arrive out of sequence.
This is incorrect; TCP uses both error detection (checksums) and error recovery (retransmissions) for reliability, while UDP primarily uses error detection (checksums) but offers no error recovery mechanisms.
Concept tested: TCP vs. UDP connection establishment
Source: https://learn.microsoft.com/en-us/windows-server/networking/technologies/network-subsystem/tcp-udp-feature-overview
Topics
Community Discussion
No community discussion yet for this question.