Practice
1. In a production-scale embedding pipeline for text data, which component is responsible for converting raw text into numerical vectors?
easy
Solution
Step 1: Identify the role of each component.
The Tokenizer is responsible for converting raw text into tokens, which are then converted into numerical vectors.Step 2: Eliminate wrong options.
Data Loader handles data input, Feature Extractor processes features but not directly from raw text, and Batch Normalizer normalizes data batches.Final Answer:
Option C -> Option CQuick Check:
Tokenizer converts text to tokens. [OK]
Hint: Tokenizer converts text to tokens. [OK]
Common Mistakes:
2. A delivery forecasting model is consistently overestimating ETAs during peak traffic hours. What is the most likely failure mode?
medium
Solution
Step 1: Identify the cause of overestimation during peak hours
Real-time traffic data is crucial for accurate ETA predictions.Step 2: Eliminate wrong options
Underfitting (A) and overfitting (D) are general issues, not specific to peak hours. Too many parameters (C) would cause overfitting, not specific time errors.Final Answer:
Option A -> Option AQuick Check:
Real-time data is key for peak accuracy. [OK]
Hint: Real-time data is key for peak accuracy. [OK]
Common Mistakes:
3. What is a common failure mode when lineage tracking is not implemented in a model registry?
medium
Solution
Step 1: Understand lineage tracking purpose
Lineage tracking ensures that all steps and data leading to a model's creation are documented, aiding reproducibility.Step 2: Eliminate wrong options
Increased model training time is incorrect as lineage doesn't affect training time. Higher model deployment costs is wrong because deployment costs aren't directly related to lineage. Decreased model accuracy is incorrect as accuracy isn't directly impacted by lineage tracking.Final Answer:
Option A -> Option AQuick Check:
Lineage = Reproducibility [OK]
Hint: Lineage = Reproducibility [OK]
Common Mistakes:
4. In a semantic search system using a Bi-Encoder, what is a likely failure mode if the document embeddings are not updated regularly?
medium
Solution
Step 1: Identify the impact of outdated embeddings
Outdated embeddings can lead to decreased retrieval accuracy as they may not reflect current document content.Step 2: Eliminate wrong options
Increased computational cost and latency are not directly related to outdated embeddings, and overfitting is a training issue.Final Answer:
Option C -> Option CQuick Check:
Outdated embeddings = accuracy drop [check]
Hint: Outdated embeddings = accuracy drop [check]
Common Mistakes:
5. As the number of users and ads increases tenfold in an ad auction system, which component is most likely to fail first?
hard
Solution
Step 1: Consider scale impact
With a tenfold increase in users and ads, the User Data Storage is likely to face capacity issues first due to the sheer volume of data.Step 2: Eliminate wrong options
- Ad Ranking Module: Computationally intensive but not storage-bound.
- Bid Management System: Handles bids, not directly affected by user volume.
- Network Bandwidth: Affects data transfer, but storage is a more immediate bottleneck.
Final Answer:
Option A -> Option AQuick Check:
Storage fails first with data volume increase. [OK]
Hint: Storage fails first with data volume increase. [OK]
Common Mistakes:
