Practice
1. 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:
2. For a Guardrails System in LLMs, which metric is most appropriate to evaluate the effectiveness of content moderation?
easy
Solution
Step 1: Understand the importance of balance
F1 Score balances precision and recall, crucial for content moderation.Step 2: Eliminate wrong options
Accuracy doesn't account for class imbalance, precision alone ignores false negatives, and recall alone ignores false positives.Final Answer:
Option A -> Option AQuick Check:
F1 Score balances precision and recall. [OK]
Hint: F1 Score balances precision and recall. [OK]
Common Mistakes:
3. Which metric is most appropriate for evaluating the performance of a Two-Tower Model for Retrieval?
easy
Solution
Step 1: Identify the goal of the retrieval model
The goal is to rank items effectively for users, making ranking metrics like Precision at K suitable.Step 2: Eliminate wrong options
Mean Squared Error (MSE) (MSE) is for regression tasks. F1 Score (F1 Score) is for classification tasks. Log Loss (Log Loss) is also for classification tasks.Final Answer:
Option D -> Option DQuick Check:
Use ranking metrics like Precision at K. [OK]
Hint: Use ranking metrics like Precision at K. [OK]
Common Mistakes:
4. In a recommendation system designed to avoid filter bubbles, what is a likely failure mode if the diversity re-ranking layer is not properly tuned?
medium
Solution
Step 1: Identify the impact of poor tuning
Poor tuning can lead to irrelevant recommendations, reducing user engagement.Step 2: Eliminate wrong options
Increased computational cost (A) and latency (D) are technical issues, not directly related to user engagement. Overfitting (C) is more about personalization than diversity.Final Answer:
Option A -> Option AQuick Check:
Poor tuning reduces engagement due to irrelevant content [OK]
Hint: Poor tuning reduces engagement due to irrelevant content [OK]
Common Mistakes:
5. As the data scale increases by 10x in an anomaly detection system using Isolation Forest, which component is most likely to become a bottleneck?
hard
Solution
Step 1: Analyze the impact of data scale on Isolation Forest.
As data increases, the depth of trees in the Isolation Forest can increase, leading to longer training times.Step 2: Eliminate wrong options.
Memory usage due to storing more trees. is incorrect because memory usage is more affected by the number of trees, not directly by data scale. Inference time due to increased number of features. is incorrect because inference time is less affected by feature count in Isolation Forests. Data preprocessing time due to feature scaling. is incorrect because feature scaling is a preprocessing step that doesn't scale linearly with data size.Final Answer:
Option A -> Option AQuick Check:
10x data = tree depth increases, training slows [OK]
Hint: 10x data = tree depth increases, training slows [OK]
Common Mistakes:
