What is TCP vs UDP difference?

Prepare thoroughly for the Google Data Center Technician Exam. Utilize our engaging study tools, with flashcards, multiple-choice questions, hints, and explanations to ensure success. Ready yourself for the challenge ahead!

Multiple Choice

What is TCP vs UDP difference?

Explanation:
The difference being tested is how the two transport protocols handle data delivery. TCP is connection-oriented and reliable, while UDP is a lightweight, connectionless best-effort protocol. TCP establishes a connection, uses acknowledgments and retransmission to ensure data arrives correctly and in order, and includes flow control and congestion control to manage the data rate. This reliability and ordering come with extra overhead and some delay. UDP, on the other hand, sends independent datagrams without establishing a connection and without guarantees of delivery, ordering, or duplication protection. Its headers are smaller and processing is simpler, so it’s faster and uses fewer resources, which is ideal when low latency matters or when the application can tolerate some loss. In practice, TCP is used for most reliable communications like web traffic and file transfers, while UDP is favored for time-sensitive tasks such as real-time audio/video, online gaming, or simple query-response services (like DNS). So the correct description is that TCP provides reliability and is connection-oriented, whereas UDP is best-effort with lower overhead.

The difference being tested is how the two transport protocols handle data delivery. TCP is connection-oriented and reliable, while UDP is a lightweight, connectionless best-effort protocol.

TCP establishes a connection, uses acknowledgments and retransmission to ensure data arrives correctly and in order, and includes flow control and congestion control to manage the data rate. This reliability and ordering come with extra overhead and some delay.

UDP, on the other hand, sends independent datagrams without establishing a connection and without guarantees of delivery, ordering, or duplication protection. Its headers are smaller and processing is simpler, so it’s faster and uses fewer resources, which is ideal when low latency matters or when the application can tolerate some loss.

In practice, TCP is used for most reliable communications like web traffic and file transfers, while UDP is favored for time-sensitive tasks such as real-time audio/video, online gaming, or simple query-response services (like DNS).

So the correct description is that TCP provides reliability and is connection-oriented, whereas UDP is best-effort with lower overhead.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy