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 GKE Standard cluster (version 1.29) in a Shared VPC service project that is enclosed within a VPC Service Controls perimeter. The cluster requires two distinct node pools:
workload-pool: Runs sensitive multi-tenant microservices across multiple namespaces that must not initiate direct internet egress.gateway-pool: Runs egress gateway Pods that require outbound TCP port 443 access to external partner APIs.Your security team mandates the following requirements:
Which architecture and node pool configuration should you implement?
restricted.googleapis.com (199.36.153.4/30), and configure Cloud NAT for internet egress. Attach distinct IAM-governed GCE_FIREWALL secure tags (along with dedicated node service accounts and taints) to each node pool to enforce a network firewall policy that denies egress by default and allows TCP 443 only from gateway-pool. Enable GKE Network Policy and Intranode Visibility on the cluster, and define namespace-scoped NetworkPolicy rules.This architecture pairs node-pool-level private node isolation, IAM-governed GCE_FIREWALL secure tags, Cloud NAT, VPC Service Controls-compatible Private Google Access, GKE Network Policy, and Intranode Visibility to create a defense-in-depth topology across both the VPC and Kubernetes data planes.
workload-pool and gateway-pool removes all external IP addresses from cluster VMs. Because the cluster resides in a Shared VPC, Private Google Access is not automatically enabled by GKE and must be enabled manually on the host subnet. Resolving Google API traffic to restricted.googleapis.com (199.36.153.4/30) restricts access exclusively to Google Cloud APIs supported by VPC Service Controls, while Cloud NAT provides outbound internet connectivity for the private gateway-pool nodes.GCE_FIREWALL purpose (available in GKE 1.28+) allows global or regional network firewall policies to target each node pool independently. Combined with dedicated IAM service accounts and node taints/tolerations (so standard workloads cannot schedule onto gateway-pool), a low-priority default-deny egress rule blocks direct internet access from workload-pool, while a higher-priority rule permits TCP 443 egress solely from gateway-pool.NetworkPolicy rules at Layer 4 to stop lateral movement, and enabling Intranode Visibility ensures same-node Pod-to-Pod flows pass through the VPC network so they can be observed in VPC Flow Logs and inspected by network security controls.roles/resourcemanager.tagAdmin and roles/resourcemanager.tagUser govern who can create and bind firewall tags, preventing VM administrators from altering security posture.workload-pool.Unlike legacy network tags—which lack IAM controls and do not work with network firewall policies—or private.googleapis.com, which permits non-perimeter Google APIs, this design satisfies every VPC Service Controls, IAM governance, private networking, and Pod-level segmentation constraint simultaneously.
private.googleapis.com (199.36.153.8/30), and configure Cloud NAT for internet egress. Assign distinct --tags network tags to each node pool to enforce a global network firewall policy allowing TCP 443 only from gateway-pool. Rely on separate Kubernetes namespaces and Intranode Visibility to isolate Pod-to-Pod traffic across teams.This approach attempts to combine private node pools with automatic Private Google Access, the private.googleapis.com VIP range, legacy Compute Engine network tags (--tags) inside a global network firewall policy, and Kubernetes namespaces without enabling GKE Network Policy.
private.googleapis.com (199.36.153.8/30) allows access to Google APIs outside the VPC Service Controls boundary. Environments protected by VPC Service Controls require restricted.googleapis.com (199.36.153.4/30) to prevent data exfiltration.--tags) are simple text metadata without IAM access controls—any principal with the instanceAdmin role can modify them on running VMs. Furthermore, global and regional network firewall policies do not support network tags; they require IAM-governed secure tags (GCE_FIREWALL) or service accounts.NetworkPolicy objects applied, all Pod-to-Pod communication across namespaces remains open by default.private.googleapis.com supports standard private API access when a VPC Service Controls perimeter is not enforced.Private Google Access were manually enabled on the Shared VPC subnet using restricted.googleapis.com, legacy --tags were replaced with GCE_FIREWALL secure tags, and GKE Network Policy were enabled with explicit NetworkPolicy manifests.
workload-pool while keeping gateway-pool nodes public with external IP addresses, and configure Cloud Service Mesh egress routing from workload-pool through gateway-pool without applying a default-deny egress firewall rule to workload-pool. Assign custom network tags (--tags) to each node pool for VPC firewall rule filtering, and enable GKE Network Policy with NetworkPolicy rules while omitting Intranode Visibility.This design keeps gateway-pool nodes publicly addressable, depends solely on Cloud Service Mesh routing to channel egress traffic, uses legacy network tags (--tags) with traditional VPC firewall rules, and enables GKE Network Policy without Intranode Visibility.
gateway-pool nodes with external IP addresses exposes those Compute Engine VMs directly to the public internet rather than isolating both node pools as private nodes behind Cloud NAT.workload-pool leaves the cluster vulnerable because workloads can bypass sidecar iptables interception and connect directly to external hosts.--tags network tags are mutable VM metadata lacking IAM governance—administrators with VM management permissions can alter them—and they cannot be used in IAM-governed network firewall policies.gateway-pool, Cloud NAT (or a custom NAT gateway) is required for outbound partner API traffic.Both node pools used private nodes with Cloud NAT for egress, GCE_FIREWALL secure tags (or service accounts) enforced a default-deny egress network firewall policy on workload-pool, and Intranode Visibility were enabled alongside Network Policy.
restricted.googleapis.com (199.36.153.4/30), and configure Cloud NAT for internet egress. Create network-scoped (purpose-data=network) GCE_FIREWALL tags for each node pool and target them in a hierarchical firewall policy at the folder level. Enable Intranode Visibility and deploy Pods into separate namespaces without configuring NetworkPolicy objects so that default VPC ingress deny rules block lateral Pod traffic.This option correctly uses private nodes, manual Private Google Access on the Shared VPC subnet with restricted.googleapis.com, and Cloud NAT, but attempts to apply network-scoped secure tags (purpose-data=network) within a hierarchical firewall policy and relies on namespaces plus VPC default ingress rules instead of Kubernetes NetworkPolicy.
organization=auto). They do not support network-scoped tags (purpose-data=network), which are permanently confined to a single VPC network and can only be referenced in global or regional network firewall policies.GCE_FIREWALL purpose, and purpose-data scope cannot be changed after creation, so choosing network scope precludes later use in hierarchical policies.NetworkPolicy enforcement to restrict unauthorized lateral connections at Layer 4.The secure tags were created with organization scope (purpose-data=organization=auto) for the hierarchical firewall policy (or applied via a network firewall policy), and GKE Network Policy were enabled with NetworkPolicy rules restricting Pod-to-Pod traffic across namespaces.
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