Practice
Solution
Step 1: Trace Delivery Worker decision at Step 4 -- subscriber ack delay
The worker waits for acknowledgement; if delayed beyond retry timeout, it escalates failure to alerting for manual intervention.Step 2: Eliminate other options
Marking as delivered without ack breaks reliability; deleting event loses data; scheduling retry is normal but after multiple failures escalation is needed.Final Answer:
Option A -> Option AQuick Check:
Delayed ack beyond retry timeout -> escalate alert [check]
Solution
Step 1: Understand lock table role at Step 4
The transaction manager uses the lock table to ensure no conflicting writes before commit.Step 2: Behavior on lock contention
If the lock is held, the transaction manager blocks to maintain serializability, waiting or timing out rather than aborting immediately or skipping checks.Final Answer:
Option B -> Option BQuick Check:
Lock contention causes blocking until release or timeout [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]
Solution
Step 1: Analyze scaling bottlenecks
Model storage (A) scales with caching; Kafka (C) can be scaled by adding partitions; load balancers (D) scale horizontally.Step 2: Identify CPU bottleneck in inference
Prediction API servers (B) perform CPU/GPU-bound inference; scaling is limited by hardware and model complexity, causing first failure under 10x load.Final Answer:
Option D -> Option DQuick Check:
Inference servers hit CPU/GPU limits before storage or Kafka scale [check]
Solution
Step 1: Identify bottlenecks in server-side discovery
API Gateway queries registry per request without caching, causing query amplification at scale.Step 2: Compare other components
Registry is centralized but can be scaled with sharding; microservices scale horizontally; load balancers handle instance scaling better than API Gateway query load.Final Answer:
Option C -> Option CQuick Check:
API Gateway query volume grows linearly causing first failure [check]
