
Answer-first summary for fast verification
Answer: Create a cluster on Kubernetes Engine and enable autoscaling on Kubernetes Engine.
The correct approach is to create a cluster on Kubernetes Engine and enable autoscaling on Kubernetes Engine. This is because GKE's cluster autoscaler automatically adjusts the size of your clusters based on the workload demands. When enabled, it adds new nodes to your cluster if there's insufficient capacity for new Pods, and removes underutilized nodes if their Pods can be accommodated elsewhere. This ensures you only pay for the resources you need, while automatically scaling to meet demand. Options A, B, and D are incorrect because they either involve unmanageable groups, manual Kubernetes management, or incorrect autoscaling configurations.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
To set up a Kubernetes Cluster on Google Cloud Platform with the capability to autoscale worker nodes, which action should you take?
A
Configure a Compute Engine instance as a worker and add it to an unmanaged instance group. Add a load balancer to the instance group and rely on the load balancer to create additional Compute Engine instances when needed.
B
Create Compute Engine instances for the workers and the master and install Kubernetes. Rely on Kubernetes to create additional Compute Engine instances when needed.
C
Create a cluster on Kubernetes Engine and enable autoscaling on Kubernetes Engine.
D
Create a cluster on Kubernetes Engine and enable autoscaling on the instance group of the cluster.
No comments yet.