Practice
Solution
Step 1: Identify the role of Politeness Policy Manager
This component enforces delays between requests to the same domain to prevent overloading servers.Step 2: Eliminate other options
Duplicate Detection filters URLs but does not control timing; Scheduler balances load but does not enforce domain-specific delays; URL Frontier queues URLs but lacks timing logic.Final Answer:
Option A -> Option AQuick Check:
Politeness Policy controls request timing per domain [check]
Solution
Step 1: Understand how tracing handles missing parent IDs
Spans without parent IDs are treated as root spans, starting new trace trees.Step 2: Eliminate other options
Discarding spans loses data unnecessarily; buffering indefinitely risks memory leaks; trace completeness requires all spans, so it's not complete yet.Final Answer:
Option B -> Option BQuick Check:
Missing parent ID -> new root span starts trace segment [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 need for immediate, atomic invalidation
Price updates require instant invalidation of all related pages to avoid stale data.Step 2: Evaluate strategies
Long TTL with manual purge delays invalidation; short TTL causes high cache misses; client-side headers don't guarantee server cache invalidation; surrogate keys enable atomic invalidation of related content.Final Answer:
Option A -> Option AQuick Check:
Surrogate keys enable atomic, immediate invalidation of related cache [check]
Solution
Step 1: Compare batch vs incremental indexing
Batch indexing has high latency, unsuitable for real-time queries. Incremental indexing supports near real-time updates.Step 2: Evaluate storage/query approaches
Querying raw pages or centralized DBs is too slow and unscalable for low latency search serving.Final Answer:
Option C -> Option CQuick Check:
Incremental indexing enables low-latency query serving [check]
