← Back to Home

Networking Interview Questions — What Senior Engineers Need to Know

By Nikola Pashov

Networking fundamentals underpin every distributed system and web application. Senior engineers are expected to understand not just what TCP does, but how the three-way handshake works, why Nagle’s algorithm exists, and what actually happens when you type a URL into a browser.

These 13 questions cover the networking concepts most relevant to backend and full-stack interviews: protocol differences, connection lifecycle, DNS resolution, TLS handshakes, and HTTP/2 improvements. Understanding these deeply helps you debug production issues and make informed architectural decisions.

All 13 Questions

TCP — 3-Way HandshakeMid
Explain the TCP 3-way handshake.

The TCP three-way handshake establishes a reliable, ordered connection between a client and server before any application data is exchanged.

Read full answer →
TLS — Certificate, DH, AESSenior
How does TLS work? Explain certificates, Diffie-Hellman, and AES.

TLS (Transport Layer Security) provides authentication, confidentiality, and integrity for network connections.

Read full answer →
TCP vs UDPMid
What is the difference between TCP and UDP?

TCP and UDP are both transport layer protocols that sit on top of IP, but they make fundamentally different trade-offs between reliability and performance.

Read full answer →
HTTP vs HTTPSEntry
What is the difference between HTTP and HTTPS?

HTTP (Hypertext Transfer Protocol) is the application-layer protocol for transferring web resources — HTML, JSON, images, etc.

Read full answer →
WebSocketsMid
What are WebSockets and when would you use them instead of HTTP?

WebSockets are a protocol (RFC 6455) that provides full-duplex, persistent communication over a single TCP connection.

Read full answer →
REST vs gRPCMid
What is the difference between REST and gRPC?

REST (Representational State Transfer) and gRPC are both approaches for building networked APIs, but they make fundamentally different tradeoffs optimized for different contexts.

Read full answer →
OSI LayersMid
What are the 7 OSI layers and what does each do?

The OSI (Open Systems Interconnection) model is a conceptual framework that divides network communication into 7 ordered layers, each providing services to the layer above and consuming services from the layer below.

Read full answer →
CORS + PreflightMid
What is CORS and how does the preflight request work?

CORS (Cross-Origin Resource Sharing) is a browser security mechanism that controls whether JavaScript running on one origin (scheme + host + port) can make HTTP requests to a different origin.

Read full answer →
HTTP/1.1 vs HTTP/2 vs HTTP/3Senior
What are the key differences between HTTP/1.1, HTTP/2, and HTTP/3?

HTTP has evolved through three major versions, each addressing the performance limitations of its predecessor.

Read full answer →
HTTP Request StructureEntry
What is the structure of an HTTP request?

An HTTP/1.1 request is a plaintext message with four structural parts: **1.

Read full answer →
HTTP Status CodesMid
What are the main HTTP status code categories and key codes?

HTTP status codes are three-digit integers grouped into five classes by their leading digit.

Read full answer →
HTTP Methods — IdempotencyMid
Which HTTP methods are idempotent and why does it matter?

An HTTP method is **idempotent** if making the same request N times produces the same server state as making it once.

Read full answer →
GraphQL vs RESTSenior
What are the differences between GraphQL and REST?

REST and GraphQL are both API paradigms, but they optimise for different constraints.

Read full answer →

How to Prepare

Focus on understanding concepts deeply enough to explain them in your own words. For each topic, practice articulating the trade-offs and real-world applications — interviewers care about practical judgment, not textbook definitions.

Related Topics

  • System Design Interview Questions
  • Security Interview Questions
  • Infrastructure Interview Questions

Test Your Knowledge

Take a free AI-graded assessment across multiple domains. No signup required.

Start Free Assessment
GrindQuestionsAITechnical interview assessment
TermsPrivacyAboutCompare Tools