Practice
1. A company wants to conduct a post-mortem after a major outage without blaming individuals, focusing on systemic issues and actionable improvements. Which component best supports this blameless culture approach?
easy
Solution
Step 1: Identify blameless culture requirements
The approach requires neutral, factual event capture without assigning blame to individuals.Step 2: Evaluate components for neutrality and actionability
A structured timeline tool capturing events and decisions neutrally provides a structured timeline tool that records events and decisions neutrally, enabling root cause analysis without blame.Final Answer:
Option C -> Option CQuick Check:
Neutral event timelines enable blameless post-mortems [check]
Hint: Blameless means neutral facts, not blame assignment [check]
Common Mistakes:
2. A system must handle millions of read requests per second with minimal latency, while writes are less frequent but must remain consistent. Which component best handles the read load without impacting write performance?
easy
Solution
Step 1: Identify read-heavy load handling
Read replicas offload read queries from the primary, reducing contention and latency.Step 2: Evaluate other options
Use a single primary SQL database with read-write locks to serialize access serializes access, causing bottlenecks; Use a distributed cache with eventual consistency for all reads and writes sacrifices consistency; Implement synchronous replication to all nodes and direct reads to any node synchronous replication increases write latency.Final Answer:
Option C -> Option CQuick Check:
Read replicas serve reads without blocking writes [check]
Hint: Read replicas scale reads, primary handles writes [check]
Common Mistakes:
3. At 10x scale, which component is most likely to fail first due to stateful connection limits, and why?
hard
Solution
Step 1: Identify stateful bottleneck
Chat servers maintain WebSocket connections bound to server memory, limiting horizontal scaling and resharding.Step 2: Compare other components
Database (A) can be scaled with sharding; message queue (C) partitions can be increased; load balancer (D) scales horizontally.Step 3: Explain failure mechanism
WebSocket statefulness causes connection limits per server, leading to failure under 10x load.Final Answer:
Option A -> Option AQuick Check:
Stateful WebSocket limits -> chat servers fail first at scale [check]
Hint: Stateful WebSockets limit scaling; stateless scale easier [check]
Common Mistakes:
4. At 10x scale, which component in the recommendation system is most likely to fail first due to stateful connection limits, and why?
hard
Solution
Step 1: Identify bottleneck at 10x scale
Kafka partitions limit throughput; increasing partitions is complex and causes rebalancing overhead.Step 2: Evaluate other components
Embedding DB (A) can shard by user ID; API servers (C) are typically stateless or use external session stores; embedding service caches (D) can be evicted or sharded. Kafka's partition limit causes producer backpressure and stalls event flow first.Final Answer:
Option A -> Option AQuick Check:
Kafka partition limit -> throughput bottleneck -> backpressure [check]
Hint: Kafka partitions limit throughput first at scale [check]
Common Mistakes:
5. At 10x scale, which component in an HTTP/3 deployment is most likely to become the bottleneck first and why?
hard
Solution
Step 1: Identify HTTP/3 transport and encryption
HTTP/3 uses QUIC over UDP with built-in TLS encryption per connection, increasing CPU load for handshake and encryption at scale.Step 2: Eliminate other bottlenecks
UDP packet loss is network-level, not server bottleneck; WebSockets are not natively supported by HTTP/3 but unrelated to scaling HTTP/3 itself; HTTP/3 does not use TCP.Final Answer:
Option B -> Option BQuick Check:
QUIC's per-connection TLS handshake CPU load limits HTTP/3 scale [check]
Hint: QUIC TLS handshake CPU load limits HTTP/3 scale first [check]
Common Mistakes:
