
Answer-first summary for fast verification
Answer: Use Cloud Build linked with Cloud Source Repositories to trigger retraining when new code is pushed to the repository.
The correct answer is C. Using Cloud Build linked with Cloud Source Repositories allows you to automatically trigger retraining when new code is pushed to the repository. This method ensures minimal manual intervention and provides version control for your code. Moreover, it aligns with CI/CD best practices, which automate the workflow, thus minimizing computation costs by only retraining models when necessary changes are detected. Options A and D do not offer proper version control, and option B requires manual intervention, which contradicts the requirement to minimize manual work.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with developing machine learning (ML) models using Google's AI Platform to perform image segmentation on CT scans. Your workflow involves frequently updating your model architectures based on the latest research and rerunning training to benchmark performance on a consistent dataset. Given the need to minimize computation costs and reduce manual intervention while maintaining robust version control for your code, what approach should you take?
A
Use Cloud Functions to identify changes to your code in Cloud Storage and trigger a retraining job.
B
Use the gcloud command-line tool to submit training jobs on AI Platform when you update your code.
C
Use Cloud Build linked with Cloud Source Repositories to trigger retraining when new code is pushed to the repository.
D
Create an automated workflow in Cloud Composer that runs daily and looks for changes in code in Cloud Storage using a sensor.
No comments yet.