
Answer-first summary for fast verification
Answer: /22
In GKE VPC-native clusters using default Pod IP allocation, each node requires a /24 CIDR block (256 IPs). For a maximum of 3 nodes, the total required Pod IPs are 3 * 256 = 768. The smallest subnet that can accommodate this is a /22 (1024 IPs), as a /23 (512 IPs) is insufficient. Thus, the minimal mask ensuring sufficient capacity is /22.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You need to design an IP address plan for an upcoming GKE cluster in your VPC. This will be a VPC-native cluster using the default Pod IP range allocation. All required VPC subnets and their corresponding IP ranges must be pre-provisioned before cluster creation. The cluster will start with one node but may scale up to a maximum of three nodes. You aim to allocate the smallest possible number of Pod IP addresses.
What subnet mask should you assign to the Pod IP address range?
A
/21
B
/22
C
/23
D
/25
No comments yet.