Practice
1. In an A/B testing platform for ML models, which component is responsible for ensuring that users are consistently assigned to the same variant across multiple sessions?
easy
Solution
Step 1: Identify the role of each component.
The Session Persistence Layer ensures consistent user assignment across sessions.Step 2: Eliminate wrong options.
Randomization Engine assigns variants initially, User Segmentation Module groups users, and Experiment Dashboard displays results.Final Answer:
Option D -> Option DQuick Check:
Session consistency needs persistence. [OK]
Hint: Session consistency needs persistence. [OK]
Common Mistakes:
2. In a model registry, what is the primary purpose of model versioning?
easy
Solution
Step 1: Understand model versioning purpose
Model versioning is primarily about tracking changes and updates to models.Step 2: Eliminate wrong options
To improve model accuracy over time is incorrect because versioning doesn't directly improve accuracy. To ensure models are always deployed is wrong because versioning doesn't ensure deployment. To automatically optimize hyperparameters is incorrect as versioning isn't about hyperparameter optimization.Final Answer:
Option C -> Option CQuick Check:
Versioning = Tracking changes [OK]
Hint: Versioning = Tracking changes [OK]
Common Mistakes:
3. For a model registry focused on governance, which metric is most critical to track?
easy
Solution
Step 1: Identify governance focus
Governance in model registries is about ensuring compliance and adherence to regulations.Step 2: Eliminate wrong options
Model accuracy is incorrect as accuracy isn't a governance metric. Model deployment frequency is wrong because deployment frequency isn't about governance. Model training time is incorrect as training time isn't related to governance.Final Answer:
Option B -> Option BQuick Check:
Governance = Compliance focus [OK]
Hint: Governance = Compliance focus [OK]
Common Mistakes:
4. In the context of a 'People You May Know' feature using graph-based link prediction, which algorithm is most suitable for predicting new connections based on node similarity?
easy
Solution
Step 1: Identify the task.
The task is to predict new connections based on node similarity in a graph.Step 2: Evaluate options.
K-Means Clustering (A) is for clustering, not link prediction. Collaborative Filtering (B) is for recommendation systems, not graph-based predictions. Decision Trees (D) are for classification/regression, not graph-based link prediction. Node2Vec (C) is designed for learning node embeddings in graphs, making it suitable for link prediction.Final Answer:
Option A -> Option AQuick Check:
Node2Vec for graph embeddings. [OK]
Hint: Node2Vec is for graph embeddings. [OK]
Common Mistakes:
5. In an LLM serving system, what is a likely failure mode if the KV Cache is not properly managed?
medium
Solution
Step 1: Identify the role of KV Cache.
KV Cache prevents redundant computations, reducing latency.Step 2: Eliminate wrong options.
Batching inefficiencies affect throughput, not KV Cache. Memory issues are possible but less direct. Speculative decoding affects accuracy, not KV Cache.Final Answer:
Option D -> Option DQuick Check:
KV Cache mismanagement leads to redundant computations. [OK]
Hint: KV Cache mismanagement leads to redundant computations. [OK]
Common Mistakes:
