Google Cloud Professional Machine Learning Engineer — Question 185

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 pipeline to improve model performance. You plan to use Cloud Build for CI/CD You want to quickly and easily deploy new pipelines into production, and you want to minimize the chance that the new pipeline implementations will break in production. What should you do?

Answer options

Correct answer: C

Explanation

Option C is the correct approach because it involves building and testing the source code, deploying to a pre-production environment, and only then deploying to production after a successful run. This minimizes risks as it ensures that the pipeline is validated in a safe environment before affecting production. Options A, B, and D either lack a structured pre-production validation or introduce unnecessary complexity that could increase the chance of issues in production.