System Design & Architecture: Scalability & Resilience
System Design & Architecture: Scalability & Resilience
Up to 20 questions, shuffled on every run
Welcome to the System Design & Architecture quiz! Test your knowledge on scalability, reliability, performance, trade-offs, distributed systems patterns, and architectural decisions for production systems. Each question has a timer and hints to guide you. Good luck!
Answer key and explanations20 questions
The quiz above draws 20 questions at random from these 30, so a second attempt will not be the same run. Everything in the pool is listed here.
What is scalability in the context of system design?
AnswerThe ability of a system to handle increased load by adding resources
What is latency?
AnswerThe total time taken for a request to travel from client to server and back
What is throughput?
AnswerThe volume of work or number of requests processed in a given period
What is availability?
AnswerThe proportion of time a system remains functional and accessible
What is consistency in distributed systems?
AnswerThe requirement that all nodes see the same data at the same time
What is partitioning (sharding)?
AnswerDividing a large dataset into smaller chunks across multiple nodes
What is a single point of failure (SPOF)?
AnswerAny component whose failure causes the entire system to stop functioning
What is eventual consistency?
AnswerA model where data will be consistent across all nodes given enough time
What is CQRS (Command Query Responsibility Segregation)?
AnswerAn architectural pattern that uses different models for reading and writing data
What is event sourcing?
AnswerA pattern that stores the state of a system as a sequence of immutable events
What is rate limiting?
AnswerThe practice of controlling the rate of requests sent or received by a network
What is bulkhead isolation?
AnswerA pattern that partitions resources to prevent a failure in one from affecting others
What is the circuit breaker pattern?
AnswerA mechanism to stop requests to a failing service to allow it to recover
What is the CAP theorem?
AnswerThe principle that a distributed system can only provide two of three specific guarantees
What is the BASE model?
AnswerA model focusing on availability and eventual consistency over strict ACID rules
What is database sharding?
AnswerThe horizontal partitioning of data across multiple independent database instances
What is database denormalization?
AnswerAdding redundant data to a schema to improve read performance by avoiding joins
What is the Cache-Aside strategy?
AnswerA pattern where the application code is responsible for managing the cache state
What are Bloom Filters?
AnswerA space-efficient probabilistic data structure used to test if an element is in a set
What is consistent hashing?
AnswerA hashing technique that minimizes key remapping when the number of slots changes
What is the Saga pattern?
AnswerA sequence of local transactions where each updates data and triggers the next
What is the difference between Token Bucket and Leaky Bucket?
AnswerToken Bucket allows for bursts of traffic, while Leaky Bucket enforces a steady rate
What is Hexagonal Architecture?
AnswerA pattern that isolates core logic from external concerns using ports and adapters
What are Bounded Contexts in DDD?
AnswerExplicit boundaries within which a specific domain model is defined and applicable
What are the three pillars of Observability?
AnswerLogs, Metrics, and Traces
When is a Time-Series Database (TSDB) most appropriate?
AnswerFor handling massive volumes of timestamped data like metrics or sensor readings
What is Semantic Versioning (SemVer)?
AnswerA versioning scheme using MAJOR.MINOR.PATCH to signal the nature of changes
What is an idempotency key?
AnswerA unique value sent by a client to ensure a request is only processed once
Why is Average Latency often a misleading metric?
AnswerIt hides outliers (tail latency) that significantly affect user experience
What is Distributed Consensus (e.g., Raft)?
AnswerAn algorithm for achieving agreement on a single data value across a cluster









