Skip to content

๐Ÿ”ด Professional Level (751โ€“1000)

โ† Senior ยท README ยท Sources โ†’

Focus: Staff/Principal/Distinguished-level questions โ€” multi-year thinking, organizational architecture, build-vs-buy, cost optimization, complex migrations, internals of databases & runtimes, technical leadership, RFC processes, cross-team trade-offs.

For whom: Staff/Principal/L6+ engineer. Time per question: 1โ€“2 hours; produce a written answer in RFC format.


๐ŸŽ–๏ธ Staff+ Architecture & Leadership (751โ€“790)

  1. How would you write a 1-pager design doc for a $10M migration?
  2. How do you run an architecture review board (ARB)?
  3. How do you mentor 4 senior engineers across 3 teams?
  4. How do you build technical strategy for a 50-engineer org?
  5. What is a "tech radar" and how would you maintain one?
  6. How do you decide which legacy system to sunset first?
  7. How do you propose moving from on-prem to cloud (3-year plan)?
  8. How would you justify a $2M infra bill to non-engineering stakeholders?
  9. How do you run a blameless post-mortem for a $1M outage?
  10. How do you balance KTLO (keep-the-lights-on) vs new features?
  11. How do you build an internal developer platform (IDP)?
  12. How do you measure DevEx and improve it?
  13. How do you set technical KPIs for a platform team?
  14. How do you sell a refactor to product leadership?
  15. How do you build consensus across 5 conflicting team leads?
  16. How do you choose between "rewrite" and "incremental refactor"?
  17. How do you manage tech debt as a portfolio?
  18. How would you set up a guild model for cross-cutting concerns (security, perf)?
  19. How do you onboard a Staff engineer hire on day 1?
  20. How do you run a "tech week" or innovation sprint?
  21. How do you publish RFCs effectively across 200 engineers?
  22. How do you maintain code health across 1,000+ services?
  23. What is "architecture as code" and how would you adopt it?
  24. How do you design a paved-road framework for new services?
  25. How do you decide what becomes a paved road vs a guardrail?
  26. How do you manage a multi-cloud governance plan?
  27. How do you choose between Kubernetes and serverless company-wide?
  28. How do you set platform SLOs that map to product SLOs?
  29. How do you negotiate SLAs with internal partner teams?
  30. How do you migrate authentication org-wide without an outage?
  31. How do you design a deprecation policy with hard cut-off dates?
  32. How do you communicate a deprecation across 1,000 client teams?
  33. How would you architect a platform for rapid acquisition integration?
  34. How would you stand up engineering after a M&A?
  35. How do you handle "two architectures" post-merger?
  36. How would you re-platform a 15-year-old monolith of 10M lines?
  37. How would you design a "language consolidation" plan (e.g., kill Python, standardize on Go)?
  38. How would you reduce p99 latency org-wide by 30% in 12 months?
  39. How would you reduce cloud spend by 25% without harming reliability?
  40. How would you design a FinOps practice from scratch?

๐ŸŒŒ Extreme Scale Designs (791โ€“830)

  1. Design Google Search infrastructure at high level.
  2. Design Google Maps backend with real-time traffic.
  3. Design Google Photos at billion-user scale.
  4. Design Gmail for a billion users with spam + search.
  5. Design Google Calendar with multi-region availability.
  6. Design Google Docs sync engine.
  7. Design Google AdWords auction.
  8. Design Google AdSense placement system.
  9. Design Facebook News Feed at 3B MAU.
  10. Design Facebook Live video at scale.
  11. Design Instagram Stories at scale.
  12. Design WhatsApp delivery + read receipts globally.
  13. Design Messenger end-to-end encrypted group chat at scale.
  14. Design Apple iMessage E2E delivery.
  15. Design iCloud Photos sync engine.
  16. Design Spotify's music recommendation pipeline.
  17. Design Spotify's collaborative playlists at scale.
  18. Design Netflix's open-connect CDN.
  19. Design Netflix's chaos-monkey-style resilience platform.
  20. Design Netflix's recommendation pipeline (offline + online).
  21. Design YouTube's video upload + transcoding pipeline.
  22. Design YouTube's view-count denormalization pipeline.
  23. Design YouTube's content moderation pipeline.
  24. Design TikTok's For You Page at hundreds of millions of users.
  25. Design Twitter timeline at 500M users.
  26. Design Twitter's full-text search across all tweets.
  27. Design Twitter's trending topics.
  28. Design Reddit's voting + comment ranking at scale.
  29. Design Pinterest's home-feed personalization.
  30. Design LinkedIn's "People You May Know" graph service.
  31. Design LinkedIn's feed ranking pipeline.
  32. Design Stripe's idempotency layer.
  33. Design Stripe's payment-routing engine.
  34. Design Square's POS reliability under flaky internet.
  35. Design Robinhood's order matching at scale.
  36. Design Coinbase's trade engine.
  37. Design Binance-style global exchange (cross-region matching).
  38. Design Cloudflare Workers edge runtime.
  39. Design Vercel/Netlify deployment pipeline.
  40. Design GitHub Actions runner orchestration at billion-job scale.

โš™๏ธ Database & Storage Internals (831โ€“870)

  1. Walk through Postgres MVCC and tuple visibility checks.
  2. Walk through Postgres WAL replication internals.
  3. Explain logical replication slots in Postgres.
  4. Explain Postgres' MVCC GC and why VACUUM matters.
  5. How does Postgres' planner choose between Hash, Merge, and Nested Loop joins?
  6. How does pg_partman/native partitioning work?
  7. What is Citus and how does it shard Postgres?
  8. What is YugabyteDB and how does it differ from Spanner?
  9. What is CockroachDB's transaction layer (Range + Raft + KV)?
  10. What is FoundationDB's deterministic simulation testing?
  11. Walk through MySQL InnoDB redo log + undo log + buffer pool.
  12. Walk through MySQL group replication.
  13. How does Vitess shard MySQL at scale?
  14. How does Aurora separate compute from storage?
  15. How does DynamoDB handle global secondary indexes consistency?
  16. How does DynamoDB partition resizing work?
  17. How does Cassandra repair work (full vs incremental vs subrange)?
  18. How does ScyllaDB outperform Cassandra (shard-per-core)?
  19. How does Redis Cluster handle resharding?
  20. How does Redis Streams + consumer groups compare to Kafka?
  21. How does Kafka KRaft replace ZooKeeper?
  22. How does Kafka Tiered Storage work?
  23. Explain Pulsar's segmented architecture (BookKeeper).
  24. Explain etcd's MVCC + Raft layering.
  25. Explain ZooKeeper's ZAB protocol.
  26. Walk through ClickHouse's MergeTree and how it scales analytical reads.
  27. Walk through Druid's segment-based architecture.
  28. Walk through Pinot's real-time + offline duality.
  29. Walk through Snowflake's storage-compute separation.
  30. Walk through BigQuery's Dremel execution model.
  31. Walk through Spanner's TrueTime + Paxos groups.
  32. Walk through DGraph's GraphQL + Badger LSM stack.
  33. Walk through Neo4j's graph traversal engine.
  34. Walk through TimescaleDB's hypertable + chunk design.
  35. Walk through InfluxDB's TSI + TSM file format.
  36. Walk through MongoDB replica set election.
  37. Walk through MongoDB shard balancer.
  38. Walk through Elasticsearch's segment merging and refresh.
  39. Walk through OpenSearch's cross-cluster replication.
  40. Walk through HBase's region splits and HDFS interaction.

๐ŸŒ Specialized Systems (871โ€“910)

  1. Design a high-frequency trading order matching engine (microsecond latency).
  2. Design a market data fan-out system (millions of subscribers).
  3. Design a distributed key-value store with linearizable reads.
  4. Design a globally consistent counter (without single bottleneck).
  5. Design a globally distributed graph database.
  6. Design a globally distributed time-series database.
  7. Design an ad-bidding RTB system at 10M QPS.
  8. Design a bid-request fan-out across 50 DSPs in <50ms.
  9. Design a pixel/event tracking pipeline at 1B events/day.
  10. Design a programmatic ads attribution engine.
  11. Design a real-time recommendation system using vector search.
  12. Design a multi-armed bandit feature serving system.
  13. Design a federated learning training pipeline.
  14. Design a model registry + serving platform like Sagemaker.
  15. Design a feature store like Feast at scale.
  16. Design a vector DB (Pinecone-like) with billion-vector recall.
  17. Design a generative-AI inference serving platform.
  18. Design a streaming ETL platform like dbt + Materialize.
  19. Design an IoT ingestion system at 10M devices.
  20. Design a smart-home control plane at country scale.
  21. Design a connected-car telemetry pipeline.
  22. Design a maritime AIS tracking system.
  23. Design a flight-tracking system.
  24. Design a satellite imagery indexing pipeline.
  25. Design a real-time multiplayer game backend (FPS).
  26. Design a MMO server architecture (zones, instances).
  27. Design a turn-based puzzle game backend with replay.
  28. Design a streaming live-game telemetry system.
  29. Design a CDN with custom DDoS scrubbing.
  30. Design a distributed code-execution sandbox (Leetcode/Replit-style).
  31. Design a CI/CD platform for 1000 teams (GitLab-scale).
  32. Design a build cache shared across an org.
  33. Design a remote build execution (Bazel RBE).
  34. Design a binary artifact store (Artifactory-scale).
  35. Design a multi-tenant Kubernetes platform (per-team quotas).
  36. Design an internal serverless platform (Knative-based).
  37. Design a cloud cost-attribution service.
  38. Design a chargeback/showback system across business units.
  39. Design a multi-region object storage with strong read-after-write.
  40. Design a content-addressable storage for backups (Borg-style).

๐Ÿงช Migration, Modernization & Org Design (911โ€“940)

  1. Plan a strangler-fig migration of a 10-year monolith.
  2. Plan a database engine migration from Oracle to Postgres at 50TB scale.
  3. Plan a storage migration from on-prem NAS to S3 with zero downtime.
  4. Plan a search migration from Solr to Elasticsearch.
  5. Plan a queue migration from RabbitMQ to Kafka.
  6. Plan a config-store migration (env vars โ†’ Vault โ†’ dynamic config).
  7. Plan a runtime migration from Java 8 to Java 21 fleet-wide.
  8. Plan a Python 2 โ†’ 3 migration across 800 services.
  9. Plan a Node.js LTS upgrade fleet-wide.
  10. Plan a Kubernetes version upgrade across 500 clusters.
  11. Plan a dependency vulnerability fleet-wide remediation.
  12. Plan a "remove TLS 1.0/1.1" rollout across thousands of services.
  13. Plan a CDN provider migration with no user-visible regression.
  14. Plan a cloud provider migration (AWS โ†’ GCP) for a stateful app.
  15. Plan a "ship every commit to prod" transformation for a slow team.
  16. Plan a Trunk-based development adoption across an org.
  17. Plan a feature-flag system rollout org-wide.
  18. Plan a SOC2 program from zero to certification.
  19. Plan an ISO 27001 readiness program.
  20. Plan a HIPAA-compliant fork of an existing platform.
  21. Plan a PCI-DSS scope reduction strategy.
  22. Plan a data classification + tagging program at the warehouse level.
  23. Plan a permissions audit across the org.
  24. Plan a "secure by default" framework rollout.
  25. Plan a service-ownership review across an entire org.
  26. Plan a "you build it, you run it" rollout for product teams.
  27. Plan a centralized observability rollout.
  28. Plan a centralized incident-response (IR) program.
  29. Plan a multi-tenant cost-fairness mechanism.
  30. Plan a "freeze + harden" period after major outages.

๐Ÿง  Theory, Internals, Open Problems (941โ€“970)

  1. Explain the trade-off space of CRDT vs OT for collaborative editing.
  2. Explain the trade-offs between gossip and direct broadcast.
  3. Explain how Cassandra picks coordinator and replicas.
  4. Explain how DynamoDB enforces 1MB partition limits and how to design around them.
  5. Explain how Spanner's commit-wait works.
  6. Explain how Calvin (deterministic) differs from Spanner.
  7. Explain how Aurora's quorum (4/6) impacts read latency.
  8. Explain how PolarDB's shared-storage architecture works.
  9. Explain how TiDB's TSO (timestamp oracle) works.
  10. Explain how YugabyteDB places leaders for global tables.
  11. Explain how Materialize maintains incremental views.
  12. Explain how RocksDB's compaction styles (level vs universal) trade off.
  13. Explain how LevelDB's iterator works at byte level.
  14. Explain how Bigtable's tablet servers split.
  15. Explain how Manhattan/F1 layered storage works.
  16. Explain how Megastore differs from Spanner.
  17. Explain how Percolator (incremental indexing) works.
  18. Explain how Borg/Omega/Kubernetes pod scheduling differ.
  19. Explain how Mesos' two-level scheduling works.
  20. Explain how Kubernetes scheduler computes affinity/anti-affinity.
  21. Explain how Linux cgroups v2 enforces resource limits.
  22. Explain how container CPU throttling can hide tail latency bugs.
  23. Explain how TCP_INFO + epoll affect connection diagnostics.
  24. Explain why JVM safepoints can dominate p99 latency.
  25. Explain how Go's GMP scheduler interacts with syscalls.
  26. Explain how Rust's async runtime (tokio) drives I/O.
  27. Explain how Erlang/OTP supervisors map onto distributed reliability.
  28. Explain how Akka's actor model fits cluster sharding.
  29. Explain how GRPC HTTP/2 multiplexing affects connection counts.
  30. Explain how QUIC's 0-RTT introduces replay risk.

๐Ÿงญ Open-ended Architecture & Vision (971โ€“1000)

  1. How will AI-augmented infra change platform engineering in 5 years?
  2. How would you architect for an AI-first product where every API call hits an LLM?
  3. How do you design an LLM gateway with caching, routing, and cost control?
  4. How would you design a privacy-preserving ML pipeline (differential privacy)?
  5. How would you architect for federated identity across business partners?
  6. How would you architect for a "universal" customer record (CDP)?
  7. How would you design an open-data platform sharing terabytes daily?
  8. How do you architect an Apple-like privacy posture inside an ad-tech business?
  9. How would you architect for sub-second global config propagation?
  10. How would you architect for offline-first mobile with eventual sync?
  11. How would you architect a CRDT-backed shared database for offline apps?
  12. How would you design an at-edge personalization engine?
  13. How would you design real-time translation in a chat app?
  14. How would you architect a low-bandwidth assistant for emerging markets?
  15. How would you design a payments platform for hyperinflation economies?
  16. How would you design a system surviving 90% datacenter loss?
  17. How would you design an air-gapped variant of a SaaS product?
  18. How would you design data sovereignty per-customer in a global SaaS?
  19. How would you architect for sustainability (carbon-aware scheduling)?
  20. How would you design infra for a 100-person crisis response team during disaster?
  21. How would you architect an interplanetary delay-tolerant network application?
  22. How would you design a graceful end-of-life for a deprecated product with 1M users?
  23. How would you architect a system that intentionally costs less than $0.01 per user per year?
  24. How would you architect a system optimized for "boring" reliability over novelty?
  25. How would you architect a system with no on-call rotation?
  26. How would you design a self-healing platform for a small ops team?
  27. How would you design a system whose top requirement is auditability for regulators?
  28. How would you make an existing system 10x cheaper without functional changes?
  29. How would you design a "platform as a product" with measurable customer value?
  30. If you could redesign the internet's DNS today, what would you change and why?

โ† Senior ยท README ยท Sources โ†’