You are designing an ML pipeline where training, evaluation, and serving must remain consistent across time. Which approach most directly enforces consistency?
Answer
Ensure the serving container uses the exact same preprocessing code as training via versioned artifacts
Explanation
Pinning versioned preprocessing artifacts reduces train/serve skew. This preserves the assumptions under which the model was trained.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A classifier shows high overall accuracy but poor calibration for low-prevalence classes. What is the most appropriate corrective action?
View question →
A team reports that their pipeline’s performance “improves” even though the model’s behavior is unchanged. Which explanation best accounts for this artifact?
View question →
A system uses streamed events to update feature stores. Some events arrive late and out of order. What is the most robust mitigation to prevent incorrect feature values?
View question →
Which criterion best indicates whether an evaluation metric is suitable for optimizing a production objective in a safety-sensitive setting?
View question →
Which is the best way to reduce hallucinations in a constrained RAG setting where the answer must cite retrieved evidence?
View question →
Which set of practices best aligns with responsible deployment for an AI system used in user-facing decision support?
View question →