Practice
Solution
Step 1: Understand failure handling at Application Processor
Transient DB errors should not block user workflow or cause permanent failure.Step 2: Evaluate options
Immediate retry blocking (A) hurts latency; skipping update (C) loses data; rolling back entire submission (D) is heavy-handed. Queuing for async retry (B) ensures eventual consistency without blocking.Final Answer:
Option B -> Option BQuick Check:
Async retry decouples transient failures from user flow [check]
Solution
Step 1: Understand hash function independence role
Independent hash functions distribute bits uniformly; correlated hashes cause clustering.Step 2: Trace effect of correlated hashes
Correlated hashes set overlapping bits, saturating the bit array faster, increasing false positives and reducing filter effectiveness.Final Answer:
Option A -> Option AQuick Check:
Correlated hashes cause bit array saturation, raising false positives [check]
Solution
Step 1: Understand Kafka unavailability impact
Without Kafka, ingestion of new document updates cannot proceed, causing blocking or stalling.Step 2: Evaluate options
Indexing workers do not have local caches of events (A) and cannot continue processing. Automatic failover to a backup queue with identical ordering (C) is a designed mitigation. Index corruption (D) does not happen immediately; missing events cause stale results but not corruption.Final Answer:
Option A -> Option AQuick Check:
Failover to backup queue prevents pipeline stall [check]
Solution
Step 1: Trace message flow without Kafka
Without Kafka, Chat Server A must synchronously contact Bob's server. If Bob's server is slow, Alice's send blocks; if Bob's server crashes, no retry or persistence exists.Step 2: Eliminate unrelated failure modes
Encryption issues (A) unrelated to Kafka. Duplication (C) and UI false delivery (D) are mitigated by Kafka's ordering and delivery semantics but not the primary failure here.Final Answer:
Option A -> Option AQuick Check:
No Kafka -> synchronous send blocks and message loss on Bob crash [check]
Solution
Step 1: Identify bottleneck under high concurrency
Lock manager handles concurrency control; at 10x load, lock contention increases exponentially.Step 2: Compare other components
Query optimizer scales well with caching; storage and network scale with hardware upgrades; lock manager contention is harder to mitigate.Final Answer:
Option C -> Option CQuick Check:
Lock manager contention -> first bottleneck at high transaction scale [check]
