Practice
Solution
Step 1: Understand Composite Alert Processor behavior
The processor combines multiple alerts but must handle delayed inputs gracefully to avoid blocking.Step 2: TTL handling
When an input alert exceeds its TTL, it is considered stale; the processor evaluates the composite alert with the alerts it has rather than waiting indefinitely.Final Answer:
Option D -> Option DQuick Check:
Composite alert evaluates with stale inputs marked, not blocking indefinitely [check]
Solution
Step 1: Identify the role of the message queue
Kafka provides durable, partitioned logs that decouple producers from consumers, enabling high write throughput and ordered delivery per user.Step 2: Evaluate other options
Relational DB polling (A) can't handle 1M writes/sec efficiently; Redis (C) lacks durability and persistence guarantees; synchronous HTTP (D) blocks on delivery and doesn't scale.Final Answer:
Option D -> Option DQuick Check:
Kafka partitions by user ID -> durable, ordered fan-out [check]
Solution
Step 1: Understand Kafka's role in decoupling
Kafka buffers messages asynchronously, preventing blocking and enabling retries during outages.Step 2: Analyze failure without Kafka
Without Kafka, synchronous calls block sender until receiver responds; if receiver crashes, message is lost with no retry (B). However, buffering on client (C) is incorrect as buffering is server-side.Final Answer:
Option A -> Option AQuick Check:
No Kafka -> synchronous send blocks and message loss on receiver crash [check]
Solution
Step 1: Role of BGP monitoring
BGP monitoring detects anomalies and route changes; without it, routers may silently drop updates due to misconfigurations.Step 2: Eliminate other options
Delayed alerts (A) affect operators but don't cause silent drops; routers don't revert to static routes automatically (B); immediate client failover (D) unlikely without proper routing.Final Answer:
Option B -> Option BQuick Check:
Without monitoring, routers drop BGP updates silently causing partial visibility [check]
Solution
Step 1: Identify centralized token refill scheduler role
It coordinates token replenishment globally, requiring strong consistency and frequent updates.Step 2: Analyze scaling impact
At 10x scale, centralized scheduler becomes a contention bottleneck and latency hotspot, limiting throughput.Step 3: Compare other components
Distributed cache scales better with sharding; client-side buckets are local and scale naturally; network issues are secondary to scheduler bottleneck.Final Answer:
Option B -> Option BQuick Check:
Centralized scheduler bottlenecks first at scale [check]
