OSI Model Flashcards

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
Q

Which Layers a header?

A

Application, Presentation, Session, Transport, Network, Data Link - all of them with the exception of the Physical Layer

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

What Layer adds a Header AND Trailer?

A

Data Link Layer - The first six layers of the OSI model add a layer specific header.

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

What is a PDU?

A

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
Q

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)

A

True

29
Q

What is Same-Layer Interaction Describe?

A

The process of a given OSI layer removingthe header placed on the data by the same layer on the sending side.

30
Q

What is the name of another model, similar to OSI model?

A

TCP/IP Model

31
Q

What are the layers of the TCP/IP Model?

A

Application - Transport - Internet - Network Access

32
Q

What does the Application layer of the TCP/IP model handle?

A

All of the same items/tasks as the first three models of the OSI model, Application, Presentation, Session Layers.

33
Q

What does the Transport Layer of the TCP/IP Layer handle?

A

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
Q

What does the Internet layer of the TCP/IP layer handle?

A

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
Q

What does the Network Access Layer of the TCP/IP model do?

A

the Network Access Layer maps to the Data Link and Physical layers of the OSI model

36
Q

What layer do you start trouble shooting at?

A

Physical layer - take a structured approach - Don’t look for the obscure solution, look for the obvious solutions first.

37
Q

What type of connection is a TCP connection?

A

Reliable, connection orientated

38
Q

What type of connection is a UDP connection?

A

Unreliable, Connectionless

39
Q

What is a Three Way Handshake?

A

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
Q

True or False - UDP uses a Three Way Handshake

A

False

41
Q

In addition to the orderly construction of the communication channel, TCP uses the ________ bit to bring the channel down when the communication is closed

A

FIN or Finish

42
Q

What is the difference between Error Detection and Error Recovery?

A

Detection only finds the error and Recovery does something about it.

43
Q

What does the ACK number indicate?

A

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
Q

What does PAR stand for?

A

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
Q

True or False - TCP does windowing

A

True

46
Q

True or False - UDP does Windowing

A

False

47
Q

What does the term “Sliding Window” refer to?

A

Dynamic adjustment of window size

48
Q

What values do the TCP and UDP headers have in common?

A

Source port - Destination port - Checksum

49
Q

What is the purpose for UDP?

A

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
Q

True or False - Ports allow for determination of what data consists of?

A

True

51
Q

What is Multiplexing?

A

Multiplexing describes mixing of data streams. The use of port numbers to drive different data streams to the appropriate applications.

52
Q

What is a Socket?

A

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
Q

What port number does FTP use?

A

TCP ports 20 and 21

54
Q

What port does SSH use?

A

TCP port 22

55
Q

What port does SMTP use?

A

TCP port 25

56
Q

What port does HTTP use?

A

TCP port 80

57
Q

What port does POP3 use?

A

TCP port 110

58
Q

What port does SSL use?

A

TCP port 443

59
Q

From the CL, what command gives a list of ports most commonly used?

A

access-list 100 permit TCP any any eq ?

60
Q

What port does DHCP run on?

A

UDP ports 67 and 68

61
Q

What port does TFTP use?

A

UDP port 69

62
Q

What port does SNMP use?

A

UDP port 161

63
Q

what Protocol uses both TCP and UDP ports?

A

DNS uses both UDP and TCP ports 53

64
Q

What port is reserved for Private Mail systems?

A

The port number 24 is reserved in both UDP and TCP for private mail systems

65
Q

What ports are reserved for VoIP (Voice Traffic)?

A

UDP ports 16,384 - 32,767