Google Cloud Professional Machine Learning Engineer — Question 286
You are developing a batch process that will train a custom model and perform predictions. You need to be able to show lineage for both your model and the batch predictions. What should you do?
Answer options
- A. 1. Upload your dataset to BigQuery. 2. Use a Vertex AI custom training job to train your model. 3. Generate predictions by using Vertex AI SDK custom prediction routines.
- B. 1. Use Vertex AI Experiments to evaluate model performance during training. 2. Register your model in Vertex AI Model Registry. 3. Generate batch predictions in Vertex AI.
- C. 1. Create a Vertex AI managed dataset. 2. Use a Vertex AI training pipeline to train your model. 3. Generate batch predictions in Vertex AI.
- D. 1. Use a Vertex AI Pipelines custom training job component to train your model. 2. Generate predictions by using a Vertex AI Pipelines model batch predict component.
Correct answer: D
Explanation
Option D is correct because it utilizes Vertex AI Pipelines for both training and generating predictions, which provides lineage tracking. The other options do not leverage the Pipelines framework for this purpose and may not ensure the same level of lineage visibility as option D.