Google Cloud Professional Cloud Developer — Question 319

You have an application running on a GKE cluster. Your application has a stateless web frontend, and has a high-availability requirement. Your cluster is set to automatically upgrade, and some of your nodes need to be drained. You need to ensure that the application has a serving capacity of 10% of the Pods prior to the drain. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because increasing the Pod replica count ensures that there are enough Pods available to meet the 10% requirement during the node drain. Option A does not address the number of Pods available, while C focuses on minimum availability without guaranteeing the required serving capacity. Option D pertains to scaling but does not ensure that the specific number of Pods remains available before draining.