nerdexam
GoogleGoogle

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #237

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

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

Submitted by mateo_ar· Apr 18, 2026ML pipeline operationalization

Question

You recently trained a XGBoost model that you plan to deploy to production for online inference. Before sending a predict request to your model's binary, you need to perform a simple data preprocessing step. This step exposes a REST API that accepts requests in your internal VPC Service Controls and returns predictions. You want to configure this preprocessing step while minimizing cost and effort. What should you do?

Options

  • AStore a pickled model in Cloud Storage. Build a Flask-based app, package the app in a custom
  • BBuild a Flask-based app, package the app and a pickled model in a custom container image, and
  • CBuild a custom predictor class based on XGBoost Predictor from the Vertex AI SDK, package it
  • DBuild a custom predictor class based on XGBoost Predictor from the Vertex AI SDK, and package

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#Model Deployment#Online Inference#Custom Prediction
Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER PracticeBrowse All PROFESSIONAL-MACHINE-LEARNING-ENGINEER Questions