Google Cloud Professional Cloud Architect — Question 244

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?

Answer options

Correct answer: C

Explanation

The correct answer is C because configuring a HorizontalPodAutoscaler allows for dynamic scaling of workloads based on demand, which helps optimize resource usage and reduce costs. Options A and B may not effectively reduce costs while preserving availability, and option D, while potentially cheaper, introduces the risk of node unavailability due to the transient nature of preemptible VMs.