Google Cloud Professional Machine Learning Engineer — Question 256
You created a model that uses BigQuery ML to perform linear regression. You need to retrain the model on the cumulative data collected every week. You want to minimize the development effort and the scheduling cost. What should you do?
Answer options
- A. Use BigQuery’s scheduling service to run the model retraining query periodically.
- B. Create a pipeline in Vertex AI Pipelines that executes the retraining query, and use the Cloud Scheduler API to run the query weekly.
- C. Use Cloud Scheduler to trigger a Cloud Function every week that runs the query for retraining the model.
- D. Use the BigQuery API Connector and Cloud Scheduler to trigger Workflows every week that retrains the model.
Correct answer: A
Explanation
The correct choice, A, suggests using BigQuery’s built-in scheduling service, which is specifically designed for such tasks, ensuring minimal effort and cost. Options B and D involve additional complexities like creating pipelines or workflows, which increase development effort. Option C introduces Cloud Functions, adding unnecessary complexity for a straightforward retraining process.