🔥 Live 2,847 QA engineers learning right now — Start Free Automation Roadmap →
SDET · System Design

Designing a test strategy under pressure

System-design questions now appear in senior SDET loops. Here is a repeatable way to answer them, plus the 15 classic systems and exactly what each panel is judging.

Updated for 2026 · ~14 min read · by Naveed Tawargeri

"Design a test strategy for a URL shortener." "How would you test a payment system at scale?" System-design questions have moved from SDE interviews into senior SDET loops, and they are where many strong automation engineers stumble — not because they lack skill, but because they have never rehearsed thinking about a system at the architecture level.

How to approach any system-design-for-testing question

You are not being asked to build the system — you are being asked how you would verify it. A reliable structure:

  • Clarify scope and scale — users, requests per second, read/write ratio, consistency needs. Numbers drive everything after.
  • Map the components — API layer, database, cache, queues, third-party calls. Each is a test surface.
  • Apply the test pyramid — unit at the base, then API/contract tests, then a thin layer of end-to-end. State what you would test at each level.
  • Cover the non-functional axes — performance (load, stress, spike), security, resilience (what happens when a dependency fails?), and observability (how do you know it broke in production?).
  • Name the risks — the single biggest failure mode and how your strategy catches it. This is the senior signal.

15 classic systems and what the interviewer is really evaluating

These are the systems that come up most, the companies that ask them, and what the panel is judging in your answer.

System to designCompanies that askDifficultyWhat the interviewer evaluatesMust-know concepts
URL Shortener (like bit.ly)Google, Atlassian, Razorpay, AmazonMediumDB schema design, caching strategy, hash collision handling, scalabilityBase62 encoding, consistent hashing, Redis TTL, SQL vs NoSQL tradeoff
Rate LimiterRazorpay, PhonePe, CRED, GoogleMediumAlgorithm choice (token bucket vs fixed window), distributed rate limitingToken bucket, sliding window, Redis INCR with TTL, distributed counters
Notification ServiceAtlassian, Amazon, Flipkart, PhonePeMediumFan-out design, at-least-once delivery, retry with exponential backoffKafka topics, dead letter queue, idempotency keys, delivery guarantees
Design Twitter/FeedGoogle, Amazon, MicrosoftHardFan-out on write vs read, celebrity problem solution, cache invalidationPush vs pull model, Redis sorted sets, consistent hashing, sharding
Design YouTubeGoogle, AmazonHardAsync processing, CDN architecture, database choices, search indexHLS streaming, distributed transcoding, Elasticsearch, content delivery
Design Uber/LyftUber, Google, Amazon, FlipkartHardReal-time geolocation, proximity matching, WebSockets, consistencyGeohash, quadtree, WebSockets vs polling, surge pricing algorithm
Design WhatsApp/ChatAmazon, Google, Microsoft, AtlassianHardWebSocket management, message ordering, offline delivery, read receiptsWebSockets, message queues, Cassandra for messages, HBase
Design Google SearchGoogleVery hardCrawler politeness, inverted index, ranking algorithms, distributed processingMapReduce, inverted index, TF-IDF, PageRank, Bloom filter
Design Dropbox/DriveGoogle, Amazon, AtlassianHardChunking strategy, delta sync, conflict resolution, deduplicationContent-addressable storage, rsync algorithm, S3, block storage
Design CI/CD Pipeline (like Jenkins)Atlassian, Microsoft, HashiCorpMedium-hardQueue management, worker orchestration, artifact caching, failure handlingPriority queues, Docker containers, artifact versioning, webhook design
Design Payment SystemRazorpay, PhonePe, CRED, PayPalHardIdempotency, double-spend prevention, ACID transactions, reconciliationIdempotency keys, distributed transactions, 2-phase commit, saga pattern
Design LRU CacheAmazon, Google, All companiesEasyData structure choice, eviction policy, thread safety, distributed cacheLRU vs LFU, Redis eviction policies, concurrent HashMap, read-through cache
Design Search AutocompleteGoogle, Amazon, AtlassianMediumTrie design, ranking algorithm, real-time vs batch updatesTrie, Redis sorted sets, consistent hashing, CDN caching
Design Stock ExchangeGroww, CRED, ZERODHAHardLock-free queues, order matching algorithms, high-frequency throughputPrice-time priority, lock-free data structures, event sourcing
Design Distributed Message Queue (Kafka)All FAANG, Razorpay, AtlassianHardPartition strategy, replication factor, consumer lag, at-least-once deliveryLog-structured storage, Zookeeper, ISR (in-sync replicas), compaction
✍️ Add your anglePick two systems you have actually tested (or built a project around) and add a paragraph on how you approached them. A concrete "here is the test strategy I wrote for X" beats a generic framework every time.

Practise the technical rounds

System design sits on top of framework and API skills — drill those first.

Framework Simulator → API Scenario Lab Mock Interview

Frequently asked questions

Do SDETs get system design questions?

Yes, increasingly in senior and product-company loops. The framing is usually "design a test strategy for X" rather than "build X", so you focus on how you would verify the system, not architect it from scratch.

How do I prepare for system design for testing?

Practise the structure — clarify scale, map components, apply the test pyramid, cover performance/security/resilience, and name the top risk. Rehearse it on five or six classic systems until the structure is automatic.

What is the test pyramid?

A model for balancing test types: many fast unit tests at the base, fewer API and contract tests in the middle, and a thin layer of slow end-to-end tests at the top. It keeps suites fast and stable.

Which systems come up most?

URL shorteners, payment systems, notification services, rate limiters, and feed/timeline systems are among the most common. The table above lists fifteen with the companies that ask them.

System-design fundamentals are durable; the specific systems and scale numbers evolve — treat ranges as guidance.

Related guides & practice