Practice
Solution
Step 1: Identify eviction based on time expiration
TTL eviction removes cache entries strictly after a fixed time, independent of access patterns.Step 2: Eliminate other policies
LRU and LFU depend on access recency or frequency, not fixed time. ARC adapts between recency and frequency but does not enforce fixed expiration.Final Answer:
Option C -> Option CQuick Check:
TTL evicts by fixed time, ignoring usage patterns [check]
Solution
Step 1: Identify the role of consistent hashing
Consistent hashing distributes keys to nodes such that when nodes join or leave, only a small subset of keys need reassignment, minimizing reshuffling.Step 2: Eliminate other components
Vector clocks handle version conflicts but do not distribute keys. Gossip protocol manages cluster membership but not key distribution. Quorum replication ensures durability but does not affect key assignment.Final Answer:
Option C -> Option CQuick Check:
Consistent hashing minimizes key remapping on node changes [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: Identify scaling bottlenecks
Central metadata service (The central shard metadata service, due to increased coordination overhead) may be distributed or avoided; shards (The individual database shards, because storage capacity limits are reached first) scale horizontally; client caches (The client-side routing cache, as it cannot handle the increased number of shards efficiently) can be sharded or refreshed incrementally.Step 2: Analyze hash ring management at scale
Hash ring management (The hash ring management service, because updating and propagating ring changes becomes a bottleneck) requires updating and propagating ring changes to all nodes; at 10x scale, this coordination overhead and update frequency cause it to become the first bottleneck.Final Answer:
Option C -> Option CQuick Check:
Hash ring updates bottleneck first at large scale [check]
Solution
Step 1: Identify bottlenecks at 10x scale
Kafka brokers manage partitions and leader elections; more partitions increase coordination overhead.Step 2: Compare other components
Storage and enrichment scale horizontally; ingestion APIs are stateless and can be scaled with load balancers.Final Answer:
Option A -> Option AQuick Check:
Kafka leader election latency grows with partitions -> first bottleneck [check]
