Browse all practice questions for the Systems Design Concepts Practice Test. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

Systems Design Concepts Practice Test course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • What is the primary benefit of partitioning data and co-locating servers by region when users primarily interact with data in their own geography?
  • What is the end-to-end latency when a single Kafka broker handles up to 1 million messages per second?
  • Data migration in these systems typically occurs during what?
  • Redis Cluster uses which hashing approach?
  • For write-heavy workloads, which database design is commonly preferred?
  • In circuit breaker terminology, what happens when the circuit is opened due to failures?
  • What are typical specifications of a single app server in modern practice?
  • What is Cache Consistency?
  • Which scenario is appropriate for eventual consistency?
  • Which statement correctly reflects latency for simple indexed queries and caching guidance?
  • Which statement best describes GraphQL usage?
  • Which algorithm is recommended for SSE or WebSocket workloads due to long-lived connections?
  • Availability guarantees which of the following?
  • Which database type stores data as nodes and edges optimized for traversing relationships?
  • What RAM range do modern app servers have, and what is the first bottleneck?
  • Which scenario is best served by a Wide-Column Database?
  • Which scenario is best suited for gRPC over REST?
  • Which index type cannot efficiently support range queries?
  • Which action is a recommended alternative to immediately adding a queue for write throughput improvements?
  • What is the typical range of the hash ring used in consistent hashing?
  • When should you choose WebSockets or Server-Sent Events (SSE)?
  • What is the purpose of the dataloader pattern in GraphQL?
  • What does the circuit breaker pattern do in a microservices architecture?
  • Which type of load balancer routes traffic based on URL or headers?
  • Why would a system designer use per-feature consistency trade-offs?
  • Which statement best describes a B-tree index in databases?
  • Which statement best captures REST resource modeling practice?
  • Which system uses consistent hashing with virtual nodes to distribute data across its ring?
  • For strong consistency, which database technologies are typically used in strong consistency mode?
  • When a node fails or is removed, what happens to the keys it was responsible for?
  • Which index type is typically used for full-text search?
  • What is the typical SSD read latency for indexed queries?
  • What is the typical capacity and latency of a single Redis instance used for caching?
  • According to CAP, in a partitioned network you must choose between which two properties?
  • How can DNS be used to improve availability across data centers?
  • Which HTTP method should be used when updating a full resource profile rather than just a single field?
  • Which statement about JSON Web Tokens (JWTs) is true?
  • Which eviction policy removes the item with the lowest access count?
  • Which statement explains index write overhead on a table?
  • Graph databases are typically avoided in interviews unless which query pattern is central to the application?
  • Do virtual nodes solve workload imbalance caused by hot keys?
  • Which caching pattern is more common with Redis for application-level caching?
  • Which technique helps prevent a cache stampede by preloading the cache before expiry?
  • Which statement best describes REST resource modeling?
  • What explains cross-region latency in distributed systems?
  • At very large scale, some teams drop foreign keys and enforce integrity at the application layer.
  • Which example illustrates eventual consistency?
  • In a composite index on (user_id, created_at), which query pattern is most efficiently served?
  • Which statement best describes gRPC usage?
  • What term describes a shard that receives disproportionately more traffic than others, undermining sharding benefits?
  • What is a composite index?
  • What caching pattern is described as the default in caching strategies?
  • Which statement about sending data in requests is true?
  • Strong consistency guarantees what in a distributed system?
  • Which statement about Directory-Based Sharding is true?
  • Which mitigation is recommended for hot spots by isolating hot keys to dedicated shards?
  • What is a major downside of simple hash-based sharding without consistent hashing?
  • Which statement best describes a relational database (SQL)?
  • What performance improvement is typical when using an External Cache like Redis?
  • What characterizes a document-oriented database?
  • Which statement about GraphQL usage is correct?
  • Why include jitter with exponential backoff?
  • Which sharding approach stores shard assignments in a lookup table and uses a directory before querying data, offering flexibility but adding latency and a potential single point of failure?
  • What is the primary role of replication in distributed systems?
  • Which practice deliberately duplicates data to speed up reads at the cost of potential inconsistencies?
  • Which statement best describes the Request Body in HTTP requests?
  • Which statement correctly describes horizontal and vertical partitioning?
  • CH in product system design interviews should be discussed how?
  • What HTTP status code is commonly returned when rate limits are exceeded?
  • Which statement best describes HTTP GET semantics?
  • When should you scale your message queue infrastructure?
  • Which statement best describes REST API usage?
  • Which set of HTTP methods are idempotent by design?
  • Before proposing caching in a design interview, what should you do?
  • Which property makes a good shard key?
  • A one-to-many relationship is modeled by placing a foreign key on which side?
  • Which statement best describes access patterns in database design?
  • Which statement reflects a trade-off between GraphQL and REST?
  • Which strategies are used to mitigate hot spots in consistent hashing?
  • Which statement best describes Protocol Buffers usage?
  • What is true about high availability and sharding?
  • Which option reflects availability-oriented choices in distributed databases?
  • What is a characteristic of DNS-based client-side load balancing?
  • Which statement best describes the recommended default API approach in system design interviews?
  • In the Scale Trigger Decision Framework, what is a database scaling threshold?
  • How does GraphQL address over-fetching and under-fetching in data retrieval?
  • What does the Taylor Swift concert ticket key illustrate about hot spots?
  • Which statement best describes causal consistency?
  • What is the primary function of load balancer health checks?
  • GraphQL is considered when REST cannot meet needs. Which statement aligns with this guideline?
  • What distinguishes partitioning from sharding?
  • For a user-centric app, which field typically serves well as a shard key?
  • When a new node is added, which keys move?
  • When is GraphQL particularly advantageous compared to REST?
  • If brief inconsistency would be catastrophic, which CAP property should you prioritize?
  • What caching strategy is recommended for hot data before external caches?
  • Which statement best justifies using WebSockets?
  • What anti-pattern occurs when sharding by a timestamp routes all new writes to the most recent shard?
  • Which statement best describes Path Parameters versus Query Parameters?
  • Which status code indicates that authentication is required?
  • DynamoDB placement uses a variation for partitioning and performs what kind of rebalancing?
  • What is the main implication of index storage cost?
  • What is a primary key in a relational database?
  • Which relationship is implemented with a junction table containing foreign keys to both sides?
  • What is the primary purpose of an Inverted Index?
  • What is a typical trigger for horizontal scaling of application servers?
  • In RBAC, which description accurately reflects typical role permissions?
  • Which statement correctly distinguishes authentication from authorization?
  • In API design interviews, what is a recommended approach?
  • What is a key weakness of simple modulo hashing when cluster size changes?
  • Which sharding approach offers maximum flexibility for isolating hot users to dedicated shards but may introduce latency due to directory lookups?
  • Which index is standard for precise spatial queries over points and polygons in production databases like PostGIS?
  • Which HTTP method removes a resource and is idempotent because repeated calls leave the resource deleted?
  • WebRTC is almost exclusively used for what scenario?
  • What is the typical latency within a single availability zone?
  • What is a common use case for a key-value store?
  • Why would a system use a denormalized pre-computed feed table indexed by viewer_id and created_at?
  • In modern database capacity planning, when should you consider sharding?
  • Which distribution technique minimizes data movement when shards are added or removed by placing shards on a virtual ring and assigning each key to the nearest shard clockwise?
  • If Redis goes down, what technique helps prevent overwhelming the database?
  • What is the primary cost associated with not reusing HTTP connections across requests?
  • When should you use a CDN?
  • What does a GraphQL schema define?
  • What is a key benefit of consistent hashing compared to simple modulo hashing?
  • In the context of consistent hashing, what does the hash ring represent?
  • Which HTTP method is appropriate for canceling a booking and is idempotent?
  • Which pagination method uses an encoded pointer and next_cursor value to paginate results?
  • Which index type is default recommended for most scenarios?
  • Which statement best describes RPC usage?
  • Which properties are included in ACID guarantees?
  • What is the role of the high-level design stage in the delivery framework?
  • Under what conditions is a simple single-instance architecture preferred?
  • Which statement about TTL is true?
  • Why might gRPC outperform REST in some benchmarks?
  • Which is a core step in the five-step caching strategy?
  • Where would you typically apply strong consistency in a domain?
  • Which sharding strategy assigns contiguous ranges of shard key values to specific shards, enabling efficient range scans but risking hot spots when traffic concentrates on a single range?
  • Sharding is best used when?
  • Why do separate B-tree indexes on latitude and longitude fail for proximity search?
  • R-Tree is typically used for which type of data?
  • What is the purpose of virtual nodes in a hash ring?
  • What best defines the hot key problem in caching?
  • Modulo hashing can have drawbacks that ring-based hashing mitigates. Which of the following describes a drawback of modulo hashing?
  • What best describes In-Process Caching?
  • Which statement best captures when to shard?
  • What is the primary speed advantage when considering sequential vs random disk access?
  • What conditions in the framework trigger cache scaling?
  • Which statement about HTTP status codes is correct?
  • What is the effect of adding INCLUDE columns to an index (a covering index)?
  • What is a concise description of how GraphQL helps with data-fetching inefficiencies?
  • Quadtree is a spatial index that subdivides a region into four quadrants. Which statement about quadtrees is correct?
  • Which statement about the relationship between SQL databases and a key-value store is accurate?
  • Which caching pattern writes data only to the cache and flushes it to the database asynchronously in the background?
  • Which statement best reflects how production systems typically handle cross-shard transactions?
  • What is a recommended approach to handle multi-shard operations without distributed transactions?
  • Which description best defines eventual consistency in a distributed system?
  • Which statement best describes a Hash Index?
  • Denormalization is typically used in which scenarios?
  • Which pagination approach is more stable when new records are added during pagination?
  • Which algorithm is recommended for SSE or WebSocket workloads?
  • According to cache capacity guidelines, when should you scale the cache?
  • Which statement about the REST request body is true?
  • Which pagination method breaks large result sets into pages by skipping a set number of records and can produce duplicates or skipped records if data changes during pagination?
  • CDNs use consistent hashing to determine which edge servers cache specific content to minimize misses when what happens?
  • Which versioning approach uses URL paths like /v1/events and is the most common due to explicit routing?
  • What characterizes Write-Through caching?
  • What is the role of a Bloom filter in LSM-tree storage?
  • API keys are best suited for which scenario?
  • Which HTTP method replaces an entire resource with the provided data and is idempotent, making it suitable for updating a full user profile?
  • Which design principle stores each piece of information in exactly one place to prevent anomalies?
  • When a new node is added on the hash ring, which keys move?
  • Which statement describes Read-Your-Own-Writes consistency?
  • Which mitigation technique for cross-shard queries involves precomputation via background jobs?
  • What is the purpose of compaction in an LSM-tree?
  • Which condition most clearly triggers the need to shard a database?
  • What is the primary purpose of rate limiting in a system?
  • Why should you prefer system-generated IDs for primary keys instead of business data like emails?
  • Which recommendation avoids rushing to add a queue and suggests alternative optimizations first?
  • Why can't B-tree indexes efficiently support certain LIKE patterns?
  • What best describes the GraphQL N+1 problem?
  • Which statement accurately defines idempotence in HTTP requests?
  • Partition tolerance is defined as a system property that ensures what?
  • Which statement best describes a Log-Structured Merge Tree (LSM Tree)?
  • What is the general purpose of database constraints such as NOT NULL, UNIQUE, and CHECK?
  • In a Role-Based Access Control (RBAC) model, how are permissions granted?
  • What is the primary function of a CDN cache?
  • Which load balancer type is recommended for WebSocket connections to preserve persistent TCP connections end-to-end?
  • Which HTTP method updates only specified fields of an existing resource and is not guaranteed to be idempotent depending on implementation?
  • Why can't B-tree indexes efficiently support certain LIKE patterns?
  • Which statement about horizontal partitioning is true?
  • Which statement best describes TTL (Time To Live) in caching?
  • What is the purpose of an idempotency key in a payment API?
  • Which latency figure is the cross-region latency range that informs decisions about data replication and edge caching?
  • Which statement best describes how shard keys influence cross-shard lookups?
  • Cross-shard queries are those that require data from multiple shards because the query does not align with the shard key. Which mitigation is commonly recommended?
  • WebRTC is almost exclusively used for which scenario?
  • In an LSM-tree, what happens to new writes in terms of memtable and SSTable?
  • What best describes a cache-as-denormalized layer?
  • Which constraint enforces referential integrity by linking to another table's primary key?
  • Data modeling appears twice in the design process; when does it occur?
  • What is a fundamental issue with simple modulo hashing when the cluster size changes?
  • What describes the cache invalidation on writes strategy?
  • PostgreSQL automatically creates a B-tree when you add a primary key or unique constraint. True or False?
  • What is a practical mitigation for the hot key problem?
  • In read-through caching, what role does the cache play?
  • What best defines a covering index?
  • Which use case is best served by SSE?
  • Why are stateless services preferred for horizontal scaling?
  • Which statement best captures per-feature CAP trade-offs in system design?
  • What is a Composite Index?
  • Which relationship describes associations where records on both sides can relate to multiple records on the other side?
  • Why must the leftmost column in a composite index appear in the query for the index to be usable?
  • What best characterizes a hot shard anti-pattern?
  • Which statement best describes hash indexes in practice?
  • Which statement best describes HTTP POST semantics?
  • What is the recommended approach to discussing CAP in system design interviews?
  • What is a Cache Stampede?
  • Which statement best characterizes the benefit of range-based sharding for a multi-tenant SaaS where each tenant's users query their own range?
  • Which scenario justifies proposing sharding?
  • What is External Cache (Redis) primarily used for?
  • What is the primary purpose of sharding in a database system?
  • In a sharding interview strategy, after proving a single database cannot handle the load, what should you propose next?
  • Which index type is typically chosen for general-purpose use because it supports both exact-match and range queries?
  • Which database type is optimized for massive write-heavy workloads and time-series data?
  • Which eviction policy removes the item not accessed for the longest time when the cache is full?
  • Which scenario most strongly favors using UDP over TCP?
  • Which protocol guarantees cross-shard consistency but is slow and fragile, leading most production systems to avoid it?
  • Which statement about managed sharding is correct?
  • What is the recommended starting approach in a schema design interview?
  • Geohash is described as a spatial indexing approach that converts 2D coordinates into a 1D string. Which statement about geohash is true?
  • Which statement describes a RESTful system design characteristic?
  • Which scenario benefits most from write-behind caching?
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy