OSI 7-layer model and give a practical example of a protocol at each layer.OSI 7-layer model and the TCP/IP 4-layer model, and why do we use both?NIC (Network Interface Card), and at which layers does it operate?MAC address, and what is the significance of the OUI portion?802.1Q tagging), and why is it needed between switches?CSMA/CD and CSMA/CA, and why is one used in wired Ethernet and the other in Wi-Fi?CRC or checksum?TCP and UDP, and when would you choose one over the other?1024 treated specially?UDP over TCP for a real-time application, and what specific reliability features do you lose?TCP, and how does it relate to flow control?TCP ensure reliability? Explain sequence numbers and acknowledgments.TCP congestion control. Why is it used?TCP. How does 'Slow Start' work?TCP react to it?TCP flow control (sliding window) and congestion control (slow start/AIMD), and what problem each is trying to solve.TCP Congestion Control. What are 'Slow Start' and 'Congestion Avoidance'?TCP decide when to retransmit a packet? Explain the role of the Retransmission Timeout (RTO).TCP, and how do duplicate ACKs trigger them?TCP?AIMD (Additive Increase, Multiplicative Decrease) and its role in TCP congestion control.TCP three-way handshake. Why are three steps necessary instead of two?TCP connection require a 4-way handshake to close instead of just 3, and what is the TIME_WAIT state?RTT), and how does it affect the performance of the TCP handshake?TCP three-way handshake. What happens if the final ACK is lost?TCP connection?HTTP/2 and HTTP/3 address it differently?RFC 1918)? How do they communicate with each other?CIDR notation?TTL' (Time to Live) field in an IP packet and what happens when it reaches zero?IP is on the local network or needs to be routed externally?/26 subnet, and how do you calculate that?IPv4 header and an IPv6 header?SLAAC allow a host to auto-configure an address?BGP (Border Gateway Protocol) in the context of how the Internet routes traffic between providers.RIP and OSPF as examples?SSH, and what does it provide at the application layer?Telnet, and why is it considered insecure compared to SSH?SMTP, IMAP, and POP3 in how email is sent and retrieved?FTP and SFTP, and what is the difference between active and passive FTP?NTP used for, and why is time synchronization important in a network?SNMP, and how is it used for network management and monitoring?DHCP assign IP addresses to devices? Walk me through the DORA process.A, AAAA, CNAME, MX, TXT) and what do they do?NS and TXT records do in DNS?DNS resolution process. What is the difference between a Recursive and an Iterative query?A record, a CNAME record, and an ALIAS record, and when would you use one over the other?DNS caching and TTL values work, and what are the tradeoffs of a long vs short TTL?DNS server hierarchy, root servers, TLD servers, and authoritative servers, and their roles.PTR record and how is reverse DNS lookup used?DNS work as a basic load-distribution mechanism?Host' header in an HTTP request?1xx–5xx) at the protocol level, and give an example of each?WebSocket 'Upgrade' handshake work? Once established, how does it differ from a standard HTTP persistent connection?HTTP Cookies work at the protocol level (headers) to maintain state in a stateless protocol?HTTP/1.1, HTTP/2, and HTTP/3. Why did the industry move toward each version?gRPC and REST?HTTP/1.1 and HTTP/2? How does multiplexing work in HTTP/2?WebSockets work, and how does the Upgrade handshake transition from HTTP?WebSockets, Long Polling, and Server-Sent Events (SSE). When would you choose one over the others?301 and a 302/307 redirect at the protocol level.Connection: keep-alive header, and how does it affect the underlying TCP connection?HTTP/3 use UDP (via QUIC) instead of TCP? How does it ensure reliability if UDP is inherently unreliable?HTTP/2's multiplexing differ from HTTP/1.1's pipelining, and why does HTTP/3 move from TCP to QUIC (UDP)?HTTP/1.1, HTTP/2, and HTTP/3. Specifically, how does HTTP/3 solve the 'TCP Head-of-Line blocking' problem found in HTTP/2?TLS handshake, how are asymmetric and symmetric encryption used together to secure a connection?TLS/SSL prevent this?HTTPS connection is established. What happens during the TLS handshake?TLS session?TLS 1.3 handshake. How does it differ from TLS 1.2 in terms of performance and security?TLS handshake?TLS, and what components does it specify?IPsec secure traffic, and what is the difference between transport mode and tunnel mode?ARP spoofing (ARP poisoning), and how can an attacker use it to intercept traffic?SYN flood attack. How does it exploit the TCP handshake?TCP SYN flood attack, and how do 'SYN Cookies' help mitigate it?VoIP application vs. a file download?RTT) and Jitter, and explain how high jitter affects a VoIP or video streaming application specifically.RTT, and why is this critical for protocols like TCP?QoS), and what mechanisms are used to prioritize certain traffic?MTU), and what happens at the network layer if a packet is larger than the MTU of a hop along its path?TCP performance for long-distance high-speed links?ping' command work? Which protocol does it use and at which layer?NAT (Network Address Translation), and why is it necessary for the modern internet?ping and traceroute work at the protocol level, and what specific field in the IP header does traceroute manipulate?NAT) allows multiple devices in a private network to share a single public IP address, and what role port numbers play in this process.NAT and PAT (Port Address Translation)?