Google Cloud Professional Cloud Developer — Question 217

The new version of your containerized application has been tested and is ready to deploy to production on Google Kubernetes Engine. You were not able to fully load-test the new version in pre-production environments, and you need to make sure that it does not have performance problems once deployed. Your deployment must be automated. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because canary deployments allow you to gradually roll out the new version while monitoring its performance, minimizing risk. Option A does not automate the deployment process effectively, while C suggests blue/green deployments, which are not as flexible for gradual traffic increase. Option D relies on a rolling update strategy that may not provide the same level of monitoring and control as canary deployments.