Practice
1. For a delivery forecasting system, which metric is most appropriate to evaluate the accuracy of ETA predictions?
easy
Solution
Step 1: Identify the nature of the prediction task
ETA prediction is a regression task, focusing on continuous values.Step 2: Eliminate wrong options
F1 Score, AUC, and Precision are classification metrics. MAE is suitable for regression tasks.Final Answer:
Option C -> Option CQuick Check:
MAE for regression accuracy. [OK]
Hint: MAE for regression accuracy. [OK]
Common Mistakes:
2. In a multimodal system that integrates vision and language models, which component is responsible for aligning the semantic meaning between image features and text embeddings?
easy
Solution
Step 1: Identify the role of each component
The cross-modal attention layer is designed to align and integrate features from different modalities, such as images and text.Step 2: Eliminate wrong options
Image encoder and text encoder process their respective modalities independently. The output classifier is responsible for final predictions, not alignment.Final Answer:
Option A -> Option AQuick Check:
Cross-modal aligns semantics between modalities. [OK]
Hint: Cross-modal aligns semantics between modalities. [OK]
Common Mistakes:
3. In a two-stage retrieval system, what is the primary role of the candidate generation stage?
easy
Solution
Step 1: Understand the candidate generation role
The candidate generation stage is responsible for quickly filtering out irrelevant items to reduce the dataset size for the ranking stage.Step 2: Eliminate wrong options
To rank the candidates based on relevance scores. is incorrect because ranking is done in the second stage. To apply complex models for precise ranking. is incorrect because complex models are typically used in the ranking stage. To ensure all items are considered for ranking. is incorrect because not all items are considered for ranking, only the filtered candidates.Final Answer:
Option A -> Option AQuick Check:
Candidate generation filters, not ranks. [OK]
Hint: Candidate generation filters, not ranks. [OK]
Common Mistakes:
4. As the scale of users increases tenfold, which component of a bot detection system using behavioral signals is most likely to fail first?
hard
Solution
Step 1: Consider the impact of scale on system components.
Real-time processing is critical for immediate detection and is resource-intensive.Step 2: Eliminate wrong options.
Data storage can be scaled with cloud solutions; model training is periodic; UI is less critical to detection.Final Answer:
Option A -> Option AQuick Check:
Real-time processing is resource-intensive at scale [OK]
Hint: Real-time processing is resource-intensive at scale [OK]
Common Mistakes:
5. As a RAG system scales to handle 10x more queries, which component is most likely to become a bottleneck first?
hard
Solution
Step 1: Consider scaling impacts.
As query volume increases, the database must handle more retrieval requests, potentially becoming a bottleneck.Step 2: Eliminate wrong options.
Models scale with compute resources, but database I/O can become a limiting factor.Final Answer:
Option B -> Option BQuick Check:
Database I/O limits scale. [OK]
Hint: Database I/O limits scale. [OK]
Common Mistakes:
