Practice
1. In the context of avoiding filter bubbles in recommendation systems, which component is responsible for ensuring content diversity?
easy
Solution
Step 1: Identify the role of each component
Collaborative and content-based filtering focus on user preferences, while diversity re-ranking ensures varied content.Step 2: Eliminate wrong options
Collaborative filtering (A) and content-based filtering (B) do not inherently ensure diversity. User profiling (D) focuses on understanding user preferences, not diversity.Final Answer:
Option B -> Option BQuick Check:
Diversity re-ranking ensures varied content [OK]
Hint: Diversity re-ranking ensures varied content [OK]
Common Mistakes:
2. For a real-time recommendation system, which metric should the ML platform optimize to ensure timely and relevant suggestions?
easy
Solution
Step 1: Understand the system's requirement.
Real-time systems need to provide timely responses, making latency crucial.Step 2: Eliminate wrong options.
MAE measures error, Precision and Recall focus on accuracy, not speed.Final Answer:
Option A -> Option AQuick Check:
Real-time needs low latency. [OK]
Hint: Real-time systems prioritize low latency. [OK]
Common Mistakes:
3. In a visual search system using image embeddings, which component is responsible for transforming images into a fixed-size vector representation?
easy
Solution
Step 1: Identify the role of each component
The image embedding model is responsible for converting images into vector representations.Step 2: Eliminate wrong options
ANN index is for searching, serving layer is for delivering results, and database storage is for storing data.Final Answer:
Option C -> Option CQuick Check:
Embeddings come from the embedding model. [OK]
Hint: Embeddings come from the embedding model. [OK]
Common Mistakes:
4. In a RAG system, when should you prefer a dense retriever over a sparse retriever?
medium
Solution
Step 1: Understand retriever types.
Dense retrievers are better for large, diverse corpora as they can capture semantic meaning more effectively.Step 2: Eliminate wrong options.
Sparse retrievers are more interpretable and efficient for small, domain-specific corpora.Final Answer:
Option D -> Option DQuick Check:
Dense for large, diverse data. [OK]
Hint: Dense for large, diverse data. [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:
