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

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.