Practice
Solution
Step 1: Understand heartbeat role
Heartbeat timeout signals active node failure, triggering failover.Step 2: Passive node failover action
Passive node must promote itself to active to maintain availability and accept traffic.Final Answer:
Option B -> Option BQuick Check:
Heartbeat timeout -> passive promotes to active [check]
Solution
Step 1: Trace Delivery Worker behavior at Step 4
The Delivery Worker reads fan-out events from Kafka and attempts delivery. If the follower is offline, immediate retry (A) would block and reduce throughput. Dropping messages (C) causes data loss. Pushing directly to device cache (D) is impossible if offline.Step 2: Understand retry mechanism
The system marks the message as sent but not delivered, queues it for retry later when the follower reconnects, ensuring eventual delivery without blocking.Final Answer:
Option A -> Option AQuick Check:
Offline followers cause queued retries, not immediate blocking [check]
Solution
Step 1: Trace failure impact of authentication service crash
Without the authentication service, the gateway cannot verify credentials and may default to allowing requests through if no fail-closed mechanism is implemented.Step 2: Evaluate other options
Clients receive a 500 Internal Server Error due to gateway crash is unlikely as gateway remains up. Clients receive a 401 Unauthorized response because authentication cannot be verified requires fail-closed design, which is not always implemented. Requests queue indefinitely at the gateway until authentication service recovers causes indefinite blocking, which is rare.Final Answer:
Option C -> Option CQuick Check:
Auth service down -> requests pass unverified if no fail-closed [check]
Solution
Step 1: Identify bottleneck at 10x scale
Edge cache nodes have limited storage and memory; increased users cause cache thrashing and more origin fetches, increasing latency and load.Step 2: Evaluate other components
Origin servers scale with CDN design; load balancers are horizontally scalable; client players are distributed and not a system bottleneck.Final Answer:
Option B -> Option BQuick Check:
Edge cache storage limits cause cache thrashing first at scale [check]
Solution
Step 1: Analyze scaling challenges per component
Feature store caches can be sharded; batch clusters scale horizontally; metadata registries are smaller and less frequently accessed.Step 2: Identify Kafka bottleneck
Kafka throughput depends on partition count, which is hard to increase dynamically. Rebalancing partitions at scale causes downtime and latency spikes, making Kafka ingestion the first bottleneck.Final Answer:
Option D -> Option DQuick Check:
Kafka partition limits and rebalancing cause ingestion bottlenecks [check]
