UDP Flashcards

1
Q

What does UDP stand for?

A

User Datagram Protocol

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

What does UDP allow computer applications to do?

A

Send datagrams to other hosts on IP networks without prior communications to setup communication channels or data paths.

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

What do checksums in UDP provide?

A

Data integrity.

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

What do port numbers in UDP provide?

A

Addressing different functions at the source and destination of the datagram.

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

What does lack of handshaking dialogue expose app to in UDP?

A

Unreliability of underlying network.

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

What are TCP guarantees that that UPD lacks?

A
  1. packet delivery
  2. packet ordering
  3. duplicate packet protection.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are good use cases for UDP?

A

Streaming apps like online games, VOIP, or video conferencing.

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

Why is UDP used in DNS?

A

Queries are fast and only consist of a single request followed by a single reply packet.

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