Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Machine Learning Engineer All Questions

View all questions & answers for the Professional Machine Learning Engineer exam

Exam Professional Machine Learning Engineer topic 1 question 19 discussion

Actual exam question from Google's Professional Machine Learning Engineer
Question #: 19
Topic #: 1
[All Professional Machine Learning Engineer Questions]

You have written unit tests for a Kubeflow Pipeline that require custom libraries. You want to automate the execution of unit tests with each new push to your development branch in Cloud Source Repositories. What should you do?

  • A. Write a script that sequentially performs the push to your development branch and executes the unit tests on Cloud Run.
  • B. Using Cloud Build, set an automated trigger to execute the unit tests when changes are pushed to your development branch.
  • C. Set up a Cloud Logging sink to a Pub/Sub topic that captures interactions with Cloud Source Repositories. Configure a Pub/Sub trigger for Cloud Run, and execute the unit tests on Cloud Run.
  • D. Set up a Cloud Logging sink to a Pub/Sub topic that captures interactions with Cloud Source Repositories. Execute the unit tests using a Cloud Function that is triggered when messages are sent to the Pub/Sub topic.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
maartenalexander
Highly Voted 3 years, 5 months ago
B. GCP recommends to use Cloud Build when building KubeFlow Pipelines. It's possible to run unit tests in Cloud Build. And, the others seems overly complex/unnecessary
upvoted 17 times
...
mousseUwU
Highly Voted 3 years, 1 month ago
B makes sense because of this: https://cloud.google.com/architecture/architecture-for-mlops-using-tfx-kubeflow-pipelines-and-cloud-build#cicd_architecture
upvoted 7 times
mousseUwU
3 years, 1 month ago
The image explains a lot
upvoted 2 times
...
...
bludw
Most Recent 5 months ago
Selected Answer: B
B: No need of any Pub/Sub stuff
upvoted 1 times
...
PhilipKoku
5 months, 3 weeks ago
Selected Answer: B
B. Cloud Build.
upvoted 1 times
...
Sum_Sum
1 year ago
Selected Answer: B
B is the only sensible answer as its a feature of CloudBuild everything else is the delusions of a madmen
upvoted 2 times
...
SamuelTsch
1 year, 4 months ago
Selected Answer: B
A, C, D need addiontal maunal tasks. B is correct.
upvoted 1 times
...
Scipione_
1 year, 6 months ago
Selected Answer: B
Cloud Build is the best choice but the other answers are feasible.
upvoted 1 times
...
M25
1 year, 6 months ago
Selected Answer: B
Went with B
upvoted 1 times
...
enghabeth
1 year, 9 months ago
Selected Answer: B
Because it is the most automatic of the options
upvoted 1 times
...
wish0035
1 year, 11 months ago
Selected Answer: B
ans: B
upvoted 1 times
...
EFIGO
2 years ago
Selected Answer: B
B is the Google-recommended best practice.
upvoted 1 times
...
GCP72
2 years, 3 months ago
Correct answer is "B"
upvoted 1 times
...
morgan62
2 years, 7 months ago
Selected Answer: B
B it is.
upvoted 2 times
...
Danny2021
3 years, 2 months ago
Easy one, B, Cloud Build is the tool for CI/CD.
upvoted 5 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...