← Google Interview Insights

Google·Software Engineer·Technical Phone Screen·Intermediate

Intermediate
Apr 2026

Summary

Interviewed for a security role at Google and got asked a classic networking question that sounds basic until you're actually sitting there trying to figure out how deep they want you to go.

Questions Asked (1)

Q1

How does the internet work?

System DesignTechnical Trade-offs
Author's notes

Breadth vs depth is the whole game here and I misjudged it.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying the scope of the question—whether the interviewer wants a high-level overview or a deep dive into specific layers. Then, structure your answer by following the journey of a request from a client to a server, highlighting key protocols and components at each stage. Emphasize trade-offs and design principles that enable scalability and reliability.

Pro tip: Demonstrate your depth by connecting the technical details to real-world engineering challenges, such as how DNS resolution or TCP congestion control impacts performance and user experience. This shows you think beyond textbook definitions.

1. Clarify Scope and Set Expectations

Ask the interviewer if they prefer a broad overview or a detailed walkthrough of specific layers. Briefly outline the structure of your answer to show organization.

2. High-Level Overview

Explain that the internet is a network of networks using TCP/IP, where data is packet-switched and routed via IP addresses. Mention the roles of clients, servers, and ISPs.

3. Walk Through a Request

Trace a typical web request: DNS resolution to find the server's IP, establishing a TCP connection (with handshake), sending an HTTP request, and receiving a response. Highlight key protocols at each step.

4. Discuss Underlying Mechanisms

Cover how data is broken into packets, routed through routers and switches, and reassembled. Mention error checking, congestion control, and the role of BGP for inter-domain routing.

5. Highlight Trade-offs and Design Principles

Explain why the internet is designed this way: scalability, fault tolerance, and decentralization. Discuss trade-offs like latency vs. reliability, and how protocols like TCP and UDP address them.

Key Points to Mention

  • DNS: hierarchical resolution from root servers to authoritative servers, caching for performance.
  • TCP/IP stack: layers (application, transport, internet, link) and their functions; TCP handshake and reliability vs. UDP for speed.
  • HTTP/HTTPS: request/response model, statelessness, and TLS for security.
  • Routing: packets traverse multiple networks via routers using BGP; IP addressing and subnetting.
  • Scalability and fault tolerance: anycast, CDNs, load balancing, and redundant paths.
  • Trade-offs: latency vs. bandwidth, TCP vs. UDP, IPv4 vs. IPv6, and the end-to-end principle.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.