Practice
Solution
Step 1: Identify latency reduction mechanism
Latency is reduced by caching content closer to users, which is done by edge nodes in PoPs.Step 2: Eliminate other components
Origin servers hold master content but are far from users; load balancers and DNS do not cache content.Final Answer:
Option D -> Option DQuick Check:
Edge nodes cache content near users -> latency reduced [check]
Solution
Step 1: Trace retrieval dependency on metadata service
The metadata service provides object location and version info; without it, retrieval cannot resolve where to fetch data.Step 2: Eliminate other options
Stale metadata retrieval is impossible without metadata service; blocking indefinitely is unlikely as client errors occur; silent integrity failures require data access, which fails first.Final Answer:
Option B -> Option BQuick Check:
Metadata service absence causes unresolved object location errors [check]
Solution
Step 1: Analyze client compatibility and connectivity constraints
Mobile clients often have intermittent connectivity and limited support for gRPC streaming.Step 2: Evaluate streaming options
gRPC streaming (A) has limited mobile support; WebSockets (C) require complex reconnection; long polling (D) adds latency and overhead. SSE (B) supports automatic reconnection and is widely supported on mobile.Final Answer:
Option D -> Option DQuick Check:
HTTP/2 SSE balances latency and mobile client compatibility [check]
Solution
Step 1: Identify DAU Estimator role
DAU Estimator provides daily active user count critical for bandwidth calculations as bandwidth depends on total active users.Step 2: Eliminate other options
The system cannot estimate peak QPS, causing under-provisioning of servers is incorrect because peak QPS depends on instantaneous requests, not just DAU; Storage estimation becomes inaccurate because DAU is a key multiplier for daily data volume is partially true but storage depends more on total objects, not DAU alone; User authentication fails because DAU tracks active sessions is unrelated to authentication.Final Answer:
Option A -> Option AQuick Check:
Bandwidth depends directly on DAU for total data transfer [check]
Solution
Step 1: Analyze database scaling
Databases can be sharded and scaled horizontally; not usually the first bottleneck.Step 2: Analyze fan-out service scaling
Push-based fan-out causes write amplification proportional to follower count; at 10x scale, this bottleneck grows superlinearly and saturates first.Step 3: Analyze cache and web servers
Caches can be scaled with eviction and sharding; web servers scale with load balancers and stateless design.Final Answer:
Option A -> Option AQuick Check:
Fan-out write amplification causes first bottleneck at 10x scale [check]
