nerdexam
GoogleGoogle

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #279

PROFESSIONAL-MACHINE-LEARNING-ENGINEER Question #279: Real Exam Question with Answer & Explanation

Sign in or unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER to reveal the answer and full explanation for question #279. The question stem and answer options stay visible for context.

Submitted by viktor_hu· Apr 18, 2026ML model development

Question

You want to migrate a scikit-learn classifier model to TensorFlow. You plan to train the TensorFlow classifier model using the same training set that was used to train the scikit-learn model, and then compare the performances using a common test set. You want to use the Vertex AI Python SDK to manually log the evaluation metrics of each model and compare them based on their F1 scores and confusion matrices. How should you log the metrics?

Options

  • AUse the aiplatform.log_classification_metrics function to log the F1 score, and use the
  • BUse the aiplatform.log_classification_metrics function to log the F1 score and the confusion
  • CUse the aiplatform.log_metrics function to log the F1 score and the confusion matrix.
  • DUse the aiplatform.log_metrics function to log the F1 score: and use the

Unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER to see the answer

You've previewed enough free PROFESSIONAL-MACHINE-LEARNING-ENGINEER questions. Unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Vertex AI SDK#Model Evaluation#Classification Metrics#Metric Logging
Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER PracticeBrowse All PROFESSIONAL-MACHINE-LEARNING-ENGINEER Questions