Practice
1. In the context of recommendation systems, which of the following best describes collaborative filtering?
easy
Solution
Step 1: Understand collaborative filtering.
Collaborative filtering relies on user-item interaction data to make recommendations.Step 2: Eliminate wrong options.
Options A, B, and D describe content-based or demographic-based approaches, not collaborative filtering.Final Answer:
Option A -> Option AQuick Check:
Collaborative = user-item interactions [OK]
Hint: Collaborative = user-item interactions [OK]
Common Mistakes:
2. As the user base grows 10x, which component of a hate speech detection system is most likely to become a bottleneck?
hard
Solution
Step 1: Consider the impact of scale
With a 10x increase in users, the system must handle significantly more inference requests.Step 2: Eliminate wrong options
Data preprocessing and feature extraction are typically batch processes, and model training is not affected by user scale.Final Answer:
Option D -> Option DQuick Check:
10x users = Inference bottleneck [OK]
Hint: 10x users = Inference bottleneck [OK]
Common Mistakes:
3. As the data volume increases tenfold in an ML monitoring platform, which component is most likely to become a bottleneck first?
hard
Solution
Step 1: Analyze component scalability
The Drift Detection Module processes incoming data to identify changes, making it sensitive to data volume increases.Step 2: Consider computational load
Drift detection often involves statistical tests or complex calculations, which can become a bottleneck with large data volumes.Final Answer:
Option C -> Option CQuick Check:
Data increase = Drift bottleneck [OK]
Hint: Data increase = Drift bottleneck [OK]
Common Mistakes:
4. As the volume of emails increases 10x, which component of a spam detection system is most likely to fail first?
hard
Solution
Step 1: Consider scalability of components
Real-time inference engines often struggle with increased load due to latency constraints.Step 2: Eliminate components less affected by scale
Feature extraction (A) and data storage (D) can be scaled horizontally. Model training (B) is not real-time.Final Answer:
Option C -> Option CQuick Check:
Inference engines struggle with scale. [OK]
Hint: Inference engines struggle with scale. [OK]
Common Mistakes:
5. As the dataset size increases 10x in a FAISS-based vector search system, which component is most likely to become a bottleneck first?
hard
Solution
Step 1: Consider the impact of dataset size increase.
Index storage will grow significantly, potentially becoming a bottleneck.Step 2: Eliminate wrong options.
Search algorithm, dimensionality reduction, and quantization are less affected by size increase compared to storage.Final Answer:
Option A -> Option AQuick Check:
Index storage grows with dataset size. [OK]
Hint: Index storage grows with dataset size. [OK]
Common Mistakes:
