One CN question towers over the rest โ walk it well and the round is yours.
"What happens when you type google.com and press Enter?"
- DNS: browser โ OS cache โ resolver โ root/TLD servers โ the IP address
- TCP handshake: SYN โ SYN-ACK โ ACK โ connection open
- TLS handshake (HTTPS): certificates verified, session keys agreed
- HTTP request: GET / with headers; server responds with HTML
- Rendering: parse HTML โ fetch CSS/JS/images (repeat the above per resource) โ paint
Each step is a follow-up hook โ know one sentence more about whichever they pick.
TCP vs UDP
- TCP: connection, ordering, retransmission โ web, email, files. Reliability over speed
- UDP: fire-and-forget datagrams โ video calls, gaming, DNS. A lost frame is better late-ignored than re-sent
OSI in one line each (bottom-up)
Physical (bits/cables) โ Data Link (MAC, switches) โ Network (IP, routers) โ Transport (TCP/UDP, ports) โ Session โ Presentation (encryption/encoding) โ Application (HTTP, DNS). Mnemonic: "Please Do Not Throw Sausage Pizza Away".
Rapid-fire
- HTTP vs HTTPS: TLS encryption โ nothing readable on the wire
- IP finds the machine; port finds the program (80/443/22)
- GET idempotent & cacheable; POST neither