Computer Networks Flashcards
(13 cards)
Explain the OSI model layers.
- Physical: Electrical signals and hardware
- Data Link: Frame formatting and error detection
- Network: Routing and IP addressing
- Transport: End-to-end communication (TCP/UDP)
- Session: Managing connections between applications
- Presentation: Data encryption, compression, formatting
- Application: User interfaces and network services
Each layer provides services to the layer above and uses services from the layer below.
What is the difference between TCP and UDP?
TCP: Connection-oriented, reliable, ensures order, error checking, higher overhead. Used for web, email, file transfer.
UDP: Connectionless, fast, no delivery/order guarantee, lower overhead. Used for streaming, gaming, DNS.
Explain how DNS works.
- User requests website
- Browser checks cache
- Queries DNS resolver
- Resolver queries root nameservers
- Then TLD servers
- Then authoritative nameservers
- Returns IP
- Browser connects using IP.
What are different types of network topologies?
Bus, Star, Ring, Mesh, Tree, Hybrid. Each has pros and cons in cost, reliability, scalability, and performance.
Explain network security protocols and measures.
Firewalls, VPN, SSL/TLS, IPSec, WPA/WPA2, NAC, IDS/IPS. Defense in depth using multiple layers.
What is Quality of Service (QoS) in networks?
Manages resources for traffic. Techniques: Traffic Shaping, Prioritization, Classification, Policing, Queuing.
Describe routing protocols and algorithms.
Distance Vector (RIP - Bellman-Ford), Link State (OSPF - Dijkstra), Path Vector (BGP), Static, Dynamic.
What are VLANs and their benefits?
Virtual LANs segment networks logically. Types: Port/MAC/Protocol-based. Benefits: Security, isolation, flexibility.
Explain network load balancing techniques.
Techniques: Round Robin, Least Connections, IP Hash, Geographic, Health Checks. Layer 4/7 balancing.
What is Software-Defined Networking (SDN)?
Separates control and data plane. Components: Controller, OpenFlow, Apps, APIs. Benefits: Centralized control.
Describe wireless networking standards and technologies.
802.11a/b/g/n/ac/ax (WiFi standards), Bluetooth, Cellular (3G/4G/5G). Vary by range, speed, power.
What are network monitoring and troubleshooting tools?
Tools: Ping, Traceroute, Netstat, Wireshark, Nmap, SNMP, Bandwidth monitors. Troubleshoot via OSI layers.
Explain Content Delivery Networks (CDNs).
CDNs use edge servers, caching, load balancing, and global distribution to reduce latency and improve performance.