Google Cloud Associate Cloud Engineer — Question 57
You are operating a Google Kubernetes Engine (GKE) cluster for your company where different teams can run non-production workloads. Your Machine Learning
(ML) team needs access to Nvidia Tesla P100 GPUs to train their models. You want to minimize effort and cost. What should you do?
Answer options
- A. Ask your ML team to add the ג€accelerator: gpuג€ annotation to their pod specification.
- B. Recreate all the nodes of the GKE cluster to enable GPUs on all of them.
- C. Create your own Kubernetes cluster on top of Compute Engine with nodes that have GPUs. Dedicate this cluster to your ML team.
- D. Add a new, GPU-enabled, node pool to the GKE cluster. Ask your ML team to add the cloud.google.com/gke -accelerator: nvidia-tesla-p100 nodeSelector to their pod specification.
Correct answer: D
Explanation
The correct answer is D because it allows you to add a specific node pool with GPU capabilities to the existing GKE cluster, which is efficient and cost-effective. Option A does not provision GPUs, while B requires unnecessary rebuilding of nodes and C involves creating a separate cluster, which increases complexity and cost.