Skip to content

System Design Practice Exam

Test yourself under real exam conditions: 50 timed questions, 60 on the clock, pass mark 70%%. Instant score with a full review of everything you got wrong. Free — no account needed.

📝 50 questions · ⏱ 60 minutes · 🎯 Pass mark 70% · 🆓 Free, no signup

Exam details

  • 50 questions drawn from 50 cards
  • Countdown timer — auto-submits when time runs out
  • Pass mark 70% (real certification threshold)
  • Full review of wrong answers at the end
  • No signup required — save your score with a free account

Sample Questions

5 shown

What is horizontal scaling?

Show ▼

Horizontal scaling (or scaling out) means adding more machines to your resource pool to handle increased load. For example, going from 1 server to 10 servers behind a load balancer.

Advantages:

  • Near-infinite scalability
  • Better fault tolerance — one server failing doesn't take down the system
  • Can use commodity hardware
Disadvantage: Adds complexity in data consistency and distributed coordination.

What is vertical scaling?

Show ▼

Vertical scaling (or scaling up) means adding more power (CPU, RAM, disk) to an existing machine.

Advantages:

  • Simpler architecture — no distributed coordination needed
  • No code changes required
Disadvantages:
  • Hardware limits — there's a ceiling to how much you can upgrade
  • Single point of failure
  • Downtime during upgrades

What is a load balancer?

Show ▼

A load balancer distributes incoming network traffic across multiple backend servers to ensure no single server is overwhelmed.

It sits between clients and servers, improving:

  • Availability — routes around failed servers
  • Throughput — parallel processing across servers
  • Latency — directs to least-loaded server
Common examples: NGINX, HAProxy, AWS ALB/NLB.

What are common load balancing algorithms?

Show ▼

Common algorithms:

  • Round Robin — requests are distributed sequentially across servers
  • Weighted Round Robin — servers with higher capacity get more requests
  • Least Connections — routes to the server with fewest active connections
  • IP Hash — routes based on client IP, ensuring session stickiness
  • Random — randomly selects a server
  • Least Response Time — routes to the fastest-responding server

What are Layer 4 vs Layer 7 load balancers?

Show ▼

Layer 4 (Transport) load balancers route based on IP address and TCP/UDP port without inspecting packet contents. They are faster but less flexible.

Layer 7 (Application) load balancers inspect HTTP headers, cookies, and URLs to make smarter routing decisions. They can do content-based routing, SSL termination, and request modification.

Example: HAProxy supports both; AWS NLB is L4, ALB is L7.

🎯 Take the System Design Practice Exam