OSI Flashcards

(42 cards)

1
Q

What are the seven layers of OSI model?

A

Application, Presentation, Session, Transport, Network, Data Link, Physical

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

What runs in Application Layer?

A

Network applications for file transfer, web surfing, emails and virtual terminals

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

Protocol for file transfer

A

FTP

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

Protocol for web surfing

A

HTTP/S

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

Protocol for emails

A

SMTP

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

Protocol for virtual terminals

A

Telnet

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

What is the Presentation Layer responsible for?

A

Translation, Data Compression, Encryption

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

What is SSL?

A

Secure Socket Layer

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

What is Session Layer responsible for?

A

Authentication, Authorization, Session Management

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

What type of data runs in Session Layer?

A

Data Packets

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

What is Transport Layer responsible for?

A

Segmentation, Flow Control, Error Control, Connection and Connectionless Transactions

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

What is the difference between UDP and TCP?

A

UDP does not give feedback, hence is faster than TCP. However, it is less reliable.

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

How can TCP recover lost/corrupted data?

A

By using the checksum methods to find corrupted data and by checking the sequence number to find lost segments

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

What layers run on the web browser?

A

Application, Presentation and Session

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

What type of data runs in Transport Layer?

A

Segments

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

What information does a segment has?

A

Port number and sequence number

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

What for are port numbers used in a segment?

A

It helps to direct each segment to the correct application

18
Q

What for are segment numbers used in a segment?

A

It helps to disassemble segments in the correct order to form the correct message at the receiver

19
Q

What happens in flow control in transport layer?

A

The amount of data being transmitted is controlled (bandwidth)

20
Q

What happens in error control in transport layer?

A

Loss and corrupted data are retransmitted by using automatic repeated requests schemes

21
Q

What is checksum?

A

A group of bits added to each segment by the transport layer to find out the received corrupted segment

22
Q

What protocols run on transport layer?

A

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

23
Q

Where is UDP used?

A

Where data loss does not matter. VoIP apps, Video, Music, Games, DNS, TFTP

24
Q

Where is TCP used?

A

Where full data is necessary. WWW, Emails, FTP

25
What does network layer do?
Transmits data segments from one computer to another in different networks
26
What is Network Layer responsible for?
Logical Addressing (IPv4 & IPv6 + Mask), Routing, Path Determination
27
How are data units called in Network Layer?
Packets
28
How is a IP Packet formed?
Network layer assigns the IP number of source and destination to a segment
29
What is routing?
Method of moving a data packet from source to destination and it is based on the logical IP format of IPv4 or IPv6
30
How does the masking work in Network Layer?
It masks the IP where the numbers masked by 255 represent the network address and the number masked by 0 represents the computer ID inside a local network
31
What is path determination
Is choosing the best possible path for data delivery from source to destination
32
What protocols can determine the best path for data delivery?
OSPF: open shortest path first, BGP: border gateway protocol, IS-IS: intermediate system to intermediate system
33
What are the types of addressing?
Logical addressing (network layer - assigning IPs to segment to form data packets) & Physical addressing (data link layer - MAC addresses are assigned to each segment to form a frame)
34
Where and how is a data frame formed?
At data link layer. MAC1 + MAC2 + IP1 + IP2 + Segment + Tail
35
Where and how is a data packet formed?
At network layer. IP1 + IP2 + Segment
36
What is a MAC address?
A 12-digit alphanumeric number embedded in the network interface card (NIC) of a computer
37
How are data units called in data link layer?
Frame
38
Where is data link layer located and what does it do?
The data link layer is a software embedded int the network card of a computer and provide means to transfer data from one computer to another via local media
39
What are the functions of data link layer?
Access the media (framing) and control how data is placed and received from the media (media access control and error detection)
40
What is CSMA?
Carrier Sense Multiple Access. It controls when the media will be accessed on data link layer to avoid conflicts when multiple computers on the same network send/receive data at the same time
41
What is the tail of each contained of and responsible for?
It contains bit to detect errors in the received frame
42
How does the physical layer work?
it transforms the bits (frames) received from data link layer into signals to transmit over local media (electrical signals - coper cable, light signal - optical fiber, radio signal - wi-fi)