nerdexam
Google

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #256

You are developing an ML model that predicts the cost of used automobiles based on data such as location, condition, model type, color, and engine/battery efficiency. The data is updated every…

The correct answer is B. Compare the training and evaluation losses of the current run. If the losses are similar, deploy the. To minimize retraining costs, compare the current model's evaluation results to those of the previously deployed model, and only deploy the new model if its performance has improved and if its evaluation loss is not significantly worse than training loss.

Submitted by jakub_pl· Apr 18, 2026ML pipeline operationalization

Question

You are developing an ML model that predicts the cost of used automobiles based on data such as location, condition, model type, color, and engine/battery efficiency. The data is updated every night. Car dealerships will use the model to determine appropriate car prices. You created a Vertex AI pipeline that reads the data splits the data into training/evaluation/test sets performs feature engineering trains the model by using the training dataset and validates the model by using the evaluation dataset. You need to configure a retraining workflow that minimizes cost. What should you do?

Options

  • ACompare the training and evaluation losses of the current run. If the losses are similar, deploy the
  • BCompare the training and evaluation losses of the current run. If the losses are similar, deploy the
  • CCompare the results to the evaluation results from a previous run. If the performance improved
  • DCompare the results to the evaluation results from a previous run. If the performance improved

How the community answered

(36 responses)
  • A
    6% (2)
  • B
    81% (29)
  • C
    3% (1)
  • D
    11% (4)

Why each option

To minimize retraining costs, compare the current model's evaluation results to those of the previously deployed model, and only deploy the new model if its performance has improved and if its evaluation loss is not significantly worse than training loss.

ACompare the training and evaluation losses of the current run. If the losses are similar, deploy the

Comparing only training and evaluation losses of the current run primarily checks for overfitting in the current run, but does not guarantee improvement over the previously deployed model, which is crucial for a cost-effective retraining workflow.

BCompare the training and evaluation losses of the current run. If the losses are similar, deploy theCorrect

Comparing the current model's evaluation results against a previously deployed model (and considering whether training loss is too different from evaluation loss to avoid overfitting) allows for deploying only when there's a demonstrable performance improvement. This prevents unnecessary retraining or deployment of inferior models, directly minimizing computational costs associated with model deployment and potential rollback if a model regresses.

CCompare the results to the evaluation results from a previous run. If the performance improved

While comparing current and previous evaluation results is good, adding a specific 'more than 5%' threshold might unnecessarily delay deployment of models with valid, smaller improvements, potentially hindering timely updates.

DCompare the results to the evaluation results from a previous run. If the performance improved

This choice repeats A, which only checks for overfitting in the current run and doesn't consider the performance relative to the currently deployed model.

Concept tested: Cost-effective model retraining and deployment criteria

Source: https://cloud.google.com/vertex-ai/docs/ml-pipelines/model-deployment-strategies

Topics

#Retraining workflow#Cost optimization#Model evaluation#Vertex AI Pipelines

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice