Practice
Solution
Step 1: Identify CAP constraints
During network partitions, a system must choose between consistency and availability.Step 2: Match system behavior
AP systems prioritize availability and partition tolerance, allowing stale reads but remaining operational.Final Answer:
Option D -> Option DQuick Check:
AP systems allow availability during partitions with eventual consistency [check]
Solution
Step 1: Identify TLS handshake role
The TLS handshake is responsible for negotiating encryption parameters and performing cryptographic operations to secure the connection.Step 2: Eliminate other options
The web application server performing manual encryption of HTTP payloads is incorrect because manual encryption by the app server is inefficient and not standard. The client browser encrypting data before sending HTTP requests is incorrect because the client does not perform the handshake encryption workload; it participates but the server's TLS library handles the cryptographic operations. The DNS server resolving domain names to IP addresses is unrelated to encryption.Final Answer:
Option A -> Option AQuick Check:
TLS handshake handles encryption setup on server side [check]
Solution
Step 1: Identify rate limiting with burst support
The token bucket algorithm allows tokens to accumulate up to a max bucket size, enabling bursts beyond the steady refill rate.Step 2: Eliminate other options
Fixed window counters cause spikes at window boundaries and don't handle bursts well. Leaky bucket smooths traffic but disallows bursts. Simple queues drop excess requests without rate control.Final Answer:
Option D -> Option DQuick Check:
Token bucket allows bursts by token accumulation [check]
Solution
Step 1: Understand DLQ role in failure isolation
Without DLQ, failed messages remain in the main queue causing retries that block subsequent messages.Step 2: Evaluate failure outcomes
Silent drops (A) lose data; automatic routing (C) requires DLQ logic; synchronous fallback (D) is not automatic.Final Answer:
Option A -> Option AQuick Check:
No DLQ -> retries block main queue causing backpressure [check]
Solution
Step 1: Analyze scaling impact on components
Downstream service (A) is protected by circuit breaker; load balancer (C) scales horizontally; client cache (D) is local and less critical.Step 2: Identify circuit breaker state store bottleneck
Centralized state store for circuit breaker metrics faces contention and latency at 10x concurrency, causing delays and incorrect breaker states.Final Answer:
Option B -> Option BQuick Check:
Centralized circuit breaker state store bottlenecks first at scale [check]
