Practice
1. An agent system fails to adapt to new tasks despite having a learning component. What is the most likely failure mode?
medium
Solution
Step 1: Identify symptoms
The system fails to adapt, indicating a learning issue.Step 2: Analyze potential causes
Overfitting to initial tasks prevents generalization to new tasks, while other options relate to different issues.Final Answer:
Option C -> Option CQuick Check:
Adaptation failure = Overfitting issue [OK]
Hint: Adaptation failure often means overfitting. [OK]
Common Mistakes:
2. 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:
3. As the number of transactions increases tenfold, which component of a real-time fraud detection system is most likely to fail first?
hard
Solution
Step 1: Consider the impact of increased transaction volume.
Increased volume stresses components handling real-time processing.Step 2: Identify the bottleneck.
The real-time scoring engine is most likely to struggle with increased load.Final Answer:
Option A -> Option AQuick Check:
Real-time engine struggles with high load. [OK]
Hint: Real-time engine struggles with high load. [OK]
Common Mistakes:
4. As the user base grows 10x, which component of a hate speech detection system is most likely to become a bottleneck?
hard
Solution
Step 1: Consider the impact of scale
With a 10x increase in users, the system must handle significantly more inference requests.Step 2: Eliminate wrong options
Data preprocessing and feature extraction are typically batch processes, and model training is not affected by user scale.Final Answer:
Option D -> Option DQuick Check:
10x users = Inference bottleneck [OK]
Hint: 10x users = Inference bottleneck [OK]
Common Mistakes:
5. As a news feed system scales to 10x more users, which component is most likely to become a bottleneck first?
hard
Solution
Step 1: Analyze scaling challenges
The Recommendation Engine processes user data to generate personalized feeds, which becomes computationally intensive as user numbers grow.Step 2: Consider other components
B: Content Delivery Network scales well with caching. C: User Interface is less affected by user count. D: Data Storage can be expanded more easily than processing power.Final Answer:
Option B -> Option BQuick Check:
Recommendation Engine struggles first with user scale. [OK]
Hint: Recommendation Engine struggles first with user scale. [OK]
Common Mistakes:
