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 dual-stack (IPv4/IPv6) Google Kubernetes Engine (GKE) Standard architecture in Google Cloud. Your deployment must satisfy the following requirements:
fd20::/20) for private VPC and hybrid communication alongside private IPv4 addresses.ClusterIP Services.LoadBalancer Service must expose a workload to both IPv4 and IPv6 internet clients.Which VPC and GKE configuration meets all of these requirements?
Auto-mode VPC networks automatically pre-create IPv4 subnets in every Google Cloud region using predefined 10.128.0.0/9 CIDR blocks. Secondary subnet ranges in VPC-native GKE clusters are traditionally configured for IPv4 Pod and ClusterIP Service alias IP allocations.
/112 ranges from each node's /96 primary subnet allocation, and Services automatically use a /112 range from Google's reserved 2600:2D00:0:4::0:0/64 block.LoadBalancer Service on an INTERNAL subnet without referencing a separate EXTERNAL subnet fails, and spec.loadBalancerIP cannot be used to specify IPv6 addresses (networking.gke.io/load-balancer-ip-addresses is required for static IPv6).ClusterIP Service ranges in dual-stack clusters.LoadBalancer Services are supported only in Premium Tier and require an EXTERNAL subnet (or a BYOIPv6 prefix for single-stack IPv6).No such configuration is valid in Google Cloud because auto-mode VPCs, manual secondary IPv6 ranges for Pods/Services, and spec.loadBalancerIP for IPv6 are all unsupported in GKE dual-stack networking.
Engineers familiar with IPv4 VPC-native clusters often try to define secondary IPv6 CIDR ranges for Pods and Services. In GKE dual-stack IPAM, only IPv4 uses traditional secondary subnet ranges, whereas IPv6 subdivides the primary /64 subnet into per-node /96 and per-node Pod /112 ranges.
Configuring a subnet with --ipv6-access-type=EXTERNAL allocates a /64 Global Unicast Address (GUA) range from Google's public IPv6 pool (2600:1900/28), enabling direct internet routability for IPv6 traffic. Meanwhile, the --enable-private-nodes flag configures GKE nodes without external IPv4 addresses so that node-level IPv4 control-plane and external access remain private.
--ipv6-access-type=EXTERNAL assigns globally routable public IPv6 GUA addresses to every node (/96) and Pod (/112), rather than private Unique Local Addresses (ULAs) from fd20::/20.--enable-private-nodes affects only the IPv4 addresses of the cluster nodes and has no effect on IPv6 addressing or public IPv6 routability.INTERNAL vs. EXTERNAL) is immutable once set on the subnet./64 subnet splits its address space into two /65 halves: the first /65 is reserved for VM instances (GKE nodes and Pods), and the second /65 is reserved for Cloud Load Balancing.EXTERNAL IPv6 subnet use publicly routable GUA addresses.The requirements permitted globally routable GUA IPv6 addresses on nodes and Pods, and only required hiding the IPv4 addresses of the worker nodes from the public internet.
Many network architects mistakenly assume --enable-private-nodes isolates both IPv4 and IPv6 node interfaces. In GKE dual-stack networking, IPv6 privacy is controlled strictly by the subnet's --ipv6-access-type (INTERNAL for fd20::/20 ULA vs. EXTERNAL for public GUA), not by private node flags.
This architecture pairs an internal dual-stack VPC subnet (fd20::/20 ULA space) for GKE cluster nodes and Pods with a dedicated external dual-stack VPC subnet for public Layer 4 load balancer frontends. By separating cluster compute addressing from load balancer VIP allocation, organizations maintain private internal IPv6 routing while exposing specific dual-stack Services externally.
--enable-ula-internal-ipv6 assigns a unique /48 ULA prefix from fd20::/20 to the custom-mode VPC. Creating the cluster subnet with --ipv6-access-type=INTERNAL allocates a /64 ULA range from that /48 block. GKE assigns each node a /96 range from the /64 subnet and each node's Pods a /112 subrange from the node's /96, keeping all node and Pod IPv6 traffic non-routable on the public internet.--enable-ip-alias) with GKE Dataplane V2 and --stack-type=ipv4-ipv6 on a custom-mode VPC gives every node and Pod both IPv4 and IPv6 addresses. Dual-stack ClusterIP Services receive IPv4 addresses from a secondary subnet range (or 34.118.224.0/20) and IPv6 addresses from a GKE-managed /112 range within 2600:2D00:0:4::0:0/64.LoadBalancer Service cannot allocate a public IPv6 forwarding rule from an INTERNAL ULA subnet, provisioning a separate EXTERNAL dual-stack /64 subnet in the same VPC and region and referencing it via the networking.gke.io/load-balancer-subnet annotation supplies the external /96 IPv6 range alongside a regional external IPv4 VIP./48 ULA prefix is unique, preventing routing conflicts across VPC Network Peering and hybrid Cloud Interconnect/VPN topologies.ClusterIP, NodePort, and LoadBalancer Services.Unlike relying on --enable-private-nodes with an EXTERNAL subnet (which still exposes nodes and Pods to public GUA addressing) or using --additional-ip-ranges (which applies only to IPv4), using an INTERNAL cluster subnet with a custom EXTERNAL LoadBalancer subnet satisfies strict private Pod addressing and public dual-stack ingress simultaneously.
--additional-ip-ranges) DoThe --additional-ip-ranges flag allows a VPC-native GKE cluster to use up to eight non-default subnets in the same VPC and region so that newly created node pools can scale beyond the IPv4 capacity of the cluster's default subnet.
--additional-ip-ranges provide only IPv4 addresses for nodes and Pods on new node pools. They cannot supply IPv6 ranges for nodes, Pods, or LoadBalancer Services.ipFamilyPolicy: RequireDualStack instructs Kubernetes to allocate both IPv4 and IPv6 addresses for the Service, but without the networking.gke.io/load-balancer-subnet annotation, GKE attempts to provision the external IPv6 forwarding rule from the cluster's default INTERNAL ULA subnet, which fails.--additional-ip-ranges) apply exclusively to IPv4 node and Pod range expansion on new node pools.LoadBalancer Services on an INTERNAL IPv6 cluster subnet work automatically without annotations, whereas external LoadBalancer Services require an explicit EXTERNAL subnet annotation.LoadBalancer Services require GKE version 1.29 or later and must use Premium Tier for external IPv6 forwarding rules.Instead of attaching the EXTERNAL subnet with --additional-ip-ranges, the EXTERNAL dual-stack /64 subnet were referenced directly on the Service manifest using the networking.gke.io/load-balancer-subnet annotation.
Do not confuse cluster multi-subnet expansion (--additional-ip-ranges for scaling IPv4 node pools) with LoadBalancer custom subnet selection (networking.gke.io/load-balancer-subnet). Only the LoadBalancer annotation directs GKE to allocate a regional external passthrough Network Load Balancer's /96 IPv6 forwarding rule from a separate EXTERNAL subnet.
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