Google Cloud Associate Cloud Engineer — Question 76
A team of data scientists infrequently needs to use a Google Kubernetes Engine (GKE) cluster that you manage. They require GPUs for some long-running, non- restartable jobs. You want to minimize cost. What should you do?
Answer options
- A. Enable node auto-provisioning on the GKE cluster.
- B. Create a VerticalPodAutscaler for those workloads.
- C. Create a node pool with preemptible VMs and GPUs attached to those VMs.
- D. Create a node pool of instances with GPUs, and enable autoscaling on this node pool with a minimum size of 1.
Correct answer: A
Explanation
Enabling node auto-provisioning allows GKE to automatically create and manage nodes based on the workload demands, which can help reduce costs by scaling down when the GPUs are not needed. The other options either involve maintaining dedicated resources that may lead to higher costs or do not provide the same level of cost efficiency for infrequent usage.