Google Cloud Professional Cloud DevOps Engineer — Question 187
Your company wants to implement a CD pipeline in Cloud Deploy for a web service deployed to GKE. The web service currently does not have any automated testing. The Quality Assurance team must manually verify any new releases of the web service before any production traffic is processed. You need to design the CD pipeline. What should you do?
Answer options
- A. Create a single pipeline stage, and use a standard deployment strategy.
- B. Create a single pipeline stage, and use a canary deployment strategy.
- C. Create two pipeline stages, and use a canary deployment strategy.
- D. Create two pipeline stages, and use a standard deployment strategy.
Correct answer: C
Explanation
The correct choice is C, as using two stages with a canary deployment strategy allows for controlled release and testing of the new version in production, minimizing risk. Option A is inadequate because a single stage does not allow for the necessary validation process. Option B also falls short as it does not provide the two-stage structure needed for effective verification. Option D uses a standard deployment strategy, which lacks the gradual rollout needed for manual QA verification.