Exam: 200-301: Cisco Certified Network Associate (CCNA) 0 Likes
Under which condition is TCP preferred over UDP? (CCNA 200-301)
Under which condition is TCP preferred over UDP?
A) UDP is used when low latency is optimal, and TCP is used when latency is tolerable.
B) TCP is used when dropped data is more acceptable, and UDP is used when data is accepted out-of-order.
C) TCP is used when data reliability is critical, and UDP is used when missing packets are acceptable.
D) UDP is used when data is highly interactive, and TCP is used when data is time-sensitive.
Solution
Correct answer: C) TCP is used when data reliability is critical, and UDP is used when missing packets are acceptable.
TCP (Transmission Control Protocol) offers reliable, ordered, and error-checked delivery of data, making it suitable for applications where data integrity and reliability are crucial. It includes mechanisms for retransmitting lost packets, error correction, and ensuring that data arrives intact and in order.
UDP (User Datagram Protocol), on the other hand, is used when some loss of data is acceptable, such as in real-time applications like video streaming, online gaming, or voice over IP (VoIP). It sacrifices reliability for speed and efficiency, allowing for faster transmission without the overhead of ensuring every packet arrives reliably.
So, the decision between TCP and UDP often depends on the specific requirements of the application, with TCP being preferred when data reliability is paramount.
Category: Network Fundamentals