Technical - Networking Flashcards

1
Q

TCP vs UDP (Provide examples)

A

TCP (Transmission Control Protocol):
Purpose: Reliable, ordered, error-checked delivery
How: 3-way handshake(SYN, SYN-ACK, ACK), sequencing, ACKs/timeouts, error checking/checksums.
Examples: HTTP, FTP

UDP (User Datagram Protocol):
Purpose: Fast, connectionless, no delivery guarantees
No Handshake: Fire-and-forget
Examples: DNS, Streaming

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

HTTP/HTTPS

A

HTTP (Hypertext Transfer Protocol):
Purpose: Transfer web content
Port: 80
Transport: TCP, plain text

HTTPS (HTTP Secure):
Purpose: Secure web content with encryption
Port: 443
Encryption: TLS/SSL (Asymmetric for key exchange, Symmetric for data)

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

TLS vs SSL

A

SSL (Secure Sockets Layer):
Purpose: Outdated encryption protocol, vulnerable

TLS (Transport Layer Security):
Purpose: Modern, secure encryption
Key Exchange: Asymmetric (RSA/ECDHE), Data Encryption (Symmetric AES)

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

VPN

A

VPN (Virtual Private Network):
Purpose: Secure, encrypted private network over the internet
Encryption: Encrypts entire packet (payload + headers)
Protocols: IPsec, OpenVPN

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

DNS

A

DNS (Domain Name System):
Purpose: Translate domain names to IP addresses
Resolution:
Process: Resolver > Root DNS > TLD DNS > Authoritative DNS
Record Types: A (IPv4), AAAA (IPv6), CNAME, MX
Port: 53 (UDP/TCP)

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

DHCP

A

DHCP (Dynamic Host Configuration Protocol):
Purpose: Automatically assigns IP addresses and network configurations
Process: Discover > Offer > Request > ACK

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

ARP

A

ARP (Address Resolution Protocol):
Purpose: Resolve IP addresses to MAC addresses
Process: ARP Request > ARP Reply
Cache: Stores IP-MAC mappings

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

Trace egress request from local machine to the internet (Local Machine > OSI > Router/Modem > ISP)

A
  1. Local Machine: Application generates data.
  2. OSI Layers: Translated into TCP/UDP segments, packets, and eventually transmitted as frames.
  3. Router:
    - NAT: Translates source IP/Port (Ephemeral)
    - Forwards based on routing table
  4. Modem: Converts and sends packet to ISP.
  5. ISP: Routes packet through its network to destination.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Trace ingress response from internet to local machine (ISP > Modem > Router > OSI > Local Machine)

A
  1. ISP: Receives and routes packet to public IP.
  2. Modem: Converts and sends packet to router.
  3. Router:
    - Reverse NAT: Translates destination IP/Port (Ephemeral)
    - Forwards to machine private IP
  4. OSI Layers: Translated from frames into packets and eventually TCP/UDP segments.
  5. Local Machine: Application processes received data.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

OSI vs TCP/IP (Explain layers)

A

OSI (Open Systems Interconnection):
Purpose: Conceptual model for network protocols
7 Layers: Physical, Data Link, Network, Transport, Session, Presentation, Application

TCP/IP (Transmission Control Protocol/Internet Protocol):
Purpose: Practical framework for network communication
4 Layers: Link, Internet, Transport, Application

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

CIDR vs Subnet Mask (Explain /24 and 255.255.255.0)

A

CIDR (Classless Inter-Domain Routing):
Purpose: Represent range of IP address
/24: First 24 bits (3 octets) reserved

Subnet Mask:
Purpose: Represent range of IP address
255.255.255.0: First 24 bits (3 octets) reserved

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

Default Gateway

A

Default route for traffic from a local network to destinations outside of the network

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