Practice
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 rename operation atomicity
Rename involves updating metadata entries; if crash occurs mid-update, partial state may persist.Step 2: Trace failure effect
Partial metadata update can cause both old and new filenames to appear, confusing clients.Final Answer:
Option D -> Option DQuick Check:
Partial metadata updates cause duplicate filenames visible to client [check]
Solution
Step 1: Identify proxy role for exposing internal services
A reverse proxy sits in front of internal servers, hides their details, and can terminate SSL for external clients.Step 2: Eliminate other options
Forward proxies act on clients, not servers; transparent proxies don't modify requests; DNS proxies only resolve names, not handle SSL or hide servers.Final Answer:
Option A -> Option AQuick Check:
Reverse proxy hides servers and terminates SSL [check]
Solution
Step 1: Analyze consistent hashing at large scale
With many nodes, virtual nodes and hash ring management become complex, causing imbalance and hotspots.Step 2: Compare other bottlenecks
Memory pressure grows but is mitigated by eviction; network saturation happens later; backing store is usually scaled independently.Final Answer:
Option A -> Option AQuick Check:
Consistent hashing imbalance causes cache node hotspots first [check]
Solution
Step 1: Analyze statefulness and scalability
Trie servers hold large in-memory state and are difficult to shard due to pointer-based node structures, limiting horizontal scaling.Step 2: Compare other components
Elasticsearch scales horizontally with shards; prefix hash map can be partitioned or replaced; client UI is less likely the first bottleneck at backend scale.Final Answer:
Option A -> Option AQuick Check:
Trie statefulness limits sharding -> bottleneck at scale [check]
