Google Cloud Professional Cloud Network Engineer — Question 68
You need to define an address plan for a future new GKE cluster in your VPC. This will be a VPC native cluster, and the default Pod IP range allocation will be used. You must pre-provision all the needed VPC subnets and their respective IP address ranges before cluster creation. The cluster will initially have a single node, but it will be scaled to a maximum of three nodes if necessary. You want to allocate the minimum number of Pod IP addresses.
Which subnet mask should you use for the Pod IP address range?
Answer options
- A. /21
- B. /22
- C. /23
- D. /25
Correct answer: B
Explanation
The correct answer is /22 because it provides 1024 IP addresses, which is sufficient for a cluster that can expand up to three nodes while minimizing waste. The other options, /21 and /23, offer more IP addresses than necessary, while /25 only provides 128 addresses, which would not be adequate for scaling.