Google Cloud Professional Machine Learning Engineer — Question 263
You are developing a process for training and running your custom model in production. You need to be able to show lineage for your model and predictions. What should you do?
Answer options
- A. 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.
- B. 1. Use a Vertex AI Pipelines custom training job component to tram your model. 2. Generate predictions by using a Vertex AI Pipelines model batch predict component.
- C. 1. Upload your dataset to BigQuery. 2. Use a Vertex AI custom training job to train your model. 3. Generate predictions by using Vertex Al SDK custom prediction routines.
- D. 1. Use Vertex AI Experiments to train your model. 2. Register your model in Vertex AI Model Registry. 3. Generate batch predictions in Vertex AI.
Correct answer: B
Explanation
Option B is correct because it utilizes the capabilities of Vertex AI Pipelines to ensure that the training and prediction processes are tracked and connected, which is crucial for lineage. The other options either do not provide the same level of tracking or do not use the appropriate components from Vertex AI Pipelines to achieve this.