Practice
Solution
Step 1: Identify the role of each component
Collaborative and content-based filtering focus on user preferences, while diversity re-ranking ensures varied content.Step 2: Eliminate wrong options
Collaborative filtering (A) and content-based filtering (B) do not inherently ensure diversity. User profiling (D) focuses on understanding user preferences, not diversity.Final Answer:
Option B -> Option BQuick Check:
Diversity re-ranking ensures varied content [OK]
Solution
Step 1: Identify the component's role.
KV Cache stores key-value pairs from previous computations to avoid redundant calculations.Step 2: Eliminate wrong options.
Batching reduces overhead by processing multiple requests together, not by reusing computations. Speculative Decoding predicts future tokens, not reuse. Load Balancer distributes requests, unrelated to computation reuse.Final Answer:
Option C -> Option CQuick Check:
KV Cache reuses computations to cut latency. [OK]
Solution
Step 1: Identify the symptom
If ads are not displayed as expected, latency in fetching user data can cause delays, leading to missed ad opportunities.Step 2: Eliminate wrong options
- Incorrect bid values: Affects ranking, not display.
- Data leakage: Affects model accuracy, not display.
- Overfitting: Affects model performance, not display timing.
Final Answer:
Option B -> Option BQuick Check:
Latency affects ad display timing. [OK]
Solution
Step 1: Identify symptoms
The system fails to adapt, indicating a learning issue.Step 2: Analyze potential causes
Overfitting to initial tasks prevents generalization to new tasks, while other options relate to different issues.Final Answer:
Option C -> Option CQuick Check:
Adaptation failure = Overfitting issue [OK]
Solution
Step 1: Analyze the impact of data scale on Isolation Forest.
As data increases, the depth of trees in the Isolation Forest can increase, leading to longer training times.Step 2: Eliminate wrong options.
Memory usage due to storing more trees. is incorrect because memory usage is more affected by the number of trees, not directly by data scale. Inference time due to increased number of features. is incorrect because inference time is less affected by feature count in Isolation Forests. Data preprocessing time due to feature scaling. is incorrect because feature scaling is a preprocessing step that doesn't scale linearly with data size.Final Answer:
Option A -> Option AQuick Check:
10x data = tree depth increases, training slows [OK]
