Practice
Solution
Step 1: Understand retry limit enforcement
When max retries are exceeded, messages should not be retried endlessly to avoid infinite loops.Step 2: Identify correct failure handling
Moving messages to a permanent failure store (C) enables manual inspection and prevents loss.Final Answer:
Option B -> Option BQuick Check:
Exceeded retries -> move to permanent failure store, not discard or infinite retry [check]
Solution
Step 1: Trace scoring behavior on stale data
The scoring component queries the Feature Store asynchronously; it does not block (A) or retry immediately (C). It uses whatever data is returned.Step 2: Understand fallback mechanisms
Fallback to default values (D) is not automatic; stale data is used as-is, which may reduce accuracy but maintains low latency.Final Answer:
Option A -> Option AQuick Check:
Stale features used -> possible inaccurate scores, no blocking [check]
Solution
Step 1: Analyze rollback safety and rapid iteration needs
Canary deployment gradually exposes new versions, enabling quick rollback if issues arise, balancing speed and safety.Step 2: Evaluate other strategies
Blue-Green minimizes downtime but requires double infrastructure; Rolling updates lack gradual exposure and rollback granularity; Recreate causes downtime and no gradual rollback.Final Answer:
Option D -> Option DQuick Check:
Canary balances rapid deployment with rollback safety [check]
Solution
Step 1: Understand Kafka's role in fan-out delivery
Kafka acts as a durable queue for fan-out messages. If it crashes, Delivery Workers cannot fetch new messages, causing stale feeds.Step 2: Evaluate failure modes
Posts are not lost immediately (A) due to Kafka's durability; writes are asynchronous so no blocking (B); duplicates (D) occur only on replay, not crash.Final Answer:
Option D -> Option DQuick Check:
Kafka crash stalls delivery, causing stale feeds [check]
Solution
Step 1: Compare static vs dynamic ETA computation
Static shortest path (A) and precomputed caches (D) ignore live traffic variability, leading to inaccurate ETAs.Step 2: Evaluate heuristic and dynamic approaches
Heuristic ignoring traffic (C) fails in variable conditions; dynamic routing (B) adapts to live and historical data for accurate ETA.Final Answer:
Option D -> Option DQuick Check:
Dynamic routing with live traffic yields accurate ETAs in variable conditions [check]
