questions Flashcards

(35 cards)

1
Q

IP

A

Logical addressing Network

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

ICMP

A

Diagnostics (ping, traceroute)
Network

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

TCP

A

Reliable communication Transport

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

UDP

A

Unreliable communication Transport

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

ARP

A

Resolves IP to MAC addresses Layer 2/3

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

DNS

A

Resolves domain names to IPs Application

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

DHCP

A

Assigns IP addresses dynamically
Application

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

Diagnostic Tools in OSI

A

ping – Checks connectivity using ICMP Echo Request

tracert (Windows) / traceroute (Linux) – Traces path packets take

ipconfig / ifconfig – Displays IP configuration

nslookup – Queries DNS servers

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

Important Terms in OSI
Segmentation
Encapsulation
TTL (Time to Live)
ACK
SYN

A

Segmentation: Breaking large messages into smaller segments (Transport layer)

Encapsulation: Wrapping data with protocol-specific headers

TTL (Time to Live): Limits the lifespan of a packet

ACK: Acknowledgment in TCP

SYN: Synchronize sequence numbers

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

. Port Numbers

HTTP

HTTPS

FTP:

DNS

DHCP

SSH

A

HTTP: 80

HTTPS: 443

FTP: 21

DNS: 53

DHCP: 67/68

SSH: 22

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

Three-Way Handshake (TCP)

A

SYN – Client sends a synchronization request

SYN-ACK – Server acknowledges and replies

ACK – Client acknowledges

Summary of the TCP Three-Way Handshake:
Step Who sends it Meaning
1 Client → Server SYN: Request to start connection
2 Server → Client SYN-ACK: Acknowledge and synchronize
3 Client → Server ACK: Acknowledge server’s reply, connection established

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

Q: How many layers are in the OSI model?

A

7 layers

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

Q: What is a common mnemonic to remember the OSI layers (top-down)?

A

All People Seem To Need Data Processing
(Application, Presentation, Session, Transport, Network, Data Link, Physical)

Top-Down: All People Seem To Need Data Processing

Bottom-Up: Please Do Not Throw Sausage Pizza Away

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

Q: What is the function of the Application layer?

A

A: Interface between user applications and the network (e.g., HTTP, FTP, SMTP)

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

Q: Give 2 protocols that operate at the Application layer.

A

A: HTTP, SMTP

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

Q: What does the Presentation layer do?

A

A: Translates, encrypts, and compresses data

17
Q

Q: What formats are handled in presentation lazer?

A

A: JPEG, MPEG, SSL/TLS encryption

18
Q

Q: What is the role of the Session layer?

A

A: Manages sessions/connections between applications

19
Q

Q: What does the Session layer establish, manage, and terminate?

A

A: Communication sessions

20
Q

Q: What does the Transport layer ensure?

A

A: Reliable delivery (or fast delivery) of data

21
Q

Q: What does the Transport layer ensure?

A

A: Reliable delivery (or fast delivery) of data

22
Q

Q: What are the two main protocols in transport layer?

A

A: TCP (reliable), UDP (unreliable)

23
Q

Q: What identifiers are used in transprot layer?

A

A: Port numbers

24
Q

Q: What is the primary function of the Network layer?

A

A: Routing and logical addressing (IP)

25
Q: What are examples of protocols at network layer?
A: IP, ICMP, OSPF
26
Q: What is the main unit of data at network layer?
A: Packet
27
Q: What does the Data Link layer handle?
A: MAC addressing, framing, and error detection on local links
28
Q: What are the two sublayers of data link?
A: LLC (Logical Link Control) and MAC (Media Access Control)
29
Q: What is the unit of data at data link layer?
A: Frame
30
Q: What does the Physical layer transmit?
A: Bits (0s and 1s) over physical media (cables, radio waves)
31
Q: Name some devices at the Physical layer.
A: Hubs, cables, network adapters
32
Q: What is the unit of data at physical layer?
Bits
33
Q: Which OSI layers are primarily software-based?
A: Layers 5, 6, 7 (Session, Presentation, Application)
34
Q: Which OSI layers are concerned with data delivery across networks?
A: Layers 3 and 4 (Network and Transport)
35
Q: Which layers define hardware or media specifications?
A: Layers 1 and 2 (Physical and Data Link)