GCP ACE · Question 34 · Domain 4.2: Managing GKE resources
Your GKE cluster is running out of capacity. You need to permanently increase the number of nodes in an existing node pool named 'pool-1' from 3 to 5.
Which TWO methods can you use to achieve this? (Select TWO)
Answer options:
Use the Cloud Console to edit the node pool and change the size to 5.
Run the command: kubectl scale node-pool pool-1 --replicas=5
Run the command: gcloud container clusters resize [CLUSTER_NAME] --node-pool pool-1 --num-nodes 5
Create a new node pool with 5 nodes and delete the old one.
Run the command: gcloud compute instance-groups managed resize pool-1 --size 5
50 questions · hints · full answers · grading