Practice
1. In a search ranking system, which component is primarily responsible for determining the relevance of a document to a query?
easy
Solution
Step 1: Identify the role of each component
The ranking algorithm is responsible for determining the relevance of documents to a query.Step 2: Eliminate wrong options
Indexing module organizes data, query parser interprets queries, and crawler collects data.Final Answer:
Option B -> Option BQuick Check:
Ranking algorithm determines relevance. [OK]
Hint: Ranking algorithm determines relevance. [OK]
Common Mistakes:
2. A bot detection system using device fingerprinting is failing to detect bots effectively. What is the most likely failure mode?
medium
Solution
Step 1: Identify the core issue with device fingerprinting.
Device fingerprints need frequent updates to remain effective against evolving bots.Step 2: Eliminate wrong options.
Behavioral models and IP reliance are not directly related to fingerprinting; user agent strings are not unique enough.Final Answer:
Option B -> Option BQuick Check:
Frequent updates needed for effective fingerprinting [OK]
Hint: Frequent updates needed for effective fingerprinting [OK]
Common Mistakes:
3. In an ML monitoring platform, what is a likely failure mode if the alerting system is not properly calibrated?
medium
Solution
Step 1: Understand the role of alerting calibration
Proper calibration ensures alerts are meaningful and not overly sensitive.Step 2: Identify the failure mode
If not calibrated, the alerting system may trigger retraining too often, leading to unnecessary computational costs.Final Answer:
Option A -> Option AQuick Check:
Over-alerting = Frequent retraining [OK]
Hint: Over-alerting = Frequent retraining [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 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:
