OSI Model Flashcards

(65 cards)

1
Q

What does the Application Layer handle?

A

Provides services directly to user applications. Types of communications. i.e. Email, file transfer, client/server.

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

What does the presentation layer do?

A

Performs data transformations to provide a common interface for user applications, including services such as reformatting, data compression and encryption (i.e. ASCII to EBCDIC, BCD to Binary)

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

What does the Session layer do?

A

Establishes, manages and ends user connections and manages the interaction between end systems. Services include things like establishing communications as full or half duplex.

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

What does the Transport Layer do?

A

Insulates the three upper layers from having to deal with the complexities of layers 1 - 3 by providing the functions necessary to guarantee a reliable network link. This layer also provides error recovery and flow control between the two end points of the network connection.

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

What does the Network Layer do?

A

Establishes, maintains and terminates network connections. Routes data to different LAN’s and WAN’s based on network address

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

What does the Data-Link Layer do?

A

Ensure the reliability of the physical link established at layer 1. Standards define how data FRAMES are recognized and provide necessary flow control and error handling at frame level

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

What does the Physical layer do?

A

Controls transmission of the raw bitstream over the transmission medium. Standards for this layer define parameters as signal voltage swing, duration of voltages (bits) and so on.

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

Name 6 protocols that operate at the application layer?

A

BGP, DHCP, DNS, FTP, HTTP, IMAP, IRC, LDAP, MGCP, NNTP, NTP, POP, RIP, RPC, RTP, SIP, SMTP, SNMP, SOCKS, SSH, TELNET, TLS/SSL, XMPP

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

Name three protocols that operate at Transport layer?

A

TCP, UDP, DCCP, SCTP, RSVP, ECN

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

Name 3 protocols that operate at the Internet Layer?

A

IP (IPv4, IPv6), ICMP, ICMPv6, IGMP, IPsec

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

Name 3 protocols that operate at the Link Layer?

A

ARP, InARP, NDP, OSPF, L2TP, PPP, Media Access Control, DSL, ISDN

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

What is TCP considered?

A

Reliable Connection

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

Name the Seven Layers of the 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
14
Q

What Layer do Switches operate at?

A

Layer 2

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

What Layer do Bridges operate at?

A

Layer 2

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

What is the most effective way to troubleshoot?

A

Layered approach, that is why it is critical to know the OSI model backwards and forwards.

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

What does HDLC stand for? What layer does it run at?

A

High Data Link Control - Layer 2

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

True or False - Does Layer 2 perform error recovery?

A

False - It does perform Error Detection through Frame check sequencing but does NOT perform error recovery

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

TRUE or FALSE - Is a MAC address part of the Physical Layer?

A

False - MAC addresses are layer 2

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

At the Application, Presentation and Session Layers, Data is called…

A

DATA

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

At the Transport layer, Data is placed into …..

A

SEGMENTS

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

At the Network layer Data is placed into…

A

PACKETS

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

At the Data Link layer, data is placed into….

A

FRAMES

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

At the Physical layer, data is….

A

