Practice
1. For an agent system designed to optimize task completion time, which metric should be prioritized?
easy
Solution
Step 1: Understand the objective
The goal is to optimize task completion time, which relates to how quickly tasks are executed.Step 2: Match metrics to objectives
Latency measures the time delay in task execution, making it the relevant metric.Final Answer:
Option A -> Option AQuick Check:
Task time = Latency focus [OK]
Hint: Task time optimization = focus on latency. [OK]
Common Mistakes:
2. For a news feed system aiming to improve user engagement, which metric should be prioritized?
easy
Solution
Step 1: Align metrics with business goals
CTR directly measures user engagement by tracking how often users click on recommended content.Step 2: Eliminate wrong options
B: Page Load Time affects user experience but not engagement directly. C: Server Uptime is about reliability, not engagement. D: Data Storage Cost is a financial metric, not related to user engagement.Final Answer:
Option A -> Option AQuick Check:
CTR measures user engagement directly. [OK]
Hint: CTR measures user engagement directly. [OK]
Common Mistakes:
3. A Two-Tower Model for Retrieval is underperforming. What is a likely failure mode if the user and item embeddings are not aligned?
medium
Solution
Step 1: Identify the impact of misaligned embeddings
Misaligned embeddings lead to inaccurate similarity scores, affecting retrieval performance.Step 2: Eliminate wrong options
The model overfits to the training data. is unrelated to embedding alignment. The model fails to generalize to unseen items. is more about item diversity. The model's training time increases significantly. is not directly caused by embedding misalignment.Final Answer:
Option A -> Option AQuick Check:
Misaligned embeddings cause inaccurate scores. [OK]
Hint: Misaligned embeddings cause inaccurate scores. [OK]
Common Mistakes:
4. 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:
5. As the number of users and items increases in a session-based recommendation system, which component is likely to become a bottleneck first?
hard
Solution
Step 1: Consider scaling impacts
Real-time inference latency often becomes a bottleneck as the system scales, due to increased computational demands.Step 2: Eliminate less likely bottlenecks
Model training time and data storage can be managed with batch processing and scalable storage solutions; feature extraction is typically pre-computed.Final Answer:
Option C -> Option CQuick Check:
Inference latency scales poorly. [OK]
Hint: Inference latency scales poorly. [OK]
Common Mistakes:
