UDP vs TCP Flashcards

1
Q

What are the characteristics of UDP? (four answers)

A
  • Data is reconstructed in the order it was received.
  • Any segments lost are not sent again
  • There is no session establishment
  • The sending device is not informed about resource availability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does UDP have fewer of that allows it to be transmitted faster?

A

Header fields

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

What are the basic operations TCP provides? (three answers)

A
  • Number, track, retransmit, and order data segments.
  • Acknowledge data received
  • Send data at an effective rate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When should you use UDP and when should you use TCP?

A

You use UDP when the application requires speed but can suffer data loss. You use TCP when you need a reliable connection to the remote computer.

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

What are UDPs segment names?

A

Datagrams

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

What does TCP have to do that UDP doesn’t

A

Establish a connection

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

What is the range of the well known port?

A

0-1023

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

What is an IP address and a port number called when they are together?

A

a socket (192.168.0.18:80)

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

What are two sockets together called?

A

a socket pair

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

What are the functions of the three-way handshakes?

A
  • Established the destination device is present on the network
  • Certifies the destination devices has an active service and is accepting requests.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the range of the registered ports?

A

1024 - 49151

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

What is the range of the private or dynamic ports?

A

49152 - 65536

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

What can unexplained TCP connections be?

A

a major security risk

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

What CMD command shows what connections are active on a computer?

A

Netstat

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

What does the transport layer specify?

A

Protocols on how to transfer messages and managing reliability.

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