Practice
1. In an A/B testing platform for ML models, which component is responsible for ensuring that users are consistently assigned to the same variant across multiple sessions?
easy
Solution
Step 1: Identify the role of each component.
The Session Persistence Layer ensures consistent user assignment across sessions.Step 2: Eliminate wrong options.
Randomization Engine assigns variants initially, User Segmentation Module groups users, and Experiment Dashboard displays results.Final Answer:
Option D -> Option DQuick Check:
Session consistency needs persistence. [OK]
Hint: Session consistency needs persistence. [OK]
Common Mistakes:
2. For an ad click-through rate prediction model, which metric is most appropriate to optimize for business value?
easy
Solution
Step 1: Understand business objectives.
CTR prediction models need to balance true positive rate and false positive rate.Step 2: Eliminate wrong options.
Accuracy (A) doesn't account for class imbalance. Precision (B) and Recall (C) focus on one aspect of performance, not the trade-off.Final Answer:
Option C -> Option CQuick Check:
AUC-ROC balances trade-offs in CTR. [OK]
Hint: AUC-ROC balances trade-offs in CTR. [OK]
Common Mistakes:
3. In a news feed system designed for personalization at scale, which component is primarily responsible for filtering content based on user preferences?
easy
Solution
Step 1: Identify the role of each component
The Recommendation Engine is responsible for filtering and suggesting content based on user preferences.Step 2: Eliminate wrong options
A: Content Delivery Network is for content distribution, not personalization. C: Load Balancer manages traffic, not content filtering. D: Data Warehouse stores data, not directly involved in real-time personalization.Final Answer:
Option C -> Option CQuick Check:
Recommendation Engine filters content for users. [OK]
Hint: Recommendation Engine filters content for users. [OK]
Common Mistakes:
4. In a spam detection system, which feature is most likely to be effective in identifying spam emails?
easy
Solution
Step 1: Identify effective features for spam detection
Keywords like 'free', 'win', or 'prize' are often used in spam emails.Step 2: Eliminate less effective features
Email length (A) and time of day (D) are not strong indicators of spam. Sender's domain (C) can be spoofed.Final Answer:
Option B -> Option BQuick Check:
Keywords often signal spam. [OK]
Hint: Keywords often signal spam. [OK]
Common Mistakes:
5. In a semantic search system using a Bi-Encoder, what is a likely failure mode if the document embeddings are not updated regularly?
medium
Solution
Step 1: Identify the impact of outdated embeddings
Outdated embeddings can lead to decreased retrieval accuracy as they may not reflect current document content.Step 2: Eliminate wrong options
Increased computational cost and latency are not directly related to outdated embeddings, and overfitting is a training issue.Final Answer:
Option C -> Option CQuick Check:
Outdated embeddings = accuracy drop [check]
Hint: Outdated embeddings = accuracy drop [check]
Common Mistakes:
