ChatGPT Network + Questions Flashcards

1
Q

What are the 7 layers of the OSI model?

A
  1. Application
  2. Presentation
  3. Session
  4. Transport
  5. Network
  6. Data Link
  7. Physical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What layer of the OSI model is responsible for routing?

A

Layer 3 (Network Layer)

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

What protocol operates on port 443?

A

HTTPS (HyperText Transfer Protocol Secure)

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

What is the primary function of the Transport Layer (Layer 4) in the OSI model?

A

It handles end-to-end communication, error checking, and flow control. Protocols include TCP (connection-oriented) and UDP (connectionless).

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

What is the default subnet mask for a Class C IPv4 address?

A

255.255.255.0

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

Which protocol is used to translate domain names to IP addresses?

A

DNS (Domain Name System), operating on port 53.

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

What is the difference between TCP and UDP?

A
  1. TCP: Connection-oriented, reliable, ensures delivery (e.g., HTTP, FTP).
  2. UDP: Connectionless, faster, but does not ensure delivery (e.g., DNS, streaming media).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does NAT stand for, and what is its purpose?

A

NAT (Network Address Translation) allows private IP addresses to be translated to public IP addresses for outbound internet traffic.

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

What is the primary function of VLANs?

A

VLANs (Virtual Local Area Networks) segment a network into different broadcast domains, improving performance and security.

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

What is the main difference between static and dynamic routing?

A
  1. Static Routing: Routes are manually configured.
  2. Dynamic Routing: Routes are automatically learned using protocols like RIP, OSPF, or BGP.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which TCP/IP model layer is responsible for IP addressing and routing?

A

The Internet Layer (equivalent to OSI’s Layer 3, Network Layer).

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

What is subnetting, and why is it used?

A

Subnetting divides a large network into smaller sub-networks, improving network management and reducing congestion.

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

What is the function of a firewall?

A

A firewall filters incoming and outgoing network traffic based on security rules to protect the network from unauthorized access.

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

What port is used by SSH (Secure Shell)?

A

Port 22

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

What is the purpose of ICMP (Internet Control Message Protocol)?

A

ICMP is used for diagnostic and error-reporting functions in a network, such as the ping and traceroute utilities.

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

What is the difference between IPv4 and IPv6?

A
  1. IPv4: 32-bit addressing, supports about 4.3 billion addresses (e.g., 192.168.1.1).
  2. IPv6: 128-bit addressing, supports a much larger number of addresses (e.g., 2001:0db8:85a3::7334).
16
Q

What is the purpose of ARP (Address Resolution Protocol)?

A

ARP resolves an IP address to a MAC address for communication within a local network.

17
Q

What is PAT (Port Address Translation)?

A

PAT allows multiple devices on a local network to share a single public IP address by using different port numbers for each session.

18
Q

What is the primary function of the Data Link Layer (Layer 2)?

A

It handles physical addressing (MAC addresses), error detection, and delivery of frames between devices on the same network.

18
Q

What is BGP (Border Gateway Protocol) used for?

A

BGP is a dynamic routing protocol used to exchange routing information between different autonomous systems (AS), typically on the internet.