Google Cloud Professional Machine Learning Engineer — Question 236
Your team is training a large number of ML models that use different algorithms, parameters, and datasets. Some models are trained in Vertex AI Pipelines, and some are trained on Vertex AI Workbench notebook instances. Your team wants to compare the performance of the models across both services. You want to minimize the effort required to store the parameters and metrics. What should you do?
Answer options
- A. Implement an additional step for all the models running in pipelines and notebooks to export parameters and metrics to BigQuery.
- B. Create a Vertex AI experiment. Submit all the pipelines as experiment runs. For models trained on notebooks log parameters and metrics by using the Vertex AI SDK.
- C. Implement all models in Vertex AI Pipelines Create a Vertex AI experiment, and associate all pipeline runs with that experiment.
- D. Store all model parameters and metrics as model metadata by using the Vertex AI Metadata API.
Correct answer: B
Explanation
The correct answer is B because creating a Vertex AI experiment allows for organized tracking of model performance across different training environments, and using the Vertex AI SDK to log metrics ensures consistent data capture. Option A requires additional effort to export data, C limits the solution to pipelines only, and D does not provide the comparative analysis needed across both services.