Practice
Solution
Step 1: Identify the role of Edge CDN Nodes
Edge CDN nodes cache video segments near users to reduce latency and offload origin servers.Step 2: Eliminate other options
Origin servers handle storage but not low-latency delivery; load balancers distribute requests but don't cache content; databases store metadata, not video segments.Final Answer:
Option D -> Option DQuick Check:
Edge CDN caches segments closest to users for low latency [check]
Solution
Step 1: Trace failure impact of update stream loss
The update stream failure stops feature updates but does not block reads or cause permanent data loss.Step 2: Identify component relying on update stream
A/B testing routing depends on fresh feature updates to decide traffic splits; without updates, routing falls back to control model only.Final Answer:
Option C -> Option CQuick Check:
Update stream failure -> A/B routing fallback to control model [check]
Solution
Step 1: Analyze real-time analytics requirements
High throughput and near real-time aggregation require decoupling ingestion and processing.Step 2: Evaluate architectures
Kafka streaming (B) supports scalable event ingestion and asynchronous processing; relational DB (A) can't handle high write load; flat files (C) have high latency; NoSQL eventual consistency (D) may cause stale reads.Final Answer:
Option A -> Option AQuick Check:
Kafka decouples ingestion and processing for scalable real-time analytics [check]
Solution
Step 1: Identify role of durable queue
Kafka decouples sender and receiver; without it, sender waits synchronously for receiver's ack.Step 2: Trace failure without Kafka
If Bob's server crashes, no ack arrives, send blocks indefinitely and message is lost with no retry mechanism.Final Answer:
Option D -> Option DQuick Check:
No Kafka -> synchronous send blocks, message lost if receiver crashes [check]
Solution
Step 1: Identify stateful components
Redirect Service holds stateful HTTP connections (e.g., WebSocket or session affinity), limiting horizontal scaling.Step 2: Compare scaling challenges
Database and Cache can be sharded or scaled horizontally; Analytics pipeline can be scaled with more workers; Redirect Service's stateful connections cause scaling bottleneck first.Final Answer:
Option A -> Option AQuick Check:
Stateful Redirect Service limits horizontal scaling, causing first bottleneck [check]
