Practice
Solution
Step 1: Trace Delivery Worker decision at Step 4 -- Bob's presence TTL
If TTL expired, recipient is considered offline; message cannot be delivered immediately.Step 2: Check Delivery Worker behavior on expired TTL
Delivery Worker deletes message from active queue to avoid indefinite retries; offline delivery handled elsewhere.Final Answer:
Option C -> Option CQuick Check:
Expired presence TTL -> message deleted from active delivery queue [check]
Solution
Step 1: Understand adaptive bitrate streaming principles
Client-driven switching with multiple bitrate streams allows clients to adapt quickly to network changes, reducing buffering and wasted bandwidth.Step 2: Evaluate other options
Single high-bitrate wastes bandwidth; server-driven adaptation adds latency and complexity; fixed bitrate can't adapt to network variability.Final Answer:
Option C -> Option CQuick Check:
Client-driven multi-bitrate switching optimizes latency and bandwidth [check]
Solution
Step 1: Understand Kafka's role in update pipeline
Kafka streams code updates to vector index workers; if down, updates stop flowing.Step 2: Trace impact on components
Retriever can still serve existing embeddings (A and B incorrect); system does not lose all events permanently due to Kafka's durability (D incorrect).Step 3: Identify generator failure
Without fresh embeddings, generator lacks up-to-date context, causing failures or degraded completions (C correct).Final Answer:
Option A -> Option AQuick Check:
Kafka down blocks embedding updates, generator lacks context [check]
Solution
Step 1: Role of consistent hashing ring metadata
The ring metadata maps keys to nodes; without it, nodes cannot route requests correctly, leading to inconsistent data placement.Step 2: Consequence of missing ring metadata
Without this metadata, nodes lose synchronization on key ownership, causing data corruption as writes go to wrong nodes; request failure (The cache node receiving the request cannot determine the correct node, causing request failure or indefinite retry) is secondary, and fallback (The system falls back to a centralized database for all requests, increasing latency) is not automatic.Final Answer:
Option A -> Option AQuick Check:
Missing ring metadata causes data corruption due to lost key-node mapping [check]
Solution
Step 1: Analyze component scalability at 10x traffic
Databases (A) and caches (D) can be scaled horizontally or sharded; load balancers (C) can be scaled or replaced with L4/L7 solutions.Step 2: Identify API servers as bottleneck
API servers maintaining stateful connections (e.g., WebSockets) are hard to shard or move; connection limits cause saturation and failure first.Final Answer:
Option D -> Option DQuick Check:
Stateful API servers hit connection limits first at scale [check]
