
Answer-first summary for fast verification
Answer: Enable autoscaling on the GKE cluster's node pool with defined minimum and maximum sizes to automatically adjust the number of nodes.
Option C is correct because enabling autoscaling on the GKE cluster's node pool allows the cluster to automatically adjust the number of nodes based on the workload, ensuring efficient handling of varying demands without manual intervention. Options A and B focus on scaling application pods within the cluster but do not address the scaling of the cluster's infrastructure. Option D requires manual scaling efforts for each application, which is not efficient for automated scaling. For more information, refer to Google's documentation on [cluster autoscaler](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler) and [how to use cluster autoscaler](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-autoscaler#adding_a_node_pool_with_autoscaling).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company is developing a video-sharing application and aims to utilize a single Google Kubernetes Engine (GKE) cluster for hosting multiple applications. As a cloud engineer, your goal is to ensure the cluster can automatically scale with the increasing number of videos. What is the most efficient approach to achieve automated scaling?
A
Configure a VerticalPodAutoscaler for each deployment to adjust resources based on demand.
B
Implement a HorizontalPodAutoscaler for each deployment to scale the number of pods based on CPU/memory usage.
C
Enable autoscaling on the GKE cluster's node pool with defined minimum and maximum sizes to automatically adjust the number of nodes.
D
Assign a dedicated node pool for each application and manually manage scaling as needed.
No comments yet.