Google Cloud Professional Cloud Developer — Question 238

You need to deploy an internet-facing microservices application to Google Kubernetes Engine (GKE). You want to validate new features using the A/B testing method. You have the following requirements for deploying new container image releases:
• There is no downtime when new container images are deployed.
• New production releases are tested and verified using a subset of production users.

What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B, as it allows for deploying a new version in a separate namespace, facilitating A/B testing without any downtime. Option A requires recreating Pods, which can lead to downtime, while option C involves additional complexity with service mesh configuration that is not necessary for basic A/B testing. Option D also involves rolling updates, which may not allow for testing with a subset of users effectively.