BITS - Remember, it all comes down to 1’s and 0’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Which Layers a header?
Application, Presentation, Session, Transport, Network, Data Link - all of them with the exception of the Physical Layer
26
What Layer adds a Header AND Trailer?
Data Link Layer - The first six layers of the OSI model add a layer specific header.
27
What is a PDU?
The combination of data and layer specific header is called a PDU (Protocol Data Unit) There is a PDU for each layer. (i.e the combination of data and L7 header information is called and L7 PDU)
28
True or False - After data is successfully transmitted by the physical layer to the remote location, the data travels back up the OSI model. Each layer removing the header added by its counterpart (i.e layer 3 removes the L3 header and reads it, etc)
True
29
What is Same-Layer Interaction Describe?
The process of a given OSI layer removingthe header placed on the data by the same layer on the sending side.
30
What is the name of another model, similar to OSI model?
TCP/IP Model
31
What are the layers of the TCP/IP Model?
Application - Transport - Internet - Network Access
32
What does the Application layer of the TCP/IP model handle?
All of the same items/tasks as the first three models of the OSI model, Application, Presentation, Session Layers.
33
What does the Transport Layer of the TCP/IP Layer handle?
The TCP/IP Transport layer maps directly to the Transport layer of the OSI model. TCP and UDP both operate at this layer and data takes the form of SEGEMENTS
34
What does the Internet layer of the TCP/IP layer handle?
The internet layer of the TCP/IP model maps the the Network layer of the OSI model. Both layers are responsible for routing through the use of IP addresses, static routes, and dynamic routing.
35
What does the Network Access Layer of the TCP/IP model do?
the Network Access Layer maps to the Data Link and Physical layers of the OSI model
36
What layer do you start trouble shooting at?
Physical layer - take a structured approach - Don't look for the obscure solution, look for the obvious solutions first.
37
What type of connection is a TCP connection?
Reliable, connection orientated
38
What type of connection is a UDP connection?
Unreliable, Connectionless
39
What is a Three Way Handshake?
Before a sender can start sending there is going to be a negotiation between the two devices regarding rules for data transmission. 1. This begins with the sender transmitting a TCP segment with the Synchronization (SYN) bit set. 2. The recipient responds with a TCP segment with both the synchronization and acknowledgement bits set (SYN/ACK) 3. The sender responds with an ACK - The three way handshake is complete
40
True or False - UDP uses a Three Way Handshake
False
41
In addition to the orderly construction of the communication channel, TCP uses the ________ bit to bring the channel down when the communication is closed
FIN or Finish
42
What is the difference between Error Detection and Error Recovery?
Detection only finds the error and Recovery does something about it.
43
What does the ACK number indicate?
The next sequence number the data recipient expects to see. This is in place so the host knows that all segments sent have been received and which segment it is expecting next.
44
What does PAR stand for?
Positive Acknowledgement with Retransmission. Sender will set an acknowledgement timer, if ACK isn't received by timer end, the sender will resend all segments again.
45
True or False - TCP does windowing
True
46
True or False - UDP does Windowing
False
47
What does the term "Sliding Window" refer to?
Dynamic adjustment of window size
48
What values do the TCP and UDP headers have in common?
Source port - Destination port - Checksum
49
What is the purpose for UDP?
Reduction in overhead - The TCP header is much larger thand the UDP header. that header is is being applied to every segment and that can add up. The advantage to UDP is that its header is much smaller than TCP
50
True or False - Ports allow for determination of what data consists of?
True
51
What is Multiplexing?
Multiplexing describes mixing of data streams. The use of port numbers to drive different data streams to the appropriate applications.
52
What is a Socket?
A Socket is a combination of IP address and Port number. (i.e. the socket on 10.1.1.2 for port 69 is 10.1.1.2:69) The socket can also be expressed with this format (IP address, Transport protocol, port number - 10.1.1.2,UDP,69)
53
What port number does FTP use?
TCP ports 20 and 21
54
What port does SSH use?
TCP port 22
55
What port does SMTP use?
TCP port 25
56
What port does HTTP use?
TCP port 80
57
What port does POP3 use?
TCP port 110
58
What port does SSL use?
TCP port 443
59
From the CL, what command gives a list of ports most commonly used?
access-list 100 permit TCP any any eq ?
60
What port does DHCP run on?
UDP ports 67 and 68
61
What port does TFTP use?
UDP port 69
62
What port does SNMP use?
UDP port 161
63
what Protocol uses both TCP and UDP ports?
DNS uses both UDP and TCP ports 53
64
What port is reserved for Private Mail systems?
The port number 24 is reserved in both UDP and TCP for private mail systems
65
What ports are reserved for VoIP (Voice Traffic)?
UDP ports 16,384 - 32,767