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 deep packet inspection and Layer 4–7 troubleshooting solution for internet-facing Compute Engine VMs tagged ext-app in us-central1. Your VPC network uses the 10.0.0.0/8 CIDR range, and your security appliances require unencapsulated raw TCP and UDP packet payloads.
To minimize bandwidth overhead and avoid disrupting active VM connections, you must meet these requirements:
10.0.0.0/8 VPC traffic from mirroring.Which configuration should you implement?
us-central1 with --is-mirroring-collector enabled on an L3_DEFAULT forwarding rule backed by a single high-throughput collector VM, and create a VPC Packet Mirroring policy targeting the ext-app tag with tcp and udp filters using !10.0.0.0/8 negation syntax.This option attempts to deploy a dedicated Packet Mirroring collector load balancer with a protocol-agnostic L3_DEFAULT forwarding rule, maximize per-VM capacity using a single large collector instance, and exclude internal traffic using !10.0.0.0/8 CIDR negation.
L3_DEFAULT forwarding rule: Google Cloud explicitly prohibits using the L3_DEFAULT IP protocol on a forwarding rule configured as a Packet Mirroring collector.!10.0.0.0/8 and will reject that syntax.130.211.0.0/22 and 35.191.0.0/16).TCP or UDP (often paired with --ports=all for VPC Packet Mirroring).The forwarding rule used TCP or UDP instead of L3_DEFAULT, the backend instance group contained at least two collector VMs, and the CIDR filter used the eight complementary IPv4 ranges instead of !10.0.0.0/8.
LoadBalancer Service in us-central1, and create a global network firewall policy with a DO_NOT_MIRROR rule for 10.0.0.0/8 at priority 100 to suppress internal traffic for a VPC Packet Mirroring policy that mirrors 0.0.0.0/0.This option attempts to use a GKE LoadBalancer Service as the Packet Mirroring collector destination while combining a Network Security Integration (NSI) global network firewall policy (DO_NOT_MIRROR rule) with an existing VPC Packet Mirroring policy to filter out internal traffic.
LoadBalancer Service as a Packet Mirroring collector is explicitly unsupported in Google Cloud; the collector must be a Compute Engine instance group behind an internal passthrough Network Load Balancer configured with --is-mirroring-collector.0.0.0.0/0 capture.MIRROR rules, NSI encapsulates replicated packets using GENEVE (UDP port 6081) rather than delivering unencapsulated raw packets.MIRROR and DO_NOT_MIRROR actions, along with destination port filtering and GENEVE encapsulation, belong exclusively to NSI out-of-band integration.LoadBalancer Services cannot act as collectors, traffic between Pods on the same GKE node can be mirrored as a source if Intranode visibility is enabled.The appliances supported GENEVE decapsulation, were deployed in a Compute Engine instance group behind a producer internal passthrough Network Load Balancer on UDP port 6081, and used NSI MIRROR and DO_NOT_MIRROR rules exclusively without relying on a VPC Packet Mirroring policy.
us-central1 to add --is-mirroring-collector to its forwarding rule, configure CLIENT_IP session affinity and backend subsetting on its backend service, and create a VPC Packet Mirroring policy at priority 100 for 0.0.0.0/0 alongside a priority 50 policy for 10.0.0.0/8.This approach attempts to repurpose an existing internal passthrough Network Load Balancer as a Packet Mirroring collector while relying on session affinity, backend subsetting, and policy priority ordering to scale collection and filter out internal 10.0.0.0/8 traffic.
--is-mirroring-collector flag must be set when the forwarding rule is first created and cannot be added to an existing forwarding rule.NONE (5-tuple hash) and backend subsetting disabled; configuring CLIENT_IP affinity and enabling subsetting violates collector prerequisites.1000 that cannot be changed to 100 or 50.0.0.0.0/0 and 10.0.0.0/8), VPC Packet Mirroring policies only mirror matched traffic to a collector rather than acting as a do-not-mirror exclusion rule.NONE ensures symmetric or balanced distribution across collector appliances.You created a brand-new forwarding rule with --is-mirroring-collector, configured the backend service with NONE session affinity and disabled subsetting, and replaced the overlapping 10.0.0.0/8 policy with complementary non-overlapping CIDR filters.
us-central1 backed by a managed instance group with at least two collector VMs, NONE session affinity, backend subsetting disabled, and --is-mirroring-collector enabled at forwarding rule creation; then create a VPC Packet Mirroring policy targeting the ext-app tag with tcp and udp protocols and the eight complementary CIDR ranges covering all IPv4 space except 10.0.0.0/8.VPC Packet Mirroring clones full ingress and egress packets—including raw Layer 4–7 payloads and headers—directly at the VM network interface without outer encapsulation and forwards them to an internal passthrough Network Load Balancer collector tier. Because VPC Packet Mirroring filters do not support CIDR negation syntax, excluding an internal range requires specifying the mathematical complement of that CIDR block.
10.0.0.0/8 traffic: Specifying the eight complementary IPv4 CIDR blocks (128.0.0.0/1, 64.0.0.0/2, 32.0.0.0/3, 16.0.0.0/4, 0.0.0.0/5, 12.0.0.0/6, 8.0.0.0/7, and 11.0.0.0/8) matches all external IPv4 addresses while leaving 10.0.0.0/8 unmirrored. Multiplying these 8 ranges by 2 protocols (tcp and udp) yields 16 filters, staying well within the maximum limit of 30 filters per policy.ext-app VMs.--is-mirroring-collector in us-central1, pairing it with a backend service using NONE (5-tuple hash) session affinity, and keeping backend subsetting disabled satisfies all collector requirements.10.0.0.0/8 traffic and non-TCP/UDP protocols reduces mirrored egress bandwidth consumption on the source VMs.ext-app network tag automatically includes existing and newly provisioned internet-facing VMs in the VPC.--is-mirroring-collector automatically drop any non-mirrored packets.This design adheres to every VPC Packet Mirroring load balancer constraint, stays under filter quotas, preserves unencapsulated Layer 4–7 inspection for tcp and udp, and eliminates single-instance collector outages that could disrupt production traffic.
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