Practice
Solution
Step 1: Identify failure containment mechanism
Retries alone (A) can worsen cascading failures by increasing load; load balancers (C) distribute load but don't prevent failures; message queues (D) buffer but don't stop calls to failing services.Step 2: Recognize circuit breaker role
Circuit breakers (B) detect failure thresholds and open to stop calls, preventing cascading failures and allowing recovery.Final Answer:
Option A -> Option AQuick Check:
Circuit breaker stops calls after failures to prevent cascade [check]
Solution
Step 1: Understand durability impact on vector storage
Without persistence, recent inserts are lost on crash, but existing index data remains intact.Step 2: Analyze index rebuild behavior
HNSW index rebuilds from last persisted snapshot, so it uses stale data but does not corrupt links.Final Answer:
Option A -> Option AQuick Check:
Index rebuild uses stale data; recent inserts lost but no corruption [check]
Solution
Step 1: Role of consensus in failover
Consensus prevents split-brain by ensuring only one leader accepts writes.Step 2: Consequence of missing consensus
Without consensus, multiple nodes may accept writes simultaneously, causing data divergence.Final Answer:
Option B -> Option BQuick Check:
Consensus absence leads to split-brain and inconsistent writes [check]
Solution
Step 1: Understand modular hashing failure on node removal
Modular hashing requires remapping all keys, causing performance degradation and cache misses.Step 2: Evaluate options
The system automatically replicates keys to other nodes without delay incorrectly assumes automatic replication without delay; Clients continue to query the removed node causing request failures is invalid as clients rely on updated routing.Final Answer:
Option B -> Option BQuick Check:
Without consistent hashing, remapping causes cache stampede, no instant replication [check]
Solution
Step 1: Understand session timeout role
Session timeout detects leader failure by ephemeral node removal.Step 2: Failure of timeout detection
If timeout fails, ephemeral node remains, so followers do not start election; no split-brain occurs.Final Answer:
Option B -> Option BQuick Check:
Backup election mechanisms prevent split-brain despite timeout failure [check]
