Practice
Solution
Step 1: Identify durability requirement
Durability requires persistent storage that survives crashes, ruling out volatile caches.Step 2: Match component to durability
Amazon S3 provides distributed, durable storage with replication and fault tolerance, fitting the requirement.Final Answer:
Option D -> Option DQuick Check:
Persistent storage ensures data survives crashes [check]
Solution
Step 1: Identify zero downtime requirement
Blue-Green deployment uses two identical environments and switches traffic instantly, ensuring zero downtime.Step 2: Eliminate other options
Canary is gradual, not instant; Feature flags don't switch entire environments; Rolling updates cause partial downtime.Final Answer:
Option D -> Option DQuick Check:
Blue-Green switches environments instantly for zero downtime [check]
Solution
Step 1: Role of consistent hashing ring metadata
The ring metadata maps keys to nodes; without it, nodes cannot route requests correctly, leading to inconsistent data placement.Step 2: Consequence of missing ring metadata
Without this metadata, nodes lose synchronization on key ownership, causing data corruption as writes go to wrong nodes; request failure (The cache node receiving the request cannot determine the correct node, causing request failure or indefinite retry) is secondary, and fallback (The system falls back to a centralized database for all requests, increasing latency) is not automatic.Final Answer:
Option A -> Option AQuick Check:
Missing ring metadata causes data corruption due to lost key-node mapping [check]
Solution
Step 1: Analyze team size and feature velocity constraints
Small teams benefit from simpler architectures to reduce overhead and speed delivery.Step 2: Evaluate operational complexity of microservices
Microservices add deployment and operational complexity, which can slow small teams.Final Answer:
Option B -> Option BQuick Check:
Monolith reduces complexity, speeds delivery for small teams [check]
Solution
Step 1: Understand TCP head-of-line blocking impact
TCP guarantees ordered delivery, so packet loss stalls all streams multiplexed on the connection until retransmission completes.Step 2: Eliminate incorrect failure modes
Only one stream stalling is false due to TCP ordering; connection reset or fallback does not happen automatically.Final Answer:
Option A -> Option AQuick Check:
TCP loss stalls all HTTP/2 streams due to head-of-line blocking [check]
