Practice
1. For an agent system designed to optimize task completion time, which metric should be prioritized?
easy
Solution
Step 1: Understand the objective
The goal is to optimize task completion time, which relates to how quickly tasks are executed.Step 2: Match metrics to objectives
Latency measures the time delay in task execution, making it the relevant metric.Final Answer:
Option A -> Option AQuick Check:
Task time = Latency focus [OK]
Hint: Task time optimization = focus on latency. [OK]
Common Mistakes:
2. For a recommendation system using collaborative filtering, which metric is most appropriate to evaluate the model's performance?
easy
Solution
Step 1: Identify the goal of recommendation systems.
Recommendation systems aim to suggest relevant items, making precision a key metric.Step 2: Eliminate wrong options.
Accuracy is too generic, MSE is for regression, and recall focuses on finding all relevant items, not precision.Final Answer:
Option D -> Option DQuick Check:
Precision = relevant recommendations [OK]
Hint: Precision = relevant recommendations [OK]
Common Mistakes:
3. A bot detection system using device fingerprinting is failing to detect bots effectively. What is the most likely failure mode?
medium
Solution
Step 1: Identify the core issue with device fingerprinting.
Device fingerprints need frequent updates to remain effective against evolving bots.Step 2: Eliminate wrong options.
Behavioral models and IP reliance are not directly related to fingerprinting; user agent strings are not unique enough.Final Answer:
Option B -> Option BQuick Check:
Frequent updates needed for effective fingerprinting [OK]
Hint: Frequent updates needed for effective fingerprinting [OK]
Common Mistakes:
4. In a search ranking system, when should you prefer a learning-to-rank model over a traditional BM25 algorithm?
medium
Solution
Step 1: Assess the data and resource context
Learning-to-rank models excel with rich interaction data.Step 2: Evaluate the constraints
BM25 is better for small datasets, interpretability, and limited resources.Final Answer:
Option D -> Option DQuick Check:
Use learning-to-rank with rich interaction data. [OK]
Hint: Use learning-to-rank with rich interaction data. [OK]
Common Mistakes:
5. As a recommendation system using neural collaborative filtering scales to 10x more users, which component is most likely to become a bottleneck?
hard
Solution
Step 1: Consider the impact of scaling on neural CF.
Increased data volume significantly affects model training time.Step 2: Eliminate wrong options.
Options A and D are less likely bottlenecks as storage and feature extraction can be optimized. Real-time recommendation latency. is affected but not as critically as training time.Final Answer:
Option A -> Option AQuick Check:
Scaling = training time bottleneck [OK]
Hint: Scaling = training time bottleneck [OK]
Common Mistakes:
