Practice
Solution
Step 1: Analyze chunked storage with immutable chunks
This approach enables efficient caching, deduplication, and cheap versioning by reusing unchanged chunks.Step 2: Eliminate other options
Key-value stores struggle with large blobs and synchronous replication adds latency; network file systems have locking bottlenecks; relational DBs are inefficient for large binary data.Final Answer:
Option C -> Option CQuick Check:
Chunked immutable storage optimizes cost and versioning [check]
Solution
Step 1: Understand Kafka's role in event streaming
Kafka buffers and reliably delivers connection events to downstream services asynchronously.Step 2: Trace failure impact
If Kafka is down, writes to Kafka fail but connection requests may still be accepted at the API layer; however, downstream consumers do not get updates, causing stale graph state.Final Answer:
Option D -> Option DQuick Check:
Kafka down -> downstream stale, no immediate request loss [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: Identify Write-Through bottleneck
Write-Through synchronously writes to DB on every write, increasing DB load linearly with scale.Step 2: Compare other components
Cache handles fast reads; network bandwidth usually sufficient; app servers block but DB saturation causes overall failure first.Final Answer:
Option C -> Option CQuick Check:
DB synchronous writes bottleneck Write-Through at scale [check]
Solution
Step 1: Identify idempotency store workload at scale
Idempotency store must synchronously write and read keys with strong consistency, creating a high throughput bottleneck.Step 2: Compare other components
Payment processors can be scaled horizontally; API gateways are stateless and scalable; client SDKs generating keys is lightweight.Final Answer:
Option D -> Option DQuick Check:
Synchronous idempotency store writes limit scaling first [check]
