Google Cloud Professional Cloud DevOps Engineer — Question 85
You recently deployed your application in Google Kubernetes Engine (GKE) and now need to release a new version of the application. You need the ability to instantly roll back to the previous version of the application in case there are issues with the new version. Which deployment model should you use?
Answer options
- A. Perform a rolling deployment, and test your new application after the deployment is complete.
- B. Perform A/B testing, and test your application periodically after the deployment is complete.
- C. Perform a canary deployment, and test your new application periodically after the new version is deployed.
- D. Perform a blue/green deployment, and test your new application after the deployment is complete.
Correct answer: D
Explanation
The blue/green deployment model allows you to have two environments, one for the current version and one for the new version, enabling a quick switch back to the previous version if issues arise. Rolling deployments, A/B testing, and canary deployments do not provide the same level of instant rollback capability, as they focus on gradual updates or performance testing rather than maintaining a parallel environment for immediate fallback.