- A
Enable Packet Mirroring.
Why wrong: Packet Mirroring sends traffic to external tools; not needed for policy monitoring.
- B
Use Cloud IDS to monitor traffic.
Why wrong: Cloud IDS detects threats, not policy violations.
- C
Use VPC firewall rules with pod IP ranges.
Why wrong: VPC firewall rules cannot apply to pod IP ranges directly.
- D
Enable GKE Dataplane V2 and use Kubernetes Network Policies with audit logging.
Dataplane V2 natively enforces network policies and audit logs record violations.
Quick Answer
The answer is to enable GKE Dataplane V2 and use Kubernetes Network Policies with audit logging. This is correct because Dataplane V2 leverages eBPF to enforce network policies directly in the Linux kernel, bypassing userspace overhead and providing native, high-performance micro-segmentation for pod-to-pod traffic. By enabling audit logging on the cluster, every allowed or denied policy action is captured in Cloud Logging, allowing you to monitor policy violations without deploying separate third-party tools. On the Google Professional Cloud Network Engineer exam, this scenario tests your understanding of how Dataplane V2 differs from traditional kube-proxy or Calico-based setups—a common trap is assuming you need a separate firewall or service mesh for visibility. Remember the key insight: with Dataplane V2, eBPF does both the enforcement and the logging in-kernel, so audit logging is a built-in feature, not an add-on. Memory tip: “eBPF enforces and logs—no extra cogs.”
PCNE Implementing network security Practice Question
This PCNE practice question tests your understanding of implementing network security. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company is deploying a GKE cluster with Dataplane V2 and wants to enforce micro-segmentation using network policies. They also need to monitor policy violations. What should they do?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Enable GKE Dataplane V2 and use Kubernetes Network Policies with audit logging.
Option D is correct because Dataplane V2 uses eBPF to implement Kubernetes Network Policies directly in the kernel, providing native support for micro-segmentation. Enabling audit logging on the cluster captures denied or allowed policy actions, allowing the company to monitor policy violations without additional infrastructure.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable Packet Mirroring.
Why it's wrong here
Packet Mirroring sends traffic to external tools; not needed for policy monitoring.
- ✗
Use Cloud IDS to monitor traffic.
Why it's wrong here
Cloud IDS detects threats, not policy violations.
- ✗
Use VPC firewall rules with pod IP ranges.
Why it's wrong here
VPC firewall rules cannot apply to pod IP ranges directly.
- ✓
Enable GKE Dataplane V2 and use Kubernetes Network Policies with audit logging.
Why this is correct
Dataplane V2 natively enforces network policies and audit logs record violations.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates confuse VPC firewall rules (Option C) with Kubernetes Network Policies, not realizing that VPC firewalls cannot enforce pod-level segmentation because they lack pod IP awareness and are applied at the node or subnet level.
Detailed technical explanation
How to think about this question
Dataplane V2 leverages eBPF to program the Linux kernel with network policy rules, enabling per-pod enforcement without needing iptables or kube-proxy modifications. Audit logging for network policies captures events such as 'allowed' or 'denied' connections, which can be exported to Cloud Logging for analysis; this is distinct from traditional flow logs. In a real-world scenario, a security team could set up log-based alerts for denied traffic patterns to detect misconfigurations or attempted lateral movement.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Implementing network security — study guide chapter
Learn the concepts, then practise the questions
- →
Implementing network security practice questions
Targeted practice on this topic area only
- →
All PCNE questions
497 questions across all exam domains
- →
Google Professional Cloud Network Engineer study guide
Full concept coverage aligned to exam objectives
- →
PCNE practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PCNE practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Designing, planning, and prototyping a GCP network practice questions
Practise PCNE questions linked to Designing, planning, and prototyping a GCP network.
Implementing hybrid interconnectivity practice questions
Practise PCNE questions linked to Implementing hybrid interconnectivity.
Configuring network services practice questions
Practise PCNE questions linked to Configuring network services.
Implementing network security practice questions
Practise PCNE questions linked to Implementing network security.
Implementing a Virtual Private Cloud practice questions
Practise PCNE questions linked to Implementing a Virtual Private Cloud.
PCNE fundamentals practice questions
Practise PCNE questions linked to PCNE fundamentals.
PCNE scenario practice questions
Practise PCNE questions linked to PCNE scenario.
PCNE troubleshooting practice questions
Practise PCNE questions linked to PCNE troubleshooting.
Practice this exam
Start a free PCNE practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this PCNE question test?
Implementing network security — This question tests Implementing network security — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Enable GKE Dataplane V2 and use Kubernetes Network Policies with audit logging. — Option D is correct because Dataplane V2 uses eBPF to implement Kubernetes Network Policies directly in the kernel, providing native support for micro-segmentation. Enabling audit logging on the cluster captures denied or allowed policy actions, allowing the company to monitor policy violations without additional infrastructure.
What should I do if I get this PCNE question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More PCNE practice questions
- An organization is migrating to Google Cloud and requires connectivity between their on-premises network and VPC. They p…
- A company is migrating on-premises DNS to Google Cloud. They have a hybrid network using Cloud VPN and want to resolve o…
- A network engineer is configuring a Cloud Router for BGP peering with an on-premises router over a VPN tunnel. The on-pr…
- A company uses Cloud NAT to allow private instances to reach the internet. They notice that egress traffic from Compute…
- Match each VPC networking concept to its definition.
- Drag and drop the steps to troubleshoot a VPN tunnel that is not passing traffic into the correct order.
Last reviewed: Jun 25, 2026
This PCNE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCNE exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.