PCNE Implementing VPC Instances Practice Question
An organization needs to prevent exfiltration of data from a Cloud Storage bucket to external IPs. The bucket is accessed by Compute Engine instances in a VPC. The instances need to read and write data to the bucket but should not be able to copy data to external networks. Which combination of controls meets this requirement?
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
✓
Configure VPC Service Controls with a service perimeter that includes the VPC and the Cloud Storage bucket.
VPC Service Controls create a service perimeter that restricts data movement between Google services and external networks. Within the perimeter, data can flow between authorized services. IAM conditions can further restrict access based on context. This is the primary method to prevent data exfiltration from Google Cloud-managed services.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use Cloud Armor with a WAF rule to block outbound traffic.
Why it's wrong here
Cloud Armor is for load-balanced traffic, not for data exfiltration prevention.
- ✓
Configure VPC Service Controls with a service perimeter that includes the VPC and the Cloud Storage bucket.
Why this is correct
This prevents data from leaving the perimeter, including copying to external networks.
- ✗
Set up Private Google Access and restrict IAM permissions to the bucket.
Why it's wrong here
IAM alone does not prevent data exfiltration; users could still download data and send it elsewhere.
- ✗
Use Cloud NAT with a firewall rule that denies all egress except to Google APIs.
Why it's wrong here
This still allows egress to Google APIs, which could be used to exfiltrate data.
Go deeper
Related to this question
About these practice questions
This PCNE question is part of Courseiva's 961-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.