OSI Middle Layers Flashcards

1
Q

What are the 7 main layers of the OSI model?

A

7 Application, 6 Presentation, 5 Session, 4 Transport, 3 Network, 2 Data Link, 1 Physical

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

What is the function of the Transport Layer?

A

Segmentation, transfer and reassemble, uses ports and sockets

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

What are the two main protocols of the Transport Layer?

A

TCP (Transmission Control Protocol), UDP (User Datagram Protocol)

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

How does TCP ensure reliable delivery?

A

Uses acknowledged delivery and other processes to ensure delivery

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

What is a disadvantage of using TCP?

A

Makes larger demands on the network – more overhead

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

What does UDP provide?

A

Just the basic functions for delivery – no reliability

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

What are the four basic processes of the Transport Layer?

A
  • Message Segmentation
  • Transfer & Reassemble
  • Error Control
  • Port Numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Message Segmentation?

A

Divides data from the application layer into smaller parts

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

What is the purpose of a port number?

A

A unique identifier assigned to network protocols to facilitate communication

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

Fill in the blank: Port 80 is the default port for _______.

A

Hypertext Transfer Protocol (HTTP)

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

Fill in the blank: Port 443 is used for _______.

A

Hypertext Transfer Protocol Secure (HTTPS)

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

What is a socket in networking?

A

Combination of the source and destination IP addresses and the source and destination port numbers

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

What is the role of the router in the Network Layer?

A

Select paths for and direct packets toward the destination host

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

What is Open Shortest Path First (OSPF)?

A

A link-state routing protocol that calculates the shortest path between routers using the Dijkstra algorithm

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

What are the two parts of an IP address?

A
  • Network prefix
  • Host part
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the difference between public and private IP addresses?

A
  • Public IP: Assigned to a device connected to the internet
  • Private IP: Used within a private network
17
Q

What is the difference between static and dynamic IP addresses?

A
  • Static IP: Remains the same over time
  • Dynamic IP: Assigned dynamically and can change
18
Q

What are the two main versions of IP addresses?

19
Q

Fill in the blank: An IPv4 address has _______ bits.

20
Q

Fill in the blank: An IPv6 address has _______ bits.

21
Q

What is a subnet mask?

A

A 32-bit number used to separate IP addresses into network and host portions

22
Q

What is the purpose of subnetting?

A

Enables efficient use of IP addresses and enhances network security

23
Q

What is error control in the Transport Layer?

A

Techniques such as acknowledgment, sequencing, and retransmission to detect and recover from transmission errors