In the described scenario, which action most directly mitigates training-serving skew for a feature used in both offline training and real-time inference?

Answer

Recompute the feature in inference using the same transformation code path used during training, and validate schema/units consistency via automated checks, Perform inference-time normalization using MinMax scaling fitted on the training dataset only once and never updated

Explanation

A reduces skew by ensuring the inference pipeline uses identical transformations and validates schema/units. D can also reduce skew when the same fixed scaling parameters (fitted on training) are applied consistently, avoiding drift between training and inference.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

You need to choose between logistic regression and XGBoost for a binary classification problem with severe class imbalance and nonlinear decision boundaries. Which approach best aligns to advanced evaluation and robust training under imbalance?

View question →

A multi-class problem is evaluated with macro-averaged F1, and the model underperforms on minority classes. You want to improve minority-class recall without causing excessive precision loss. Which technique is most appropriate?

View question →

A team uses SageMaker pipelines to orchestrate training. They need reproducible runs with strict control over training data versions, code, and hyperparameters. What should they rely on as the strongest mechanism to guarantee this reproducibility?

View question →

For a streaming feature pipeline feeding a model, you observe that inference latency spikes when using a real-time feature retrieval call. Which design change is most likely to reduce latency while preserving data freshness?

View question →

A dataset includes sensitive attributes. You must prevent leakage of these attributes while still using them for training-time checks. Which approach best satisfies leakage prevention while enabling governance?

View question →

You trained a model with an imputation strategy for missing numeric values and saved preprocessing steps, but the inference pipeline later receives missingness patterns that differ significantly from training (e.g., new nullable fields). What is the most defensible response to maintain model quality?

View question →

QuestionBack to list