Practice
1. In the context of hate speech detection, which component is responsible for transforming raw text data into numerical features?
easy
Solution
Step 1: Identify the role of each component
Feature extraction is the process of converting raw text into numerical features that can be used by machine learning models.Step 2: Eliminate wrong options
Data augmentation is about creating more data, model training is about learning from features, and hyperparameter tuning is about optimizing model parameters.Final Answer:
Option A -> Option AQuick Check:
Features from text = Feature Extraction [OK]
Hint: Features from text = Feature Extraction [OK]
Common Mistakes:
2. In the context of a Two-Tower Model for Retrieval, what is the primary role of the user tower?
easy
Solution
Step 1: Understand the user tower's role
The user tower is responsible for generating embeddings that represent users based on their features.Step 2: Eliminate wrong options
To generate item embeddings based on user interactions. is incorrect because item embeddings are generated by the item tower. To compute similarity scores between users and items. is incorrect because similarity scores are computed after embeddings are generated. To directly predict user-item interaction scores. is incorrect because the model predicts interaction scores using both towers' outputs.Final Answer:
Option B -> Option BQuick Check:
User tower generates user embeddings. [OK]
Hint: User tower generates user embeddings. [OK]
Common Mistakes:
3. A search ranking system suddenly shows irrelevant results at the top. What is the most likely failure mode?
medium
Solution
Step 1: Analyze the symptom
Irrelevant results suggest a mismatch in understanding query-document relevance.Step 2: Identify the most likely cause
Feature mismatch can lead to poor relevance scoring.Final Answer:
Option A -> Option AQuick Check:
Feature mismatch leads to poor relevance. [OK]
Hint: Feature mismatch leads to poor relevance. [OK]
Common Mistakes:
4. As the user base of a Guardrails System for LLMs scales 10x, which component is most likely to become a bottleneck first?
hard
Solution
Step 1: Analyze component scalability
Content filtering must process each request, becoming a bottleneck as requests increase.Step 2: Eliminate wrong options
Feedback loops and model training are less frequent, and data storage scales more linearly.Final Answer:
Option D -> Option DQuick Check:
Content filtering scales with user requests. [OK]
Hint: Content filtering scales with user requests. [OK]
Common Mistakes:
5. At 10x data scale, which component of a model registry is most likely to fail first?
hard
Solution
Step 1: Consider data scale impact
Lineage tracking databases often struggle with large data volumes due to the need to store extensive metadata.Step 2: Eliminate wrong options
Model versioning system is incorrect as versioning systems are typically designed for scalability. Model deployment pipeline is wrong because deployment pipelines are less affected by data volume. Governance compliance checks is incorrect as compliance checks are not data volume intensive.Final Answer:
Option A -> Option AQuick Check:
Lineage databases struggle with scale [OK]
Hint: Lineage databases struggle with scale [OK]
Common Mistakes:
