Google Cloud Professional Cloud Architect — Question 75

You are building a continuous deployment pipeline for a project stored in a Git source repository and want to ensure that code changes can be verified before deploying to production. What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D because it emphasizes the importance of testing in a staging environment before pushing to production, ensuring that any issues can be identified and resolved. Options A and B suggest deploying directly to production, which does not allow for adequate verification of changes. Option C involves a partial rollout that could still expose production to untested changes.