Practice
Solution
Step 1: Trace Routing Engine behavior at Step 4
The Routing Engine relies on Road Graph Service for path and ETA; stale data leads to incorrect routing.Step 2: Understand error handling on stale data
Routing Engine does not silently accept stale data (B) or recalculate ignoring it (A); it fails gracefully (D) to avoid misleading users.Final Answer:
Option A -> Option AQuick Check:
Routing Engine fails on stale Road Graph data to prevent wrong routes [check]
Solution
Step 1: Understand bucket pattern write flow
Writes append to a bucket document until size or time limits are reached.Step 2: Behavior when bucket is full
System creates a new bucket document to avoid exceeding MongoDB's 16MB document size limit.Final Answer:
Option A -> Option AQuick Check:
New bucket created to respect document size limits [check]
Solution
Step 1: Aggregation Worker error handling
Discarding entire batch (A) or pausing (C) causes unnecessary delays; default timestamps (D) risk data corruption.Step 2: Skipping invalid metrics
Skipping only the invalid metric preserves throughput and data integrity for valid metrics.Final Answer:
Option A -> Option AQuick Check:
Skip invalid metrics, process valid batch entries [check]
Solution
Step 1: Identify Raft leader responsibilities
The leader serializes all client writes and replicates logs to followers, causing CPU and network load concentration.Step 2: Analyze scaling impact
At 10x scale, leader's CPU and network become bottlenecks before followers or network saturate.Final Answer:
Option D -> Option DQuick Check:
Leader handles all writes and replication -> first bottleneck at scale [check]
Solution
Step 1: Understand Bloom filter scaling behavior
Bloom filter false positive rate increases with scale unless filter size grows proportionally, causing more backend queries.Step 2: Analyze component failure likelihood
Backend (A) fails eventually but Bloom filter inefficiency causes overload first. Network (C) and cache (D) are bottlenecks but secondary to Bloom filter false positive explosion.Final Answer:
Option C -> Option CQuick Check:
Bloom filter false positives grow with scale, triggering backend overload first [check]
