Skip to content

🟒 Junior Level (1–250)

← README Β· Middle β†’

Focus: Fundamentals β€” HTTP, DNS, REST, simple DBs, cache, monolith vs microservices, basic designs (URL shortener, parking lot). The interviewer is looking for logical thinking and core-component understanding, not deep internals.

For whom: 0–2 years of experience, bootcamp / junior level. Time per question: 2–5 minutes.


🌐 Networking & Web Basics (1–30)

  1. What is HTTP and how does it differ from HTTPS?
  2. Explain the difference between TCP and UDP.
  3. What happens when you type a URL in the browser and press Enter?
  4. What is DNS and how does DNS resolution work?
  5. What is a TCP three-way handshake?
  6. Define IP address β€” what is the difference between IPv4 and IPv6?
  7. What is the OSI model and its 7 layers?
  8. Explain HTTP status codes: what do 2xx, 3xx, 4xx, and 5xx mean?
  9. What is the difference between HTTP/1.1, HTTP/2, and HTTP/3?
  10. What is a cookie and how is it different from session storage?
  11. What is CORS and why does it exist?
  12. Explain the request/response cycle of a web application.
  13. What is SSL/TLS and what problem does it solve?
  14. What is a proxy server?
  15. What is the difference between a forward proxy and a reverse proxy?
  16. What is a CDN and what is its primary role?
  17. What is latency vs throughput?
  18. What is bandwidth?
  19. What does keep-alive mean in HTTP?
  20. What is a webhook and how does it differ from polling?
  21. Explain long polling vs short polling vs WebSockets.
  22. What is a port number and which common ports do you know?
  23. How does WebSocket handshake work?
  24. What is a public IP vs a private IP?
  25. What is NAT (Network Address Translation)?
  26. What does "stateless" mean for HTTP?
  27. What is a session and how is it managed?
  28. What are the most common HTTP methods?
  29. What is the difference between PUT and PATCH?
  30. What is the role of a load balancer at the highest level?

πŸ—„οΈ Database Basics (31–60)

  1. What is the difference between SQL and NoSQL databases?
  2. What is a primary key vs a foreign key?
  3. What is normalization and why do we use it?
  4. What is denormalization and when is it appropriate?
  5. Explain the ACID properties.
  6. What is an index and why does it speed up queries?
  7. What is a JOIN and what types of JOINs exist?
  8. What is a transaction in a database?
  9. What is the difference between a clustered and a non-clustered index?
  10. What is a database schema?
  11. Define 1NF, 2NF, and 3NF in simple terms.
  12. What is a stored procedure?
  13. What is a trigger?
  14. What is a view in SQL?
  15. What is the difference between DELETE, TRUNCATE, and DROP?
  16. What is a key-value store and when would you use one?
  17. What is a document database (like MongoDB)?
  18. What is a graph database and what problem does it solve?
  19. What is a column-family store (like Cassandra)?
  20. What is the difference between OLTP and OLAP?
  21. What is data integrity?
  22. What is a deadlock?
  23. What is database replication in a single sentence?
  24. What is read-only replica?
  25. Why do we use connection pooling?
  26. What is an ORM and what are its pros/cons?
  27. What is a UUID and when would you use it instead of auto-increment IDs?
  28. What does "eventually consistent" mean in plain English?
  29. What is a composite key?
  30. When would you choose Postgres vs MySQL?

πŸ’Ύ Caching Basics (61–80)

  1. What is caching and why do we use it?
  2. What are the layers where caching can happen (browser, CDN, app, DB)?
  3. What is a cache hit vs cache miss?
  4. What is TTL (time to live)?
  5. What is cache eviction?
  6. Explain LRU, LFU, and FIFO eviction policies.
  7. What is the difference between Redis and Memcached?
  8. What is local cache vs distributed cache?
  9. What is a write-through cache?
  10. What is a write-back (write-behind) cache?
  11. What is a cache-aside (lazy-loading) pattern?
  12. What is a stale cache?
  13. What problem does cache invalidation solve?
  14. What is a thundering herd problem?
  15. Why is "there are only two hard things in CS: cache invalidation and naming things" famous?
  16. What is the role of caching in a URL shortener?
  17. How does browser caching work?
  18. What is HTTP cache-control header?
  19. What is ETag?
  20. What is the typical hit ratio you should target for a cache?

🧱 Architecture Basics (81–110)

  1. What is a monolithic architecture?
  2. What is microservice architecture?
  3. What is the difference between monolith and microservices?
  4. What is service-oriented architecture (SOA)?
  5. What is a 3-tier architecture?
  6. What is client–server architecture?
  7. What is peer-to-peer architecture?
  8. What is event-driven architecture in simple terms?
  9. What is a serverless architecture?
  10. What are pros and cons of monolith for a small startup?
  11. What is vertical scaling (scale up)?
  12. What is horizontal scaling (scale out)?
  13. Why is horizontal scaling usually preferred for web services?
  14. What is high availability?
  15. What is fault tolerance?
  16. What is single point of failure (SPOF)?
  17. What is redundancy in system design?
  18. What is failover?
  19. What is a stateless service?
  20. What is a stateful service?
  21. What is idempotency?
  22. Why is idempotency important for retries?
  23. What is the role of message queues at a basic level?
  24. What is a publish–subscribe pattern?
  25. What is decoupling and why does it matter?
  26. What is loose coupling vs tight coupling?
  27. What is cohesion?
  28. Why is "single responsibility" important in service design?
  29. What is the role of an API gateway?
  30. What does "12-factor app" mean?

βš–οΈ Load Balancing Basics (111–125)

  1. What is a load balancer?
  2. What is round-robin load balancing?
  3. What is least-connections load balancing?
  4. What is IP-hash load balancing?
  5. What is the difference between L4 and L7 load balancers?
  6. Why might you put a load balancer in front of a database?
  7. What is a sticky session?
  8. When should you avoid sticky sessions?
  9. What is health-checking on a load balancer?
  10. What is the difference between hardware and software load balancers?
  11. What is HAProxy vs nginx vs ELB at a basic level?
  12. What is DNS-based load balancing?
  13. What is Anycast routing?
  14. Why do load balancers improve availability?
  15. What is SSL termination at the load balancer?

πŸ”’ Security Basics (126–145)

  1. What is authentication vs authorization?
  2. What is a JWT token?
  3. What is OAuth 2.0 in one sentence?
  4. What is HTTPS and why is it important?
  5. What is a man-in-the-middle attack?
  6. What is SQL injection?
  7. What is XSS?
  8. What is CSRF?
  9. What is hashing vs encryption?
  10. What is salt in password hashing?
  11. Why should you never store passwords in plain text?
  12. What is rate limiting and why is it useful?
  13. What is two-factor authentication?
  14. What is an API key?
  15. What is the principle of least privilege?
  16. What is a firewall?
  17. What is a DMZ in network architecture?
  18. What is a brute-force attack?
  19. Why do we use HTTPS for login pages?
  20. What is data-at-rest vs data-in-transit encryption?

πŸ› οΈ API Basics (146–165)

  1. What is a REST API?
  2. What are REST principles (statelessness, uniform interface, etc.)?
  3. What is the difference between REST and SOAP?
  4. What is GraphQL and how does it differ from REST?
  5. What is gRPC?
  6. What is an HTTP method-resource mapping?
  7. How would you design endpoints for a blog (posts, comments)?
  8. What is API versioning and why is it needed?
  9. What is pagination and how do you implement it?
  10. What is cursor-based vs offset-based pagination?
  11. What is rate limiting at an API level?
  12. What is throttling?
  13. What is API documentation, and why is OpenAPI/Swagger useful?
  14. What is content negotiation?
  15. What is HATEOAS?
  16. What is an idempotent endpoint? Give an example.
  17. What is the difference between 401 and 403?
  18. What is the difference between 200, 201, and 204?
  19. What is bulk endpoint vs single endpoint?
  20. When would you use webhooks instead of polling?

πŸ“¦ Storage & Files Basics (166–180)

  1. What is object storage and how does it differ from block storage?
  2. What is S3 in simple terms?
  3. What is a CDN edge node?
  4. What is the difference between SSD and HDD in system design?
  5. What is RAID and which levels do you know?
  6. What is file system journaling?
  7. What is a blob?
  8. What is metadata for a file?
  9. How would you store user-uploaded avatars?
  10. Why don't you store large files in a relational DB?
  11. What is a presigned URL?
  12. What is multipart upload?
  13. What is data redundancy in storage?
  14. Why is S3 considered "11 nines" durable?
  15. What is data tiering (hot/warm/cold)?

πŸ“ Common Junior-Level Designs (181–215)

  1. Design a URL shortener like Bitly (high-level).
  2. Design a TinyURL β€” what data store would you pick?
  3. Design a basic in-memory key-value store.
  4. Design a simple to-do list backend.
  5. Design a basic blog platform.
  6. Design a simple chat between two users.
  7. Design a parking lot system (object-oriented).
  8. Design an elevator system.
  9. Design a vending machine.
  10. Design a tic-tac-toe game.
  11. Design a coffee shop ordering system.
  12. Design a library book lending system.
  13. Design an ATM machine.
  14. Design a simple e-commerce product page.
  15. Design a hotel reservation system (basic).
  16. Design a calendar / meeting room booking.
  17. Design a simple feed of recent posts.
  18. Design a basic job scheduler.
  19. Design a polling/voting system.
  20. Design a movie ticket booking (simplified).
  21. Design a bookstore inventory.
  22. Design a music playlist app.
  23. Design a basic notification system (email only).
  24. Design a flashcard study app.
  25. Design a basic file uploader.
  26. Design a simple photo gallery.
  27. Design a contact list / address book.
  28. Design a simple chess game.
  29. Design a step counter app backend.
  30. Design a leaderboard for a small game.
  31. Design a simple weather API consumer.
  32. Design a basic e-mail inbox view.
  33. Design a "split the bill" calculator API.
  34. Design a basic survey / form builder.
  35. Design a simple expense tracker.

πŸ§ͺ Concepts & Terminology (216–235)

  1. What is throughput vs latency vs response time?
  2. What does "p99 latency" mean?
  3. What is QPS (queries per second)?
  4. What is back-of-the-envelope estimation?
  5. How would you estimate storage needed for 1M users with 1KB profile each?
  6. What is a synchronous vs asynchronous system?
  7. What is non-blocking I/O?
  8. What is concurrency vs parallelism?
  9. What is a thread pool?
  10. What is event loop (e.g., in Node.js)?
  11. What is a process vs a thread?
  12. What is a race condition?
  13. What is a mutex?
  14. What is optimistic vs pessimistic locking?
  15. What is a critical section?
  16. What is the difference between SDK and API?
  17. What is observability (logs, metrics, traces) at a basic level?
  18. What does "graceful degradation" mean?
  19. What is feature flag?
  20. What is blue-green deployment in one sentence?

πŸš€ DevOps & Deployment Basics (236–250)

  1. What is CI vs CD?
  2. What is Docker and why is it used?
  3. What is a container vs a virtual machine?
  4. What is Kubernetes in one sentence?
  5. What is a pod in Kubernetes?
  6. What is a deployment vs a service in Kubernetes?
  7. What is rolling deployment?
  8. What is a canary release?
  9. What is Infrastructure as Code (IaC)?
  10. What is a container registry?
  11. Why is environment parity important (dev/staging/prod)?
  12. What is monitoring vs alerting?
  13. What is logging level (DEBUG/INFO/WARN/ERROR)?
  14. What is the role of staging environment?
  15. What is a runbook?

← README Β· Middle Level β†’