nerdexam
Google

PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #335

You need to train an XGBoost model on a small dataset. Your training code requires custom dependencies. You need to set up a Vertex AI custom training job. You want to minimize the startup time of the

The correct answer is B. Store the data in a Cloud Storage bucket, and use the XGBoost prebuilt custom container to run. Using the prebuilt XGBoost container avoids the overhead of building and maintaining a custom container, minimizing startup time. Storing data in Cloud Storage and installing custom dependencies at runtime via a Python source distribution follows Google best practices for flexibi

Submitted by yuki_2020· Apr 18, 2026ML model development

Question

You need to train an XGBoost model on a small dataset. Your training code requires custom dependencies. You need to set up a Vertex AI custom training job. You want to minimize the startup time of the training job while following Google-recommended practices. What should you do?

Options

  • ACreate a custom container that includes the data and the custom dependencies. In your training
  • BStore the data in a Cloud Storage bucket, and use the XGBoost prebuilt custom container to run
  • CUse the XGBoost prebuilt custom container. Create a Python source distribution that includes the
  • DStore the data in a Cloud Storage bucket, and create a custom container with your training

How the community answered

(39 responses)
  • A
    13% (5)
  • B
    56% (22)
  • C
    26% (10)
  • D
    5% (2)

Explanation

Using the prebuilt XGBoost container avoids the overhead of building and maintaining a custom container, minimizing startup time. Storing data in Cloud Storage and installing custom dependencies at runtime via a Python source distribution follows Google best practices for flexibility and efficiency in custom training jobs.

Topics

#Vertex AI Custom Training#Containerization#Dependency Management#Startup Time Optimization

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice