Google Cloud Professional Cloud DevOps Engineer — Question 118
You are developing the deployment and testing strategies for your CI/CD pipeline in Google Cloud. You must be able to:
• Reduce the complexity of release deployments and minimize the duration of deployment rollbacks.
• Test real production traffic with a gradual increase in the number of affected users.
You want to select a deployment and testing strategy that meets your requirements. What should you do?
Answer options
- A. Recreate deployment and canary testing
- B. Blue/green deployment and canary testing
- C. Rolling update deployment and A/B testing
- D. Rolling update deployment and shadow testing
Correct answer: B
Explanation
The blue/green deployment strategy allows for seamless transitions between production versions, minimizing downtime and making rollbacks faster. Coupled with canary testing, it enables testing with real traffic while progressively increasing user exposure, thus fulfilling both requirements. The other options either do not provide the same level of rollback efficiency or lack the necessary gradual user testing component.