Practice
1. In the context of ETA prediction for delivery systems, which component is responsible for capturing temporal dependencies in the data?
easy
Solution
Step 1: Identify the need for temporal dependency capture
ETA prediction involves time series data, which requires capturing temporal dependencies.Step 2: Eliminate wrong options
Random Forest, SVM, and KNN do not inherently capture temporal dependencies. RNNs are designed for this purpose.Final Answer:
Option D -> Option DQuick Check:
RNNs capture time dependencies. [OK]
Hint: RNNs capture time dependencies. [OK]
Common Mistakes:
2. In a text embedding pipeline, what is a likely failure mode if embeddings are not updated regularly with new data?
medium
Solution
Step 1: Consider the impact of stale embeddings.
Embeddings that are not updated may not capture recent trends, leading to decreased relevance.Step 2: Eliminate wrong options.
Increased cost and overfitting are unrelated to stale embeddings, and inference times are not directly affected.Final Answer:
Option A -> Option AQuick Check:
Stale embeddings reduce relevance. [OK]
Hint: Stale embeddings reduce relevance. [OK]
Common Mistakes:
3. When implementing a Guardrails System for LLMs, should you prioritize precision over recall, and why?
medium
Solution
Step 1: Understand the trade-off
Prioritizing precision minimizes false positives, crucial for user experience.Step 2: Eliminate wrong options
Recall is important but can lead to over-blocking, efficiency isn't the main concern, and equal importance isn't practical in all cases.Final Answer:
Option C -> Option CQuick Check:
Prioritize precision to avoid blocking legitimate content. [OK]
Hint: Prioritize precision to avoid blocking legitimate content. [OK]
Common Mistakes:
4. A RAG system is generating irrelevant responses. What is the most likely failure mode?
medium
Solution
Step 1: Identify the source of irrelevance.
If the retriever fetches irrelevant documents, the generator will produce irrelevant responses.Step 2: Eliminate wrong options.
Fetching too few documents or overfitting would affect response quality, not relevance.Final Answer:
Option A -> Option AQuick Check:
Irrelevant input = irrelevant output. [OK]
Hint: Irrelevant input = irrelevant output. [OK]
Common Mistakes:
5. As the dataset size increases 10x in a FAISS-based vector search system, which component is most likely to become a bottleneck first?
hard
Solution
Step 1: Consider the impact of dataset size increase.
Index storage will grow significantly, potentially becoming a bottleneck.Step 2: Eliminate wrong options.
Search algorithm, dimensionality reduction, and quantization are less affected by size increase compared to storage.Final Answer:
Option A -> Option AQuick Check:
Index storage grows with dataset size. [OK]
Hint: Index storage grows with dataset size. [OK]
Common Mistakes:
