Practice
1. A system must efficiently handle millions of concurrent calendar availability updates from hosts worldwide, ensuring low latency and eventual consistency. Which component is best suited to buffer and process these updates asynchronously?
easy
Solution
Step 1: Identify the need for asynchronous buffering
Millions of concurrent updates require decoupling ingestion from processing to avoid bottlenecks.Step 2: Evaluate component suitability
Relational DB (A) causes high contention and latency; Redis (C) is volatile and not durable; synchronous API calls (D) block and reduce throughput. Kafka (B) provides durable, ordered, and scalable buffering.Final Answer:
Option D -> Option DQuick Check:
Kafka buffers high-throughput writes asynchronously with durability [check]
Hint: Buffer high-write updates asynchronously with durable queues [check]
Common Mistakes:
2. In a graph database request flow, at step 4 the query engine evaluates the traversal depth limit. What happens if the depth limit is reached before finding the target node?
easy
Solution
Step 1: Understand traversal depth limit role
The depth limit caps how far the traversal explores to avoid excessive computation.Step 2: Behavior at limit
When the limit is reached, traversal stops and returns partial results found so far, not an error or restart.Final Answer:
Option A -> Option AQuick Check:
Traversal depth limit stops traversal and returns partial results [check]
Hint: Traversal stops at depth limit, returns partial results [check]
Common Mistakes:
3. If the event ingestion pipeline fails to persist incoming metric data, what is the exact failure observed in the alerting system?
medium
Solution
Step 1: Role of event ingestion pipeline
This pipeline persists raw metric data for downstream alerting components.Step 2: Consequence of pipeline failure
Without persistence, threshold and anomaly detectors get incomplete or missing data, leading to missed alerts or false positives.Final Answer:
Option A -> Option AQuick Check:
Missing data -> detectors miss or misfire alerts [check]
Hint: No data persistence -> detectors get incomplete data, miss alerts [check]
Common Mistakes:
4. You need to design an Elasticsearch cluster optimized for low-latency search queries on a read-heavy workload with occasional node failures. Which architecture choice best balances query speed and fault tolerance?
medium
Solution
Step 1: Evaluate shard size and replication
Multiple smaller shards allow parallel query execution; replicas provide fault tolerance and load balancing.Step 2: Eliminate other options
Single large shard causes query bottleneck; disabling replicas risks data loss and no failover; using only replicas offline is invalid as primaries handle writes.Final Answer:
Option A -> Option AQuick Check:
Multiple shards + replicas balance speed and fault tolerance [check]
Hint: Multiple shards + replicas optimize read speed and fault tolerance [check]
Common Mistakes:
5. At 10x scale of incidents, which post-mortem component is most likely to fail first and why?
hard
Solution
Step 1: Analyze scaling bottlenecks in post-mortem components
Action item tracking systems must handle many tasks; at 10x scale, manual or poorly automated systems get overwhelmed.Step 2: Compare other components
Blameless culture erosion is a risk but not a technical failure. RCA team size affects coordination but can be mitigated. Timeline tools usually scale better with storage solutions.Final Answer:
Option B -> Option BQuick Check:
Tracking overload causes lost/delayed fixes first at scale [check]
Hint: Tracking overload breaks fixes first at scale [check]
Common Mistakes:
