Practice
1. In an ad auction system, if the ads are not being displayed as expected, which failure mode is most likely?
medium
Solution
Step 1: Identify the symptom
If ads are not displayed as expected, latency in fetching user data can cause delays, leading to missed ad opportunities.Step 2: Eliminate wrong options
- Incorrect bid values: Affects ranking, not display.
- Data leakage: Affects model accuracy, not display.
- Overfitting: Affects model performance, not display timing.
Final Answer:
Option B -> Option BQuick Check:
Latency affects ad display timing. [OK]
Hint: Latency affects ad display timing. [OK]
Common Mistakes:
2. A hate speech detection model is suddenly showing a high false negative rate. What is the most likely cause?
medium
Solution
Step 1: Analyze the symptom
A high false negative rate often indicates that the model is not sensitive enough to positive samples.Step 2: Eliminate wrong options
Overfitting would increase false positives, a high learning rate causes instability, and incorrect feature extraction would affect all predictions.Final Answer:
Option A -> Option AQuick Check:
High false negatives = Imbalanced data [OK]
Hint: High false negatives = Imbalanced data [OK]
Common Mistakes:
3. In an LLM serving system, what is a likely failure mode if the KV Cache is not properly managed?
medium
Solution
Step 1: Identify the role of KV Cache.
KV Cache prevents redundant computations, reducing latency.Step 2: Eliminate wrong options.
Batching inefficiencies affect throughput, not KV Cache. Memory issues are possible but less direct. Speculative decoding affects accuracy, not KV Cache.Final Answer:
Option D -> Option DQuick Check:
KV Cache mismanagement leads to redundant computations. [OK]
Hint: KV Cache mismanagement leads to redundant computations. [OK]
Common Mistakes:
4. In a search ranking system, when should you prefer a learning-to-rank model over a traditional BM25 algorithm?
medium
Solution
Step 1: Assess the data and resource context
Learning-to-rank models excel with rich interaction data.Step 2: Evaluate the constraints
BM25 is better for small datasets, interpretability, and limited resources.Final Answer:
Option D -> Option DQuick Check:
Use learning-to-rank with rich interaction data. [OK]
Hint: Use learning-to-rank with rich interaction data. [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:
