Learn Networking core architecture, production scenario-based questions, incident response, and real-world engineering solutions.
β Q1: Explain the OSI Model.
Click on the dropdown below to reveal the technical answer.
Answer: The OSI (Open Systems Interconnection) Model is a conceptual framework that standardizes network communication functions into seven logical layers:
β Q2: Explain the TCP/IP Model.
Click on the dropdown below to reveal the technical answer.
Answer: The TCP/IP Model (or Internet Protocol Suite) is a practical, simplified 4-layer model used to design real-world internet architectures:
β Q3: Compare TCP and UDP.
Click on the dropdown below to reveal the technical answer.
Answer:
| Feature | TCP (Transmission Control Protocol) | UDP (User Datagram Protocol) |
|---|---|---|
| Connection | Connection-oriented (requires 3-way handshake) | Connectionless (sends packets immediately) |
| Reliability | Guaranteed delivery (acknowledgments + retransmission) | Unreliable (best-effort delivery; packets can be lost) |
| Ordering | Guarantees packets arrive in sequential order | No ordering guarantees |
| Speed | Slower (protocol overhead + flow control) | Much faster (minimal overhead) |
| Use Cases | Web pages (HTTP), database connections, SSH | Video streaming, online gaming, DNS queries, VoIP |
β Q4: What is a socket?
Click on the dropdown below to reveal the technical answer.
Answer:
A socket is a software abstraction representing an endpoint in a two-way communication link between two programs running on a network. It is uniquely identified by the combination of an IP Address and a Port Number (e.g., 192.168.1.100:80).
β Q5: What is Port Forwarding?
Click on the dropdown below to reveal the technical answer.
Answer:
Port Forwarding (or port mapping) is a Network Address Translation (NAT) application that redirects a communication request from one address and port combination to another while packets traverse a network gateway (e.g., exposing a private container application listening on port 8080 to the host's public IP port 80).
β Q6: How does DNS resolution work?
Click on the dropdown below to reveal the technical answer.
Answer:
DNS acts as the phonebook of the internet, converting human-readable domain names (e.g., example.com) into computer-readable IP addresses (e.g., 93.184.216.34) in a recursive process:
ββββββββββββββββββββββββ
β π€ User Web Browser β
ββββββββββββ¬ββββββββββββ
β 1. Query: "example.com"
βΌ
ββββββββββββββββββββββββ
β ποΈ Recursive Resolverβ βββββ
ββββββββββββ¬ββββββββββββ β
β β 8. Returns IP
β 2. Queries β
βΌ β
ββββββββββββββββββββββββββ β
β π Root Name Server β ββββ€
ββββββββββββββββββββββββββ β
β β
β 3. Refer to .comβ
βΌ β
ββββββββββββββββββββββββββ β
β π TLD Name Server β ββββ€
ββββββββββββββββββββββββββ β
β β
β 4. Refer to DNS β
βΌ β
ββββββββββββββββββββββββββ β
βπ Authoritative Server β ββββ
ββββββββββββββββββββββββββ
8.8.8.8)..). The root server directs the resolver to the Top-Level Domain (TLD) Server handling .com.β Q7: What is DNS Caching?
Click on the dropdown below to reveal the technical answer.
Answer: DNS Caching is the temporary storage of IP mappings close to the requesting client (in browsers, operating systems, routers, and resolvers) for a duration defined by the record's TTL (Time to Live), minimizing the need to query recursive resolvers and root servers repeatedly.
β Q8: What is Amazon Route 53?
Click on the dropdown below to reveal the technical answer.
Answer: Route 53 is a highly available and scalable cloud Domain Name System (DNS) service provided by AWS. It performs three primary functions: domain registration, recursive DNS routing, and resource health checking, supporting advanced routing policies (latency-based, geolocation, failover, and weighted routing).
β Q9: What is Split-Horizon DNS?
Click on the dropdown below to reveal the technical answer.
Answer:
Split-Horizon DNS is a DNS configuration where the name server returns different IP addresses for the same domain name depending on the source IP of the requesting client (e.g., returning a private VPC IP 10.0.1.15 to internal staff, but returning a public elastic IP 54.210.12.5 to external internet clients).
β Q10: What is DNS Propagation?
Click on the dropdown below to reveal the technical answer.
Answer: DNS Propagation is the period of time required for changes to DNS records (like updating an IP address) to distribute and update across all DNS cache caches worldwide. This can take up to 24β48 hours, dictated by the cached record's TTL setting.
β Q11: What happens when you enter a URL in a browser?
Click on the dropdown below to reveal the technical answer.
Answer:
https), host name (example.com), and path.SYN β‘οΈ SYN-ACK β‘οΈ ACK) with the server IP on port 443.GET /index.html).200 OK) and payload data (HTML, JS).β Q12: Explain the HTTPS Handshake.
Click on the dropdown below to reveal the technical answer.
Answer: HTTPS overlays HTTP on top of the SSL/TLS protocol to encrypt communication:
β Q13: Difference between SSL and TLS.
Click on the dropdown below to reveal the technical answer.
Answer:
β Q14: What is an SSL Certificate?
Click on the dropdown below to reveal the technical answer.
Answer: An SSL Certificate is a digital file signed by a trusted third-party Certificate Authority (CA) that binds a public cryptographic key to an organization's identity or domain name, verifying that the server represents the actual domain owner.
β Q15: What is Mutual TLS (mTLS)?
Click on the dropdown below to reveal the technical answer.
Answer: In standard TLS, only the server proves its identity to the client. In Mutual TLS (mTLS), both the client and the server validate each other's certificates:
β Q16: Explain Load Balancing, and why it is important.
Click on the dropdown below to reveal the technical answer.
Answer: A Load Balancer is a physical device or virtual software layer that acts as a traffic cop, distributing incoming client network requests (HTTP, TCP, UDP) across a pool of healthy backend servers.
β Q17: What is the difference between a Layer 4 (L4) and a Layer 7 (L7) Load Balancer?
Click on the dropdown below to reveal the technical answer.
Answer:
/api to an API service and /images to a storage service).β Q18: What is a Sticky Session (Session Affinity)?
Click on the dropdown below to reveal the technical answer.
Answer: Sticky Session is a load balancer configuration that routes all requests from a specific user session to the same backend server for the duration of the session, typically managed using cookies. This is useful for legacy stateful applications that store session data in local server memory.
β Q19: Compare Forward Proxy and Reverse Proxy.
Click on the dropdown below to reveal the technical answer.
Answer:
β Q20: Production Scenario: A website is inaccessible to users. How do you systematically troubleshoot?
Click on the dropdown below to reveal the technical answer.
Answer: Follow a bottom-up troubleshooting methodology:
curl -I https://website.com from external networks).dig website.com or nslookup to verify the hostname resolves to the correct IP.nc -zv <IP> 443 or telnet <IP> 443 to check if port 443 is accepting connections.traceroute <IP> or mtr <IP> to identify where network packets are being dropped.systemctl status nginx (or apache) to check if the server daemon is running./var/log/nginx/error.log) and system resources (top, df -h).β Q21: Scenario: DNS is not resolving. What do you check?
Click on the dropdown below to reveal the technical answer.
Answer:
cat /etc/resolv.conf).dig website.com @8.8.8.8.A or CNAME records.β Q22: Scenario: What happens if an HTTPS certificate expires? How do you fix it?
Click on the dropdown below to reveal the technical answer.
Answer:
systemctl reload nginx) to apply changes.certbot or AWS ACM auto-renewal.