Transport Protocols Flashcards

(13 cards)

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

What is the purpose of transport protocols in networking?

A

Transport protocols ensure reliable or fast communication between applications on different devices. They operate at Layer 4 of the OSI model and handle tasks like segmentation, error correction, and flow control.

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

Which layer of the OSI model do transport protocols operate at?

A

Transport protocols operate at Layer 4 — the Transport Layer — of the OSI model.

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

What are the main functions of transport protocols?

A

They perform segmentation and reassembly, flow control, error detection and correction, connection establishment and termination, and multiplexing using port numbers.

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

What is segmentation and reassembly in transport protocols?

A

Segmentation breaks large messages into smaller pieces for transmission, and reassembly puts them back together at the destination to form the original message.

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

What is flow control in transport protocols?

A

Flow control manages the rate of data transmission between sender and receiver to prevent overwhelming the receiver or causing congestion.

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

What is the difference between TCP and UDP?

A

TCP is reliable and connection-oriented, ensuring error checking and data delivery in order. UDP is faster but connectionless and does not guarantee delivery or order, suitable for real-time applications.

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

What kind of applications typically use TCP?

A

TCP is used by applications that need reliable data transfer such as web browsing (HTTP), email (SMTP), and file transfer (FTP).

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

What kind of applications typically use UDP?

A

UDP is used by applications that prioritize speed over reliability, such as video streaming, VoIP, DNS, and online gaming.

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

What is multiplexing in the context of transport protocols?

A

Multiplexing allows multiple applications to share a single network connection by assigning each one a unique port number, enabling simultaneous communication.

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

What are port numbers and why are they important in transport protocols?

A

Port numbers identify specific applications or services on a device, enabling transport protocols to deliver data to the correct destination application.

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

How does TCP ensure reliability?

A

TCP ensures reliability through sequence numbers, acknowledgments (ACKs), retransmissions of lost data, and flow control mechanisms.

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

Is UDP suitable for applications that require guaranteed data delivery?

A

No. UDP does not provide error correction or guarantee delivery, so it is not suitable for applications needing reliable communication.

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