The OSI model Flashcards

1
Q

What is the Application Layer (Layer 7), and what is its primary function?

A

The Application Layer enables user interaction with the internet through software applications. It includes protocols like HTTP/HTTPS (for web browsing), SMTP (for email), and DNS (for translating domain names to IP addresses). This layer is where user requests and responses are initiated and processed.

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

How does the Application (Layer 7) facilitate web browsing?

A

When a user accesses a website, the browser uses HTTP or HTTPS to send requests to the web server and receive responses. DNS is also used to translate domain names (e.g., www.example.com) into IP addresses to locate the server hosting the website.

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

What is the Presentation Layer (Layer 6), and what are its key responsibilities?

A

The Presentation Layer ensures data is in a format that applications on both sending and receiving systems can understand. It handles data translation, encryption (e.g., SSL for HTTPS), compression, and character encoding to ensure compatibility across systems.

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

Why is encryption important at the Presentation Layer (6)?

A

Encryption, such as SSL/TLS, secures data during transmission, protecting sensitive information (e.g., passwords, credit card details) from being intercepted or accessed by unauthorized parties.

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

What is the Session Layer (Layer 5), and what role does it play in network communication?

A

The Session Layer establishes, maintains, and terminates connections (sessions) between devices. It manages authentication, reconnection, and checkpoints during data transfer. If a session is interrupted, it ensures the transmission resumes from the last checkpoint.

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

How does the Session Layer handle (5) interruptions in data transfer?

A

It uses checkpoints to mark progress during data transfer. If a session is interrupted, the transfer resumes from the last checkpoint, ensuring no data is lost or duplicated.

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

What is the Transport Layer (Layer 4), and what are its main functions?

A

What is the Transport Layer (Layer 4), and what are its main functions?

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

What is the difference between TCP and UDP at the Transport Layer (4)?

A

TCP (Transmission Control Protocol): Establishes a connection, ensures reliable delivery, and retransmits lost data.

UDP (User Datagram Protocol): Connectionless, faster, but does not guarantee delivery or retransmit lost data. Used for real-time applications like video streaming.

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

What is the Network Layer (Layer 3), and what is its primary role?

A

The Network Layer is responsible for routing data packets between devices across different networks. It uses IP addresses to identify the source and destination, ensuring packets are delivered to the correct location. Routers operate at this layer.

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

How does the Network Layer (3) use IP addresses?

A

IP addresses are attached to data packets to identify the sender and receiver. Routers use these addresses to determine the best path for delivering packets between networks.

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

What is the Data Link Layer (Layer 2), and what does it do?

A

The Data Link Layer organizes data transmission within a single network. It handles framing (packaging data into frames), error detection, and MAC addressing. Switches and network interface cards (NICs) operate at this layer.

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

What are examples of protocols used at the Data Link Layer (2)?

A

Protocols like NCP (Network Control Protocol), HDLC (High-Level Data Link Control), and SDLC (Synchronous Data Link Control) are used to manage data transmission within a network.

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

What is the Physical Layer (Layer 1), and what is its function?

A

The Physical Layer deals with the physical transmission of data over hardware (e.g., cables, hubs, modems). It converts data into binary (0s and 1s) for transmission over wired or wireless media.

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

How does the Physical Layer(1) transmit data?

A

Data is converted into electrical, optical, or radio signals (binary 0s and 1s) and transmitted over physical media like Ethernet cables, fiber optics, or Wi-Fi. The receiving device then decodes the signals back into data.

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