Google Cloud Professional Cloud Network Engineer — Question 214

Your organization's application is running on a VPC-native GKE Standard cluster with public IP addresses. You need to configure access to the remote address range 35.100.0.0/16 through Cloud NAT, instead of using the GKE nodes' external IP addresses. SNAT is enabled on the cluster and needs to be configured. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because removing the 35.100.0.0/16 range from the nonMasqueradeCIDRs allows traffic to be routed through Cloud NAT, preventing the GKE nodes' external IP addresses from being used. Option A is incorrect since including the range would result in traffic not being routed through Cloud NAT. Options C and D are also incorrect as they do not properly address the need to exclude the specified range from node IP usage.