Practice
1. For an ad auction system aiming to maximize revenue, which metric should be optimized?
easy
Solution
Step 1: Align metric with objective
To maximize revenue, the system should optimize for Expected Revenue, which considers both CTR and bid amounts.Step 2: Eliminate wrong options
- Click-through Rate (CTR): Measures engagement, not directly linked to revenue.
- Conversion Rate: Focuses on post-click actions, not directly on revenue.
- Ad Impressions: Measures visibility, not revenue.
Final Answer:
Option D -> Option DQuick Check:
Optimize Expected Revenue for revenue goals. [OK]
Hint: Optimize Expected Revenue for revenue goals. [OK]
Common Mistakes:
2. In the context of agent system design, which component is primarily responsible for deciding the sequence of actions to achieve a goal?
easy
Solution
Step 1: Identify the role of each component
Planning is responsible for deciding the sequence of actions to achieve a goal.Step 2: Eliminate wrong options
Memory Architecture is for storing information, Tool Use is for executing actions, and Data Preprocessing is unrelated to action sequencing.Final Answer:
Option B -> Option BQuick Check:
Planning = action sequence decision [OK]
Hint: Planning decides action sequences. [OK]
Common Mistakes:
3. In a visual search system using image embeddings, which component is responsible for transforming images into a fixed-size vector representation?
easy
Solution
Step 1: Identify the role of each component
The image embedding model is responsible for converting images into vector representations.Step 2: Eliminate wrong options
ANN index is for searching, serving layer is for delivering results, and database storage is for storing data.Final Answer:
Option C -> Option CQuick Check:
Embeddings come from the embedding model. [OK]
Hint: Embeddings come from the embedding model. [OK]
Common Mistakes:
4. As a content-based filtering system scales to 10x more items, which component is most likely to become a bottleneck?
hard
Solution
Step 1: Analyze scaling impact
Scaling to more items increases the demand for computing and updating item embeddings, making it a potential bottleneck.Step 2: Eliminate wrong options
A: User profile storage scales with users, not items. C: Recommendation generation is more affected by user scale. D: Interaction logging is more about user activity than item count.Final Answer:
Option A -> Option AQuick Check:
More items strain embedding computation. [OK]
Hint: More items strain embedding computation. [OK]
Common Mistakes:
5. As the data volume increases tenfold in an ML monitoring platform, which component is most likely to become a bottleneck first?
hard
Solution
Step 1: Analyze component scalability
The Drift Detection Module processes incoming data to identify changes, making it sensitive to data volume increases.Step 2: Consider computational load
Drift detection often involves statistical tests or complex calculations, which can become a bottleneck with large data volumes.Final Answer:
Option C -> Option CQuick Check:
Data increase = Drift bottleneck [OK]
Hint: Data increase = Drift bottleneck [OK]
Common Mistakes:
