PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #191
You recently deployed a pipeline in Vertex AI Pipelines that trains and pushes a model to a Vertex AI endpoint to serve real-time traffic. You need to continue experimenting and iterating on your…
The correct answer is C. Set up a CI/CD pipeline that builds and tests your source code and then deploys built artifacts into. To ensure reliable and quick deployment of new Vertex AI Pipelines using Cloud Build, implement a CI/CD pipeline that includes building, testing, and then deploying artifacts to production, ensuring quality before release.
Question
Options
- ASet up a CI/CD pipeline that builds and tests your source code. If the tests are successful, use the
- BSet up a CI/CD pipeline that builds your source code and then deploys built artifacts into a pre-
- CSet up a CI/CD pipeline that builds and tests your source code and then deploys built artifacts into
- DSet up a CI/CD pipeline that builds and tests your source code and then deploys built artifacts into
How the community answered
(35 responses)- A9% (3)
- B14% (5)
- C74% (26)
- D3% (1)
Why each option
To ensure reliable and quick deployment of new Vertex AI Pipelines using Cloud Build, implement a CI/CD pipeline that includes building, testing, and then deploying artifacts to production, ensuring quality before release.
This option is incomplete as it doesn't specify the deployment of the *pipeline* artifacts after building and testing.
Deploying to a pre-production environment without explicit testing in the CI/CD flow does not fully minimize the chance of new pipeline implementations breaking in production.
A robust CI/CD pipeline for ML with Vertex AI Pipelines should include building the pipeline definition, comprehensive testing (e.g., unit/integration tests), and then deploying the validated pipeline artifacts to production to minimize errors and prevent broken pipelines.
This option lacks the emphasis on comprehensive testing *before* deploying to production, which is key to minimizing breaks.
Concept tested: CI/CD for Vertex AI Pipelines with testing
Source: https://cloud.google.com/vertex-ai/docs/pipelines/build-pipeline
Topics
Community Discussion
No community discussion yet for this question.