Practice
1. An agent system fails to adapt to new tasks despite having a learning component. What is the most likely failure mode?
medium
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]
Hint: Adaptation failure often means overfitting. [OK]
Common Mistakes:
2. In a delivery forecasting system, when should you prefer using a simple linear regression model over a complex deep learning model?
medium
Solution
Step 1: Consider the trade-offs between model complexity and interpretability
Simple models are easier to interpret and explain.Step 2: Eliminate wrong options
Complex models are needed for large, complex datasets (A), non-linear patterns (C), and intricate dependencies (D).Final Answer:
Option B -> Option BQuick Check:
Choose simplicity for interpretability. [OK]
Hint: Choose simplicity for interpretability. [OK]
Common Mistakes:
3. 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:
4. A Two-Tower Model for Retrieval is underperforming. What is a likely failure mode if the user and item embeddings are not aligned?
medium
Solution
Step 1: Identify the impact of misaligned embeddings
Misaligned embeddings lead to inaccurate similarity scores, affecting retrieval performance.Step 2: Eliminate wrong options
The model overfits to the training data. is unrelated to embedding alignment. The model fails to generalize to unseen items. is more about item diversity. The model's training time increases significantly. is not directly caused by embedding misalignment.Final Answer:
Option A -> Option AQuick Check:
Misaligned embeddings cause inaccurate scores. [OK]
Hint: Misaligned embeddings cause inaccurate scores. [OK]
Common Mistakes:
5. As the number of users and ads increases tenfold in an ad auction system, which component is most likely to fail first?
hard
Solution
Step 1: Consider scale impact
With a tenfold increase in users and ads, the User Data Storage is likely to face capacity issues first due to the sheer volume of data.Step 2: Eliminate wrong options
- Ad Ranking Module: Computationally intensive but not storage-bound.
- Bid Management System: Handles bids, not directly affected by user volume.
- Network Bandwidth: Affects data transfer, but storage is a more immediate bottleneck.
Final Answer:
Option A -> Option AQuick Check:
Storage fails first with data volume increase. [OK]
Hint: Storage fails first with data volume increase. [OK]
Common Mistakes:
