Exam Professional Machine Learning Engineer topic 1 question 166 discussion - ExamTopics


AI Summary Hide AI Generated Summary

Problem Description

The question describes a scenario involving a Vertex AI ML pipeline with preprocessing and training steps, each running on a separate custom Docker image. The CI/CD system uses GitHub and GitHub Actions for unit and integration tests. The goal is to automate the model retraining workflow, triggerable manually and upon code merges to the main branch, while minimizing steps and maximizing flexibility.

Options

Four options (A, B, C, D) are provided, each detailing a different approach to configuring the CI/CD workflow, involving combinations of GitHub Actions, Cloud Build, Artifact Registry, and Vertex AI Pipelines.

Correct Answer

Option D is identified as the correct answer: triggering GitHub Actions for tests, then using a Cloud Build workflow to build Docker images, push them to Artifact Registry, and finally, launch the pipeline in Vertex AI Pipelines.

Sign in to unlock more AI features Sign in with Google

You developed a Vertex AI ML pipeline that consists of preprocessing and training steps and each set of steps runs on a separate custom Docker image. Your organization uses GitHub and GitHub Actions as CI/CD to run unit and integration tests. You need to automate the model retraining workflow so that it can be initiated both manually and when a new version of the code is merged in the main branch. You want to minimize the steps required to build the workflow while also allowing for maximum flexibility. How should you configure the CI/CD workflow?

  • A. Trigger a Cloud Build workflow to run tests, build custom Docker images, push the images to Artifact Registry, and launch the pipeline in Vertex AI Pipelines.
  • B. Trigger GitHub Actions to run the tests, launch a job on Cloud Run to build custom Docker images, push the images to Artifact Registry, and launch the pipeline in Vertex AI Pipelines.
  • C. Trigger GitHub Actions to run the tests, build custom Docker images, push the images to Artifact Registry, and launch the pipeline in Vertex AI Pipelines.
  • D. Trigger GitHub Actions to run the tests, launch a Cloud Build workflow to build custom Docker images, push the images to Artifact Registry, and launch the pipeline in Vertex AI Pipelines.
Show Suggested Answer Hide Answer
Suggested Answer: D πŸ—³οΈ

Was this article displayed correctly? Not happy with what you see?

Tabs Reminder: Tabs piling up in your browser? Set a reminder for them, close them and get notified at the right time.

Try our Chrome extension today!


Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more

Facebook

Save articles to reading lists
and access them on any device


Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more

Facebook

Save articles to reading lists
and access them on any device