Practice
1. In a production-scale embedding pipeline for text data, which component is responsible for converting raw text into numerical vectors?
easy
Solution
Step 1: Identify the role of each component.
The Tokenizer is responsible for converting raw text into tokens, which are then converted into numerical vectors.Step 2: Eliminate wrong options.
Data Loader handles data input, Feature Extractor processes features but not directly from raw text, and Batch Normalizer normalizes data batches.Final Answer:
Option C -> Option CQuick Check:
Tokenizer converts text to tokens. [OK]
Hint: Tokenizer converts text to tokens. [OK]
Common Mistakes:
2. For a fraud detection system, which metric is most appropriate to optimize for minimizing false positives?
easy
Solution
Step 1: Understand the impact of false positives.
Minimizing false positives means correctly identifying non-fraudulent transactions.Step 2: Choose the metric that reflects this goal.
Precision is the metric that focuses on reducing false positives.Final Answer:
Option C -> Option CQuick Check:
Precision reduces false positives. [OK]
Hint: Precision reduces false positives. [OK]
Common Mistakes:
3. For a learning to rank system, which metric is most appropriate to evaluate the quality of the ranking?
easy
Solution
Step 1: Identify the metric that evaluates ranking quality.
NDCG is specifically designed to evaluate the quality of rankings.Step 2: Eliminate wrong options.
MSE is for regression, precision and recall are for classification, not ranking.Final Answer:
Option A -> Option AQuick Check:
NDCG = ranking quality [OK]
Hint: NDCG = ranking quality [OK]
Common Mistakes:
4. In an A/B testing platform, what is a likely failure mode if the randomization engine is not functioning correctly?
medium
Solution
Step 1: Identify the role of the randomization engine.
It ensures unbiased assignment of users to variants.Step 2: Eliminate wrong options.
Session persistence handles consistent assignment, tracking is separate, and dashboard updates are unrelated.Final Answer:
Option A -> Option AQuick Check:
Randomization ensures unbiased results. [OK]
Hint: Randomization ensures unbiased results. [OK]
Common Mistakes:
5. As the number of transactions increases tenfold, which component of a real-time fraud detection system is most likely to fail first?
hard
Solution
Step 1: Consider the impact of increased transaction volume.
Increased volume stresses components handling real-time processing.Step 2: Identify the bottleneck.
The real-time scoring engine is most likely to struggle with increased load.Final Answer:
Option A -> Option AQuick Check:
Real-time engine struggles with high load. [OK]
Hint: Real-time engine struggles with high load. [OK]
Common Mistakes:
