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 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. As the number of concurrent users increases tenfold, which component of the LLM serving infrastructure is most likely to become a bottleneck first?
hard
Solution
Step 1: Consider the impact of scaling.
Network bandwidth is often the first bottleneck as user requests increase.Step 2: Eliminate wrong options.
Batching can handle more requests efficiently. KV Cache scales with memory, not users. Speculative Decoding affects processing, not network.Final Answer:
Option A -> Option AQuick Check:
Network bandwidth limits scale first. [OK]
Hint: Network bandwidth limits scale first. [OK]
Common Mistakes:
4. As the data volume increases tenfold in an ML monitoring platform, which component is most likely to become a bottleneck first?
hard
Solution
Step 1: Analyze component scalability
The Drift Detection Module processes incoming data to identify changes, making it sensitive to data volume increases.Step 2: Consider computational load
Drift detection often involves statistical tests or complex calculations, which can become a bottleneck with large data volumes.Final Answer:
Option C -> Option CQuick Check:
Data increase = Drift bottleneck [OK]
Hint: Data increase = Drift bottleneck [OK]
Common Mistakes:
5. As the number of users and items grows significantly, which component of a Two-Tower Model for Retrieval is likely to become a bottleneck first?
hard
Solution
Step 1: Consider the scaling impact on components
As users and items grow, computing similarity scores between all pairs becomes computationally expensive.Step 2: Eliminate wrong options
User embedding computation and B scale linearly with users and items. Model training time is affected but not as immediately as similarity computation.Final Answer:
Option A -> Option AQuick Check:
Similarity computation scales poorly with size. [OK]
Hint: Similarity computation scales poorly with size. [OK]
Common Mistakes:
