OSI Model Flashcards

1
Q

What does OSI stand for?

A

Open Systems Interconnection model (OSI Model) - how data is moved across a network.

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

What is layer 5 of the OSI model?

A

Session layer

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

What is layer 2 of the OSI model?

A

Data Control/Data Link layer (MAC address routing layer).

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

What is layer 6 of the OSI model?

A

Presentation layer.

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

What is the top layer/layer 7 of the OSI model?

A

Application Layer.

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

What is the bottom layer/layer 1 of the OSI model?

A

Physical layer - cabling, connectors, electrical signals - loopback tests, cable tests etc.

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

What are all 7 layers of the OSI model working from the bottom up?

A
  1. Physical
  2. Data link control (DLC) - switching layer via MAC address, frames/EUI addresses
  3. Network - routers and smart switches - PACKET routing via IP
  4. Transport (TCP/UDP IP) - post office layer - gets traffic from one side of network to the other
  5. Session - start,stop,restarting sessions - VPN
  6. Presentation
  7. Application
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What layer do smart switches exist at?

A

Layer 3 (because they route packets based on IP)

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

What layer do dumb switches work at of the OSI model?

A

Layer 2 switches - because they route based on MAC address (good for small networks)

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

If there is a problem with an IP address or subnet mask configuration at what layer of the OSI are you looking?

A

Layer 3 - network layer encapsulates IP addressing and routing/subnetting.

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

What is the role of the presentation layer (Layer 6)?

A

The presentation layer makes data human readable, encryption/decryption. Closely linked/tied to the Application layer (7). Presentation preparation layer.

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

When looking at e.g. a webpage what layer of the OSI model are we seeing?

A

Layer 7 - the application layer is what you see.
HTTPS, pop3, etc protocols operate at this layer.

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

At what level are data/IP PACKETS routed?

A

Layer 3 - the network layer is where data packets/IP packets are exchanged.

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

What layer has TCP segments and UDP datagrams?

A

Layer 4 - Transport Layer has TCP segments and UDP datagrams.

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

At which layer would you find tunnelling and control protocols.

A

Layer 5 is the session layer where you’d find control protocols and tunnelling protocols.

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

Where would you find SSL/TLS encryption in the OSI model?

A

Layer 6 - Presentation layer deals with all things encryption/decryption like Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols.

17
Q

What layer is the handshake layer?

A

Session Layer (layer 5) = the handshake layer, where dialogue between devices begins to allow persistent/synchronised connections between them. As well as where connections/sessions get closed down.

18
Q

What are the 5 names of data at each stage (remember application, presentation and session layer are merged into one layer) of the OSI model?

A

Data Stream = data at the application, presentation and session (merged) layer is called a Data Stream.

Segment (TCP)/Datagram (UDP) = data at the Transport layer is either a datagram (UDP) or a segment (TCP)

Packet = IP packet = network layer = routed by IP

Frame = MAC address, data link layer

Bits = Physical layer, electrical signal/electrical oscillation/high/low voltage levels signalling a sequence of bits/1/0.

Don’t Stop Pouring Free Beer

Data Stream → Segment/Datagram → Packet → Frame → Bits.

19
Q

Encapsulation Process 7 -> 1

Source system encapsulates data stream within a TCP or UDP Segment.

The segment is then encapsulated inside a Packet/IP packet.

Packet is then encapsulated inside a Frame (MAC address and error-checking added)

The frame is then CONVERTED to bits (electrical signals/light pulses for fiber/radio waves for wireless) and transmitted across the network medium to the destination system which then decapsulates (1 -> 7) it in the reverse order to how it was encapsulated. Ending up with the human readable application data.

A

Data Stream → Segment/Datagram → Packet → Frame → Bits.

20
Q

What is full duplex transmission?

A

Send and receive data at the same time (concurrently) - Full duplex

E.g. switches.

21
Q

What’s half duplex?

A

One machine sends while one receives, can’t both send at the same time (when they try collisions occur and runts (tiny file fragments) are left that congest the network.

E.g. hubs.

22
Q

What is simplex transmission?

A

One way only communication. No return path for acknowledgement of receipt or reply/response.

E.g. a television transmission

23
Q

What is a collision domain?

A

A hub is a collision domain whereby traffic going into multiple ports of a device can collide thus returning fragmented data and slowing down the network as well as leading to packet loss.