← Google Interview Insights

Google·Software Engineer·Technical Phone Screen·Intermediate

Intermediate
Apr 2026

Summary

Security interview at Google, one question about a pretty foundational networking attack concept. Short and to the point, felt more like a screen than a deep technical dive.

Questions Asked (1)

Q1

What is a denial-of-service attack and what are some ways to mitigate it?

System DesignTechnical Trade-offs
Author's notes

Covered the basics: volumetric floods, protocol abuse, application-layer stuff.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by defining a denial-of-service attack and distinguishing it from a distributed denial-of-service attack. Then, structure your answer around a layered mitigation strategy, covering network, application, and architectural defenses, and discuss trade-offs such as cost, complexity, and user experience.

Pro tip: Emphasize that mitigation is about raising the cost for attackers and maintaining availability, not achieving perfect prevention. Mention that at Google-scale, defenses like rate limiting and load balancing are automated and adaptive, and tie your answer to real-world examples like Google's Project Shield.

1. Define DoS and DDoS

Clearly explain that a DoS attack aims to make a service unavailable by overwhelming it with traffic or exploiting vulnerabilities, and that DDoS uses multiple distributed sources to amplify the attack.

2. Categorize attack types

Briefly classify attacks into volumetric (e.g., UDP floods), protocol (e.g., SYN floods), and application-layer (e.g., HTTP floods) to show breadth of understanding.

3. Outline mitigation layers

Describe defenses at different layers: network (firewalls, scrubbing centers, anycast), application (rate limiting, CAPTCHAs, WAFs), and architectural (CDNs, load balancing, auto-scaling, redundancy).

4. Discuss trade-offs

Explain that mitigations involve trade-offs: rate limiting may block legitimate users, scrubbing centers add latency and cost, and auto-scaling can be expensive. Highlight the need to balance security, availability, and user experience.

5. Conclude with best practices

Summarize that a layered, adaptive approach with monitoring and incident response is key, and mention that no single solution is sufficient.

Key Points to Mention

  • Difference between DoS and DDoS (single source vs. distributed botnet).
  • Common attack vectors: volumetric (UDP/ICMP floods), protocol (SYN floods), and application-layer (HTTP floods).
  • Mitigation techniques: rate limiting, traffic filtering, scrubbing centers, anycast, CDNs, WAFs, CAPTCHAs, and auto-scaling.
  • Importance of redundancy and failover to maintain availability.
  • Trade-offs: cost, latency, false positives, and complexity.
  • Real-world examples: Google's Project Shield, Cloudflare, and AWS Shield.

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