Practice
Solution
Step 1: Trace key lookup at Cache Node
If the node lacks the key, it must find the correct node responsible for that key using the consistent hash ring.Step 2: Forwarding via consistent hash ring
The node consults the hash ring to identify the node owning the key and forwards the request there; centralized metadata (The node queries a centralized metadata service for key location) adds latency and single point of failure; broadcasting (The node broadcasts the request to all other cache nodes) is inefficient.Final Answer:
Option B -> Option BQuick Check:
Consistent hash ring lookup enables correct node forwarding [check]
Solution
Step 1: Understand absence of distributed lock
Without locking, multiple clients detect expired cache simultaneously.Step 2: Trace failure mode
Clients serve stale data until backend responds; no serialization causes thundering herd spike.Final Answer:
Option A -> Option AQuick Check:
Stale data served while backend recovers, no queuing or automatic refresh [check]
Solution
Step 1: Understand role of seat lock expiration
Expiration releases seats if payment or booking is abandoned, preventing indefinite holds.Step 2: Trace failure without expiration
Locks never expire, so seats remain reserved even if users abandon payment, reducing available seats and causing booking stalls.Final Answer:
Option B -> Option BQuick Check:
No TTL -> stale locks -> seats unavailable indefinitely [check]
Solution
Step 1: Understand DF update role
Inverted Index Update Service maintains DF counts; if it crashes, DF stops updating and becomes stale.Step 2: Trace impact on ranking
Ranking cannot rely on fresh DF; system falls back to BM25 variant that tolerates stale DF or uses approximations; queries do not error out; new documents may still be indexed but DF is outdated.Final Answer:
Option A -> Option AQuick Check:
System falls back to BM25 variant tolerating stale DF [check]
Solution
Step 1: Identify scale bottlenecks
At 10x scale, write throughput and storage I/O become critical constraints for ingestion pipelines.Step 2: Compare component scalability
Anomaly detection can be scaled horizontally; composite alerting state grows but less than ingestion I/O; threshold checks are lightweight.Final Answer:
Option B -> Option BQuick Check:
Ingestion pipeline limited by write throughput and storage I/O [check]
