Google Cloud Professional Cloud Developer — Question 106
You recently deployed your application in Google Kubernetes Engine, and now need to release a new version of your application. You need the ability to instantly roll back to the previous version 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 new tests are implemented.
- C. Perform a blue/green deployment, and test your new application after the deployment is. complete.
- D. Perform a canary deployment, and test your new application periodically after the new version is deployed.
Correct answer: C
Explanation
The correct answer is C, as blue/green deployments allow you to have two separate environments, enabling a quick switch back to the previous version if issues arise. Other options, like rolling deployments (A) and canary deployments (D), introduce new versions gradually, making instant rollback less straightforward. A/B testing (B) is primarily for comparing two versions rather than ensuring an immediate rollback capability.