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 the subnet architecture for a VPC-native Google Kubernetes Engine (GKE) cluster and supporting Compute Engine VMs in a custom mode VPC network. The cluster uses a /24 primary subnet range (10.10.0.0/24) for nodes and secondary ranges for Pods and Services. Your architecture must meet these requirements:
LoadBalancer Services (internal passthrough Network Load Balancers) without exhausting node IPs or blocking cluster autoscaling.Which design and IP allocation strategy should you implement?
This strategy keeps the 180 internal load balancers inside the /24 GKE node subnet primary range, assumes the secondary Service range can undergo CIDR expansion for future VIP growth, and uses static routes pointing to VM Alias IP addresses as next hops.
10.10.0.0/24 severely restricts node autoscaling and prevents separating firewall controls between GKE nodes and internal load balancer services.next-hop-address falls inside an Alias IP range, Google Cloud does not program that route and treats the next hop as down.LoadBalancer Services draw VIPs from the primary subnet range, not the Kubernetes ClusterIP Service secondary range.The organization deployed a separate primary subnet for internal load balancers, sized secondary Service ranges accurately up front, and targeted primary VM NIC IPs rather than Alias IPs as static route next hops.
nic1) on each VM so Google Cloud automatically configures guest routing and source service account firewall matching.This option attempts to reserve static internal IP addresses out of the GKE cluster's Service secondary CIDR range for internal load balancers while placing VM Alias IP ranges onto a secondary network interface (nic1) and using source service accounts in firewall rules.
ClusterIP) secondary CIDR range is dedicated to virtual Kubernetes Service IPs and cannot be expanded or modified during the cluster's lifetime.nic1: Google Cloud only configures local guest OS routing automatically for Alias IP ranges attached to a VM's primary network interface (nic0). Alias IPs on secondary interfaces (nic1) require manual policy routing inside the guest OS./32 Alias IP), but never from a secondary range.Static IP reservations and internal load balancers were placed in a primary subnet range, Alias IPs were attached to nic0 (or configured with explicit policy routing on nic1), and firewall rules used source CIDR ranges instead of source service accounts.
--source-ranges) to filter traffic from the VM Alias IP ranges.This design pairs a dedicated load balancer subnet for internal passthrough Network Load Balancer forwarding rules with CIDR-based VPC firewall rules (--source-ranges) for Alias IP traffic filtering. Because internal load balancer forwarding rules draw IPv4 addresses exclusively from a subnet's primary IPv4 range, isolating them into their own subnet protects the GKE node subnet from address depletion.
/24 primary range provides only 252 usable IPv4 addresses (after subtracting the four reserved system addresses). Placing 180 internal load balancers in the node subnet would leave room for only 72 nodes. Offloading forwarding rules to a separate subnet preserves the entire /24 range for GKE nodes.--source-ranges) accurately matches egress and ingress traffic originating from Alias IP addresses.LoadBalancer provisioning from node pool scaling limits.Unlike attempting to place load balancers in secondary ranges (which is unsupported) or relying on network tags for Alias IP filtering (which fails to match Alias IP packets), this architecture aligns with VPC subnet allocation rules and GKE networking best practices without disrupting workloads.
This approach attempts to add a secondary IPv4 CIDR range to the existing node subnet to host internal load balancer forwarding rules while relying on VPC firewall source tags to identify traffic originating from VM Alias IP ranges.
Instead of internal load balancers, the additional IP space was needed solely for VM Alias IP addresses or GKE Pod CIDRs, and firewall filtering used explicit source IP CIDR ranges (--source-ranges) rather than source tags.
A frequent misconception is that any internal subnet range behaves identically. Because secondary ranges cannot be used for load balancer forwarding rules or static internal IP reservations, a separate subnet with its own primary range is required to offload internal load balancer IPs.
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