Practice
1. For a bot detection system using behavioral signals, which metric is most appropriate to optimize for minimizing false positives?
easy
Solution
Step 1: Understand the goal of minimizing false positives.
Precision is the metric that focuses on reducing false positives.Step 2: Eliminate wrong options.
Recall focuses on false negatives; F1 balances precision and recall; accuracy can be misleading with imbalanced data.Final Answer:
Option C -> Option CQuick Check:
Minimize false positives = optimize precision [OK]
Hint: Minimize false positives = optimize precision [OK]
Common Mistakes:
2. In the context of Ad Click-Through Rate Prediction, which component of the DLRM architecture is responsible for capturing interactions between dense and sparse features?
easy
Solution
Step 1: Identify the role of each component.
Embedding tables handle sparse features, fully connected layers process dense features, and batch normalization normalizes inputs.Step 2: Eliminate wrong options.
Embedding tables (A) and fully connected layers (C) do not specifically capture interactions. Batch normalization (D) is unrelated to feature interactions.Final Answer:
Option A -> Option AQuick Check:
Cross-product for interactions in DLRM. [OK]
Hint: Cross-product for interactions in DLRM. [OK]
Common Mistakes:
3. For a RAG system focused on improving user satisfaction, which metric should be prioritized?
easy
Solution
Step 1: Align metrics with business objectives.
User satisfaction is best measured by user engagement, reflecting how users interact with the system.Step 2: Eliminate wrong options.
Precision, recall, and F1 score are technical metrics that don't directly measure user satisfaction.Final Answer:
Option C -> Option CQuick Check:
User satisfaction = engagement. [OK]
Hint: User satisfaction = engagement. [OK]
Common Mistakes:
4. In a DLRM model for CTR prediction, what is a likely failure mode if the embedding dimension is too small?
medium
Solution
Step 1: Understand the role of embedding dimensions.
Small dimensions may not capture enough feature information.Step 2: Eliminate wrong options.
Overfitting (A) is unlikely with small dimensions. Latency (C) and gradient issues (D) are unrelated to embedding size.Final Answer:
Option B -> Option BQuick Check:
Small embeddings risk underfitting. [OK]
Hint: Small embeddings risk underfitting. [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:
