Question 1
Which status code indicates that authentication is required?
Correct Answer:
401 Unauthorized
Explanation:
Authentication required in HTTP is signaled by the 401 Unauthorized status. This means the request lacks valid authentication credentials for the target resource, or they were not provided at all. The server uses 401 to prompt the client to authenticate, often with a WWW-Authenticate header describing the required method. Once the client supplies valid credentials, the server may respond with a success code or another appropriate status depending on the outcome. In contrast, 200 OK means the request succeeded and the response contains the requested data. 201 Created indicates a new resource was successfully created as a result of the request. 400 Bad Request means the server could not understand the request due to malformed syntax or invalid parameters, not an authentication issue.
Question 2
Why might gRPC outperform REST in some benchmarks?
Correct Answer:
gRPC uses JSON by default.
Explanation:
The main factor is how data is encoded and transported. gRPC typically uses Protocol Buffers, a compact binary format, which keeps message sizes small and speeds up parsing compared to JSON. Smaller payloads mean less serialization work and lower network bandwidth, which can lead to higher throughput in benchmarks. In addition, gRPC runs over HTTP/2, offering features like multiplexed streams and header compression, which further improves efficiency and latency. The statement that gRPC uses JSON by default is a misconception; gRPC uses Protocol Buffers by default, while REST commonly uses JSON.
Question 3
What is the primary function of load balancer health checks?
Correct Answer:
To remove unhealthy servers from rotation automatically.
Explanation:
Health checks verify that each backend server can actually handle requests. The load balancer periodically probes the servers, and if a server fails the probes consistently, it is taken out of the traffic rotation so new requests aren’t sent to it. This automatic removal of unhealthy servers keeps the service available by avoiding failed nodes, and once a server recovers, it can rejoin the rotation. The other options aren’t the primary role of health checks. Checking client device health isn’t something the load balancer does. DNS failover is a separate mechanism for directing traffic at a higher level, not about monitoring individual backends. SSL certificate validity isn’t the core function of health checks, though some systems can monitor cert expiry, it’s not what the health check primarily accomplishes.
Question 4
According to cache capacity guidelines, when should you scale the cache?
Correct Answer:
Scale when memory usage exceeds 80% or ops/sec exceed 100k, or latency falls below 0.5 ms.
Explanation:
The idea is to manage cache capacity using multiple, practical signals rather than a single metric. Scale when you’re genuinely approaching the limits or when demand is high, so you keep performance from degrading. If memory usage climbs above 80%, you’re near the memory cap and eviction pressure rises, so adding capacity helps. If the workload pushes throughput beyond a high threshold (like 100k ops/sec), the cache is under heavier use and may start showing latency or miss penalties unless you scale. If latency is already very good (below 0.5 ms), you have headroom to scale ahead of expected growth to preserve that fast response as traffic increases. Using these combined conditions helps ensure scaling happens in response to real pressure and also in anticipation of rising load, rather than based on a single metric that might mislead.
Question 5
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?
Correct Answer:
Directory-Based Sharding stores shard assignments in a lookup table, but introduces latency and a potential single point of failure.
Explanation:
Sharding with a directory means you keep a central lookup structure that maps each shard key to the specific shard, and every query first consults that directory to route to the right shard. This setup offers flexibility because you can reassign data or rebalance shards by updating the directory without changing application logic. The trade-offs are clear: you pay extra latency for the directory lookup on every query, and there's a potential single point of failure if the directory becomes unavailable or bottlenecks the system. Understand how the others differ: range-based sharding assigns contiguous key ranges to shards directly, which is simple and fast for routing but harder to adapt when you need to rebalance or add shards. Consistent hashing uses a hashing ring so keys map to shards with minimal movement when the topology changes, avoiding a central directory and thus reducing rebalancing work. Two-phase commit is about coordinating transactions across multiple shards and can add latency due to coordination overhead, but it doesn’t define how shard assignments are stored or routed.
Question 1
Exam overview

About this Exam

Prepare with the Systems Design Concepts Practice Test practice quiz. This question bank includes 10 questions covering primary, cache, sharding, data, and pagination. Use it to review important concepts, identify knowledge gaps, and build confidence for the related exam, course, or assessment.

More details

Additional Information

Systems Design Concepts Practice Test

This practice set contains 10 questions from the matching question bank and focuses on primary, cache, sharding, data, and pagination. Work through each question carefully, review the provided solutions, and revisit topics that need more study before your next attempt.

This is an independent study resource intended for practice and review; it is not an official examination or an endorsement by any organization named in the title.

Quiz information

Frequently Asked Questions

The complete question count is available after full access is unlocked.
No fixed duration is currently configured for this quiz.
Question explanations are included where they are available in the quiz content, helping you review the reasoning after answering.
Yes. You can retake the practice test again as you continue studying during your available access period.
After your access is confirmed, you can continue into the complete practice exam from this quiz flow.
Unless explicitly stated otherwise, this page provides independent practice material for study and exam preparation and is not the official examination itself.
Keep studying

Related Questions