LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


You've created a Kubernetes engine cluster named 'my-gcp-ace-proj-1', which has a cluster pool named 'my-gcp-ace-primary-node-pool'. To meet increasing capacity demands, you need to increase the number of nodes within your cluster pool from 10 to 20. What is the correct command to achieve this?

Real Exam



Explanation:

The correct command is gcloud container clusters resize my-gcp-ace-proj-1 --node-pool my-gcp-ace-primary-node-pool --num-nodes 20. This command uses the --num-nodes parameter to specify the target number of nodes in the cluster pool. The other options are incorrect for the following reasons:

  • Option A uses gcloud container clusters update, which cannot be used to change the number of nodes.
  • Option C incorrectly uses kubectl, which does not accept 'container' as an operation.
  • Option D uses --new-size, which is not a supported parameter for the gcloud container clusters resize command. The --size parameter is deprecated in favor of --num-nodes.

For more information, refer to the Google Cloud SDK documentation.

Powered ByGPT-5