Practice
Solution
Step 1: Identify Consistency role
Consistency ensures database state adheres to all defined rules and constraints after transaction commits.Step 2: Differentiate from other ACID properties
Atomicity ensures all-or-nothing commit, Isolation controls concurrent access, Durability ensures persistence, but only Consistency enforces business rules.Final Answer:
Option A -> Option AQuick Check:
Consistency enforces schema and business rules post-commit [check]
Solution
Step 1: Analyze centralized vs distributed scheduling
Centralized Scheduler becomes a bottleneck at scale; distributed sharding allows parallelism and localized politeness enforcement.Step 2: Evaluate other options
Independent crawlers without shared politeness risk domain overload; single-threaded crawler can't scale to millions of domains.Final Answer:
Option B -> Option BQuick Check:
Distributed sharding enables scalable politeness enforcement [check]
Solution
Step 1: Understand health monitor role
The health monitor informs GSLB which data centers are healthy; without it, GSLB cannot avoid unhealthy endpoints.Step 2: Analyze failure impact
Without health info, GSLB routes users to unhealthy data centers causing failures (Users are routed to unhealthy data centers causing request failures or timeouts). Increased latency (Users experience increased latency due to rerouting through backup data centers) or DNS failures (DNS queries fail to resolve, causing complete service outage) are indirect or unlikely. Even traffic distribution (Traffic is evenly distributed regardless of data center health, causing overload) ignores health but is less precise than routing to unhealthy nodes.Final Answer:
Option A -> Option AQuick Check:
Silent health monitor failure -> routing to unhealthy data centers [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: Understand role of Global Traffic Manager in failover
It dynamically routes traffic away from failed CDNs. Without it, failover must be handled elsewhere.Step 2: Trace failure without Global Traffic Manager
Origin server may attempt to redirect traffic, but this adds latency and is less dynamic than traffic manager.Step 3: Eliminate other options
Automatic client failover (A) requires client intelligence not assumed here. Clients sending to failed CDN (B) is possible but less likely if origin redirects. Edge caches (D) do not replicate across CDNs automatically.Final Answer:
Option A -> Option AQuick Check:
Without traffic manager, origin server redirects traffic causing latency and partial failover [check]
