Practice
Solution
Step 1: Trace coordinator behavior at Step 4
The coordinator detects conflicting writes from partitions and cannot commit both safely.Step 2: Understand conflict resolution
It marks writes as conflicting and delays commit until partitions heal to avoid inconsistency.Final Answer:
Option A -> Option AQuick Check:
Coordinator defers conflicting writes until partition resolution [check]
Solution
Step 1: Identify ID generation constraints
Millions of IDs per second across multiple data centers require decentralized generation to avoid coordination delays.Step 2: Evaluate options for distributed uniqueness
Auto-increment IDs from a single node (A) cause bottlenecks; custom IDs from a global coordinator (C) add latency; auto-increment per data center (D) risks collisions. UUIDs (B) are globally unique without coordination.Final Answer:
Option A -> Option AQuick Check:
UUIDs enable decentralized unique ID generation [check]
Solution
Step 1: Evaluate manual review trade-offs
Manual peer review slows deployment but reduces risk of misconfiguration propagation.Step 2: Compare alternatives
Decentralized control (A) lacks oversight; centralized rollback (B) is ideal but may introduce complexity; consensus delays (D) add latency.Final Answer:
Option A -> Option AQuick Check:
Manual review trades speed for safety in rollback scenarios [check]
Solution
Step 1: Understand Ticket Server crash impact
If the server crashes post-allocation but pre-acknowledgment, it cannot confirm the block was assigned.Step 2: Trace ID block state
The allocated block is effectively lost, causing gaps in the global ID sequence, but clients do not reuse lost blocks, preventing duplicates.Final Answer:
Option B -> Option BQuick Check:
Crash after allocation -> lost ID blocks, no duplicates [check]
Solution
Step 1: Analyze scaling challenges
Health monitoring (The health monitoring system, due to increased frequency of health checks overwhelming it) scales with checks but can be optimized; control plane (The GSLB control plane, as it struggles to process and update routing decisions for all data centers in real-time) is distributed and designed for scale; ingress routers (The data center ingress routers, since network bandwidth scales linearly and saturates quickly) scale with network upgrades.Step 2: Identify DNS bottleneck
DNS servers face query volume spikes and caching TTLs limit failover responsiveness, making them the first to fail under 10x load.Final Answer:
Option D -> Option DQuick Check:
DNS query volume and caching limits cause first failure at scale [check]
