Practice
Solution
Step 1: Trace health check worker behavior at Step 4
When no response is received, the server is marked unhealthy to prevent routing traffic to it.Step 2: Exclude other states
Latency increase implies response received; overloaded means server responded; unknown state would not remove server immediately.Final Answer:
Option B -> Option BQuick Check:
No response -> mark server unhealthy and remove [check]
Solution
Step 1: Understand the role of the Error Budget Calculator at step 4
It updates the remaining error budget by subtracting the recent error rate from the total allowed errors, reflecting current SLO compliance.Step 2: Exclude other states that contradict error budget tracking logic
Resetting the budget ignores recent errors; queuing is done later by alerting; discarding counts would lose accuracy.Final Answer:
Option D -> Option DQuick Check:
Error Budget Calculator updates remaining budget after aggregation [check]
Solution
Step 1: Trace quorum coordinator failure after majority ack
Coordinator crashes before responding, client waits but eventually times out.Step 2: Client retries write causing potential duplicates
Client retries due to timeout; duplicates possible if write was committed.Final Answer:
Option A -> Option AQuick Check:
Timeout triggers retry risking duplicate writes [check]
Solution
Step 1: Identify stateful components limiting scale
WebSocket servers maintain persistent connections per user, which are stateful and bound to server memory.Step 2: Analyze scaling challenges
At 10x scale, adding servers doesn't migrate existing WebSocket connections, causing uneven load and resource exhaustion. Relational DB (A) can be sharded, cache (B) can be scaled with TTL tuning, storage (D) scales with cloud object storage.Final Answer:
Option C -> Option CQuick Check:
Stateful WebSocket connections limit horizontal scaling [check]
Solution
Step 1: Identify Redis command processing model
Redis processes commands single-threaded, limiting throughput regardless of hardware.Step 2: Analyze scaling impact
At 10x scale, Redis becomes the bottleneck as it cannot process atomic increments fast enough.Step 3: Evaluate other components
API servers can be scaled horizontally; network and clients are less likely to fail first.Final Answer:
Option C -> Option CQuick Check:
Redis single-threaded processing limits throughput at high scale [check]
