Practice
Solution
Step 1: Understand parallelism vs ordering
Using multiple consumer groups increases parallelism but does not guarantee ordering per session.Step 2: Identify ordering guarantee
Partitioning messages by user session key ensures ordering within partitions.Final Answer:
Option C -> Option CQuick Check:
Multiple consumer groups increase throughput but ordering per session requires partitioning [check]
Solution
Step 1: Understand the role of the Error Budget Calculator at step 4
It updates the remaining error budget by subtracting the recent error rate from the total allowed errors, reflecting current SLO compliance.Step 2: Exclude other states that contradict error budget tracking logic
Resetting the budget ignores recent errors; queuing is done later by alerting; discarding counts would lose accuracy.Final Answer:
Option D -> Option DQuick Check:
Error Budget Calculator updates remaining budget after aggregation [check]
Solution
Step 1: Evaluate embedding rules in code (A) and binaries (D)
Both require redeployment or restart on rule changes, causing downtime or latency spikes.Step 2: Assess querying rules synchronously (C)
Querying rules synchronously adds latency and risk of inconsistent rule versions during scoring.Step 3: Consider external rule engine with hot-reload (B)
This allows dynamic rule updates without downtime and low latency via caching and efficient evaluation.Final Answer:
Option B -> Option BQuick Check:
External hot-reload rule engine -> dynamic updates, low latency [check]
Solution
Step 1: Understand Redis unavailability impact
Without Redis, the centralized counter is unreachable, so rate limiting cannot be enforced.Step 2: Check fallback behavior
Most implementations allow requests to proceed without rate limiting to avoid blocking, risking overload.Final Answer:
Option A -> Option AQuick Check:
Redis down -> no rate limiting -> requests allowed unchecked [check]
Solution
Step 1: Identify centralization bottleneck
The Ticket Server centrally allocates ID blocks and maintains allocation state, limiting horizontal scaling.Step 2: Compare other components
Clients scale horizontally; network scales with infrastructure; database load is less critical if Ticket Server caches state.Final Answer:
Option A -> Option AQuick Check:
Ticket Server centralization -> first bottleneck at 10x scale [check]
