PROFESSIONAL-CLOUD-ARCHITECT · Question #276
PROFESSIONAL-CLOUD-ARCHITECT Question #276: Real Exam Question with Answer & Explanation
The correct answer is C: Configure a HorizontalPodAutoscaler for all stateless workloads and for all compatible stateful. The company does not want to compromise availability of the application. So HPA is suitable option for autoscaling pods. Keeping the cost optimization in mind, nodes of the GKE cluster also needs to be autoscaled.
Question
Your company uses Google Kubernetes Engine (GKE) as a platform for all workloads. Your company has a single large GKE cluster that contains batch, stateful, and stateless workloads. The GKE cluster is configured with a single node pool with 200 nodes. Your company needs to reduce the cost of this cluster but does not want to compromise availability. What should you do?
Options
- ACreate a second GKE cluster for the batch workloads only. Allocate the 200 original nodes across
- BConfigure CPU and memory limits on the namespaces in the cluster. Configure all Pods to have a
- CConfigure a HorizontalPodAutoscaler for all stateless workloads and for all compatible stateful
- DChange the node pool to use preemptible VMs.
Explanation
The company does not want to compromise availability of the application. So HPA is suitable option for autoscaling pods. Keeping the cost optimization in mind, nodes of the GKE cluster also needs to be autoscaled.
Community Discussion
No community discussion yet for this question.