Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
You are managing a Google Kubernetes Engine (GKE) cluster and want it to handle variable CPU loads by automatically adding or removing nodes. How should you configure the cluster to achieve this?
A
Configure a HorizontalPodAutoscaler with a target CPU usage. Enable the Cluster Autoscaler from the GCP Console.
B
Configure a HorizontalPodAutoscaler with a target CPU usage. Enable autoscaling on the managed instance group for the cluster using the gcloud command.
C
Create a deployment and set the maxUnavailable and maxSurge properties. Enable the Cluster Autoscaler using the gcloud command.
D
Create a deployment and set the maxUnavailable and maxSurge properties. Enable autoscaling on the cluster managed instance group from the GCP Console.