9. UDP Flashcards

1
Q

What does UDP stand for, and what is its primary characteristic?

A

UDP stands for User Datagram Protocol, and it is connectionless, meaning it
does not establish a connection before sending data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is UDP faster than TCP?

A

UDP has minimal overhead as it does not provide error recovery,
acknowledgment, or retransmission, making it faster for time-sensitive
applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What types of applications typically use UDP?

A

Real-time applications like DNS, VoIP, online gaming, and video streaming
use UDP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does UDP handle multiplexing for multiple applications?

A

UDP uses port numbers to differentiate and direct traffic to the correct
application on a device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the size of the UDP header, and why is it fixed?

A

The UDP header is 8 bytes, fixed to keep the protocol simple and lightweight.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly