Google Cloud Professional Machine Learning Engineer — Question 13
You work for a public transportation company and need to build a model to estimate delay times for multiple transportation routes. Predictions are served directly to users in an app in real time. Because different seasons and population increases impact the data relevance, you will retrain the model every month. You want to follow Google-recommended best practices. How should you configure the end-to-end architecture of the predictive model?
Answer options
- A. Configure Kubeflow Pipelines to schedule your multi-step workflow from training to deploying your model.
- B. Use a model trained and deployed on BigQuery ML, and trigger retraining with the scheduled query feature in BigQuery.
- C. Write a Cloud Functions script that launches a training and deploying job on AI Platform that is triggered by Cloud Scheduler.
- D. Use Cloud Composer to programmatically schedule a Dataflow job that executes the workflow from training to deploying your model.
Correct answer: A
Explanation
The correct answer, A, is ideal because Kubeflow Pipelines provides a robust framework for managing complex workflows, ensuring smooth transitions from training to deployment. Option B, while effective, lacks the comprehensive workflow support that Kubeflow offers. Option C introduces additional complexity by using Cloud Functions, which may not be as efficient for end-to-end model management. Option D, although viable, is less optimal compared to the streamlined capabilities of Kubeflow Pipelines for this use case.