ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 187 - Professional Machine Learning Engineer discussion

Report
Export

Your team frequently creates new ML models and runs experiments. Your team pushes code to a single repository hosted on Cloud Source Repositories. You want to create a continuous integration pipeline that automatically retrains the models whenever there is any modification of the code. What should be your first step to set up the CI pipeline?

A.
Configure a Cloud Build trigger with the event set as 'Pull Request'
Answers
A.
Configure a Cloud Build trigger with the event set as 'Pull Request'
B.
Configure a Cloud Build trigger with the event set as 'Push to a branch'
Answers
B.
Configure a Cloud Build trigger with the event set as 'Push to a branch'
C.
Configure a Cloud Function that builds the repository each time there is a code change.
Answers
C.
Configure a Cloud Function that builds the repository each time there is a code change.
D.
Configure a Cloud Function that builds the repository each time a new branch is created.
Answers
D.
Configure a Cloud Function that builds the repository each time a new branch is created.
Suggested answer: B

Explanation:

According to the web search results, Cloud Build1is a service that executes your builds on Google Cloud Platform infrastructure.Cloud Build can import source code from Cloud Source Repositories2, Cloud Storage, GitHub, Bitbucket, or any publicly hosted Git repository. Cloud Build allows you to create and manage build triggers, which are automated workflows that run whenever a code change is pushed to your source repository. You can use Cloud Build triggers to automatically retrain your ML models whenever there is any modification of the code. Therefore, option B is the best way to set up the CI pipeline for the given use case, as it allows you to configure a Cloud Build trigger with the event set as ''Push to a branch'', which means the trigger will run whenever a new commit is pushed to a specific branch of your source repository. The other options are not relevant or optimal for this scenario.Reference:

Cloud Build

Cloud Source Repositories

Google Professional Machine Learning Certification Exam 2023

Latest Google Professional Machine Learning Engineer Actual Free Exam Questions

asked 18/09/2024
Sandesh Somaiah
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first