Google Cloud Professional Cloud Developer — Question 340
You are deploying new workloads on a GKE Autopilot mode cluster. You need to ensure that the Pods are scheduled on nodes that use Arm architecture CPUs. The cluster currently has no Arm-based CPUs. You want to minimize cluster operations. How should you ensure that the workloads on the GKE cluster will use Arm-based CPU nodes?
Answer options
- A. Apply Pod tolerations to request GKE to avoid scheduling Pods on nodes that do not have Arm-based CPUs.
- B. Apply node taints on node pools to tell GKE to only schedule your workloads on Arm-based CPU nodes.
- C. Deploy a new cluster in GKE Standard mode, and set up a node pool with Arm-based CPU nodes. Use nodeSelector in your manifest to ensure that Pods are scheduled in this node pool.
- D. Request the Scale-out compute class and the arm64 architecture in your manifest.
Correct answer: D
Explanation
The correct answer is D, as it directly specifies the requirement for Arm architecture in the manifest, ensuring the workloads are deployed on the appropriate nodes. Options A and B focus on controlling scheduling behavior without addressing the need for Arm CPUs. Option C suggests creating a new cluster, which would increase operational complexity rather than minimizing it.