Practice
Solution
Step 1: Trace Cache Loader timeout behavior
On timeout, Cache Loader skips warming that key to avoid blocking the entire warming process.Step 2: Eliminate retry and fallback options
Indefinite retries block warming; fallback cache is not part of warming design; null writes risk stale data.Final Answer:
Option C -> Option CQuick Check:
Timeout causes skipping key warming to maintain overall progress [check]
Solution
Step 1: Understand Authorization Service behavior at token validation
The service validates token expiry and rejects expired tokens.Step 2: Eliminate incorrect behaviors
Granting access with expired token violates security; automatic refresh is done by Authentication Service, not Authorization; forwarding without validation breaks security.Final Answer:
Option D -> Option DQuick Check:
Expired tokens cause 401 Unauthorized rejection [check]
Solution
Step 1: Understand ephemeral node semantics
Ephemeral nodes in ZooKeeper are automatically deleted when the client session ends (e.g., crash), preventing deadlocks (A) and stale locks.Step 2: Trace lock ownership after crash
Since the ephemeral node is deleted, the next client waiting for the lock will be notified, but the lock is not immediately transferred (D) until they acquire it explicitly.Final Answer:
Option A -> Option AQuick Check:
Ephemeral node deletion on client crash -> lock released [check]
Solution
Step 1: Understand stale slot cache impact
Stale cache causes client to send requests to nodes no longer responsible or down.Step 2: Trace failure consequences
Requests to failed nodes time out or fail; client does not receive MOVED errors because node is down (Client requests are sent to a failed node, causing timeouts and request failures).Final Answer:
Option D -> Option DQuick Check:
Stale cache -> requests to failed nodes -> timeouts/failures [check]
Solution
Step 1: Analyze branching strategies for scale
Lightweight branch pointers referencing immutable commits allow fast branch creation and merges without locking, supporting high concurrency.Step 2: Evaluate other options
Centralized locking serializes operations, hurting performance; full branch copies waste storage and complicate merges; synchronous replication adds latency and reduces availability.Final Answer:
Option B -> Option BQuick Check:
Immutable commits + lightweight pointers -> scalable branching [check]
