Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Cloud Network Engineer practice bank has an additional 2,437 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
You are designing a VPC-native GKE Standard cluster configured with dual-stack (IPv4 and IPv6) networking and Private Service Connect enabled (using the cluster subnet for the control plane endpoint without --private-endpoint-subnetwork). Your network team assigns a dual-stack subnet with a /64 IPv6 CIDR and the following IPv4 parameters:
10.10.0.0/2310.20.0.0/1810.30.0.0/22--default-max-pods-per-node): 64You plan to eventually scale the cluster to 400 nodes and 2,000 Services.
How should you evaluate the cluster's current scale capacity and growth constraints?
/24 alias range per node and provisions Services from the 34.118.224.0/20 GKE-managed range, requiring a smaller --max-pods-per-node node pool to reach 400 nodes.This option assumes GKE always allocates the default /24 alias IP range (256 addresses) per node regardless of --default-max-pods-per-node and assumes the cluster uses the default GKE-managed Service range (34.118.224.0/20) rather than the explicitly assigned 10.30.0.0/22 range.
--default-max-pods-per-node=64: A /24 block per node is only used for the default limit of 110 Pods per node (or values from 65 to 128). Because --default-max-pods-per-node is explicitly set to 64, GKE allocates a /25 block (128 addresses) per node, doubling the cluster capacity from 64 nodes (4,096 Pods) to 128 nodes (8,192 Pods).34.118.224.0/20 (4,096 Services) by default when no custom range is provided, this cluster is explicitly configured with a user-specified /22 secondary range (10.30.0.0/22), which limits the cluster to 1,024 Services.--max-pods-per-node and additional Pod ranges to reach 400 nodes, the cluster still could not support 2,000 Services.max-pods-per-node at cluster or node pool creation customizes the per-node alias block (/28 for 8, /27 for 9–16, /26 for 17–32, /25 for 33–64, /24 for 65–128).--services-ipv4-cidr or --services-secondary-range-name overrides the default 34.118.224.0/20 allocation.--default-max-pods-per-node=110 (resulting in /24 blocks and 64 nodes) and omitted the custom 10.30.0.0/22 Service range so that GKE used the default 34.118.224.0/20 range./96 node/Pod range and a /112 Service range, allowing the cluster to fall back to IPv6-only addressing once the IPv4 ranges are exhausted.This option assumes that the primary subnet's 507-node capacity dictates the cluster's node ceiling and that enabling dual-stack networking allows GKE to bypass IPv4 exhaustion by falling back to IPv6 addressing for Pods and Services.
10.10.0.0/23 with PSC) can host 507 nodes, GKE requires both a primary node IPv4 address and a dedicated per-node Pod CIDR block (/25) from the secondary Pod range (10.20.0.0/18). Because the /18 range only contains 128 /25 blocks, node scaling stops at 128 nodes, not 507./112 block (65,536 IPv6 addresses) from 2600:2D00:0:4::0:0/64 for Services, the IPv4 10.30.0.0/22 range restricts the cluster to 1,024 Services./96 node ranges directly from a /64 subnet and /112 Pod/Service ranges exclusively in IPv6.ClusterIP Services from a /112 range), rather than a dual-stack cluster./26), allowing you to expand both the Pod and Service secondary ranges later to reach 400 nodes and 2,000 Services.This option assumes that setting --default-max-pods-per-node=64 causes GKE to assign an exact /26 block (64 IPv4 addresses) per node and that both Pod and Service secondary IPv4 ranges can be expanded in place after cluster creation.
2 × 64 = 128 addresses, or a /25 block). Assigning a /26 block only occurs when --max-pods-per-node is set to 32 or fewer. Using /25 cuts the /18 Pod range capacity in half from 256 nodes to 128 nodes and 8,192 Pods.2^(ceil(log2(2 * max_pods_per_node))) Pod IPs from the secondary Pod range regardless of how many Pods are actively running.10.30.0.0/22 is bound to the cluster for ClusterIP Services, it cannot be resized or supplemented with additional Service ranges.--default-max-pods-per-node=32 (yielding /26 blocks and 256 nodes, though still only 256 × 32 = 8,192 Pods) and the Service range had initially been sized at /21 (2,048 Services) or larger.In a VPC-native dual-stack GKE cluster, maximum cluster scale is determined by the most restrictive IP address range across nodes, Pods, and Services. Even though IPv6 provides vast address space, every node, Pod, and Service in a dual-stack cluster still requires a unique IPv4 address, making IPv4 the primary scaling constraint.
10.10.0.0/23):
/23 CIDR provides 2^(32 - 23) = 512 IPv4 addresses.508 usable addresses.--private-endpoint-subnetwork, the control plane endpoint consumes 1 IP from the primary subnet, allowing up to 507 nodes.10.20.0.0/18):
M = 31 - ceil(log2(64)) = 25), giving each node a /25 block (128 addresses)./18 Pod range (16,384 addresses) by /25 (128 addresses per node) yields 2^(14 - 7) = 128 maximum nodes.128 < 507, the Pod range bottlenecks the cluster at 128 nodes and 128 × 64 = 8,192 Pods.10.30.0.0/22):
2^(32 - 22) = 1,024 Services./96 IPv6 block per node and a /112 IPv6 range (65,536 addresses) for Services from 2600:2D00:0:4::0:0/64, but IPv6 does not alleviate IPv4 exhaustion in dual-stack mode./23 already supports 507 nodes)./21) or performing a blue-green migration to a single-stack IPv6 cluster.This assessment accurately accounts for Google Cloud's 4 reserved primary IPs, the PSC endpoint IP, GKE's 2x per-node Pod CIDR allocation formula, dual-stack IPv4 dependencies, and the critical immutability constraint on Service secondary ranges.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated