Trang chủ Professional Data Engineer 335 / 343
Quay lại bộ đề
Question #335 Topic 1
You are preparing data to serve a sales demand prediction model. The training data undergoes several pre-processing steps, including scaling numerical features and one-hot encoding categorical features. The model is deployed on Vertex AI Endpoints. You need to prevent training-serving skew and ensure accurate predictions in production. You want a solution that is easy to implement. What should you do?
A
Implement a custom handler within the Vertex AI Endpoint to automatically perform data transformations before the model makes a prediction.
B
Replicate the exact same pre-processing logic in the inference pipeline that was used during model training.
C
Store the raw, unprocessed data in a separate Cloud Storage bucket exclusively for serving.
D
Ensure the serving data is a smaller, random sample of the training data.