Practice
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]
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]
Solution
Step 1: Identify the role of each component
Benchmarks provide standardized tasks for evaluation.Step 2: Eliminate wrong options
Human evaluation involves subjective assessment, LLM-as-Judge uses models to evaluate, and data preprocessing is unrelated to task standardization.Final Answer:
Option A -> Option AQuick Check:
Benchmarks standardize tasks for fair comparison. [OK]
Solution
Step 1: Consider the impact of increased query volume.
Increased queries primarily affect components involved in real-time processing.Step 2: Evaluate each component's scalability.
Data preprocessing pipeline: Preprocessing can be parallelized and is not real-time. Training time: Training time is not affected by query volume. Storage for labeled data: Storage is a concern but not a real-time bottleneck. Model inference time: Model inference time directly impacts real-time query handling and is likely to become a bottleneck.Final Answer:
Option C -> Option CQuick Check:
Inference time scales with query volume. [OK]
Solution
Step 1: Analyze scaling impact
As data size increases, candidate generation must process more data, potentially becoming a bottleneck.Step 2: Eliminate wrong options
Ranking stage due to increased number of candidates. is incorrect because the ranking stage processes a fixed number of candidates. Data storage due to increased data volume. is incorrect because data storage is a separate concern. Network bandwidth due to increased data transfer. is incorrect because network bandwidth is not directly related to retrieval stages.Final Answer:
Option B -> Option BQuick Check:
Candidate generation struggles first with more data. [OK]
