Ultimate access to all questions.
Your Kubernetes cluster, currently with a single node-pool, is experiencing high traffic and requires expansion by adding a node. What is the correct approach to achieve this?
Explanation:
The correct answer is C because the Kubernetes cluster can be resized using the gcloud
command. Specifically, the command gcloud container clusters resize [CLUSTER_NAME] –node-pool [POOL_NAME] –size [SIZE]
is used for this purpose. Option B is incorrect as the kubectl
command cannot resize the cluster. Options A and D are also incorrect because manually editing the managed instance groups is not the recommended approach for resizing a Kubernetes cluster.