Practice
1. 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:
2. A bot detection system using device fingerprinting is failing to detect bots effectively. What is the most likely failure mode?
medium
Solution
Step 1: Identify the core issue with device fingerprinting.
Device fingerprints need frequent updates to remain effective against evolving bots.Step 2: Eliminate wrong options.
Behavioral models and IP reliance are not directly related to fingerprinting; user agent strings are not unique enough.Final Answer:
Option B -> Option BQuick Check:
Frequent updates needed for effective fingerprinting [OK]
Hint: Frequent updates needed for effective fingerprinting [OK]
Common Mistakes:
3. In an HNSW-based vector search system, what is a likely failure mode if the graph's maximum layer is not properly maintained?
medium
Solution
Step 1: Understand the role of the maximum layer.
The maximum layer affects traversal efficiency.Step 2: Eliminate wrong options.
Precision, recall, and memory usage are not directly affected by the maximum layer.Final Answer:
Option C -> Option CQuick Check:
Max layer affects traversal speed. [OK]
Hint: Max layer affects traversal speed. [OK]
Common Mistakes:
4. In a visual search system, what is a likely failure mode if the image embedding model is not properly trained?
medium
Solution
Step 1: Identify the impact of poor embeddings
Poorly trained embeddings lead to inaccurate retrieval because the vector representations don't capture image semantics well.Step 2: Eliminate wrong options
Latency, storage, and downtime are not directly affected by embedding quality.Final Answer:
Option B -> Option BQuick Check:
Poor embeddings = poor retrieval. [OK]
Hint: Poor embeddings = poor retrieval. [OK]
Common Mistakes:
5. As the user base of a Guardrails System for LLMs scales 10x, which component is most likely to become a bottleneck first?
hard
Solution
Step 1: Analyze component scalability
Content filtering must process each request, becoming a bottleneck as requests increase.Step 2: Eliminate wrong options
Feedback loops and model training are less frequent, and data storage scales more linearly.Final Answer:
Option D -> Option DQuick Check:
Content filtering scales with user requests. [OK]
Hint: Content filtering scales with user requests. [OK]
Common Mistakes:
