QuestionQ301

Designing and planning a Google Cloud Virtual Private Cloud (VPC) network

You must design an address plan for a future new GKE cluster in your VPC. The cluster will be VPC-native and will use the default Pod IP range allocation. Before creating the cluster, you must pre-provision all required VPC subnets and their corresponding IP address ranges. The cluster will initially contain one node, but may need to scale to a maximum of three nodes. You want to assign the minimum number of Pod IP addresses.

Which subnet mask should be used for the Pod IP address range?

  • A /21
  • B /22
  • C /23
  • D /25
Explanation

With the default GKE Standard Pod allocation, every node receives a /24 Pod CIDR containing 256 addresses. Supporting up to three nodes requires three such blocks (768 addresses); a /22 range supplies 1,024 addresses and is the smallest listed range that accommodates them.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!