Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


Your Kubernetes cluster, currently with a single node-pool, is experiencing high traffic and requires expansion. You've decided to add a node. What is the correct approach to achieve this?




Explanation:

The correct answer is to use the gcloud container clusters resize command for resizing your Kubernetes cluster, as specified in the GCP documentation. This command allows you to adjust the number of nodes in your cluster efficiently. The kubectl command does not support cluster resizing, making option B incorrect. Manually editing the managed instance group or enabling autoscaling (options A and C) are not the recommended methods for resizing a Kubernetes cluster directly.