Practice
1. For a multimodal embedding pipeline, which metric is most appropriate to evaluate the alignment between text and image embeddings?
easy
Solution
Step 1: Understand the evaluation goal.
We need to evaluate the alignment between embeddings, which is best measured by similarity metrics.Step 2: Eliminate wrong options.
Accuracy and Precision are classification metrics, and Mean Squared Error is for regression, not similarity.Final Answer:
Option D -> Option DQuick Check:
Cosine Similarity measures alignment. [OK]
Hint: Cosine Similarity measures alignment. [OK]
Common Mistakes:
2. In the context of an ML monitoring platform, which component is primarily responsible for identifying when the input data distribution has changed significantly?
easy
Solution
Step 1: Identify the role of each component
The Drift Detection Module is specifically designed to monitor changes in data distribution.Step 2: Eliminate wrong options
Alerting System notifies about issues, Retraining Scheduler handles model updates, and Model Evaluation Component assesses model performance.Final Answer:
Option D -> Option DQuick Check:
Drift Detection = Data Change [OK]
Hint: Drift Detection = Data Change [OK]
Common Mistakes:
3. In a scenario where model accuracy is critical, which approach should be avoided to prevent potential accuracy degradation?
medium
Solution
Step 1: Understand the impact on accuracy.
Speculative Decoding can introduce errors by predicting future tokens.Step 2: Eliminate wrong options.
Batching and KV Cache do not inherently affect accuracy. Model Pruning reduces model size but can be controlled to maintain accuracy.Final Answer:
Option B -> Option BQuick Check:
Speculative Decoding risks accuracy for speed. [OK]
Hint: Speculative Decoding risks accuracy for speed. [OK]
Common Mistakes:
4. 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:
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:
