- A
Use VPC Service Controls to block access to the Compute Engine metadata server to prevent credential extraction.
Why wrong: The metadata server is not a Google-managed API; VPC Service Controls protects Google-managed services.
- B
Configure the service perimeter to allow access from the VPC network where the Compute Engine instances reside using private Google access.
Private Google access allows on-premises or VM instances to access Google APIs within the perimeter.
- C
Create an access level that restricts access to only the IP ranges of the corporate network. Apply the access level to the service perimeter.
Access levels can restrict access based on IP ranges, reducing exfiltration risk.
- D
Create a service perimeter that includes all Google Cloud projects in the organization to simplify management.
Why wrong: Including all projects would not protect the sensitive data specifically and could be overly permissive.
- E
Use VPC Service Controls to restrict access based on network tags on Compute Engine instances.
Why wrong: VPC Service Controls does not support network tags; it uses access levels based on IP, device, or identity.
Quick Answer
The correct answer is to create an access level that restricts access to only the corporate network IP ranges and apply it to the service perimeter, because VPC Service Controls perimeters enforce data exfiltration prevention by blocking all traffic that does not match the defined access levels. This configuration directly addresses the need to protect sensitive data in Cloud Storage and BigQuery by ensuring only requests from trusted IP ranges—such as the corporate network—can reach the protected project, while all other traffic is denied. On the Google Professional Cloud Security Engineer exam, this scenario tests your understanding of how access levels work as a gate for ingress traffic, and a common trap is confusing VPC access (which uses private Google access for internal VPC-to-service communication) with IP-based access levels. Remember the key distinction: access levels control who can enter the perimeter based on IP or device attributes, while VPC access controls which internal networks can reach services without traversing the public internet. A useful memory tip is “IPs for ingress, VPCs for internal”—access levels lock the door from outside, VPC access opens a private hallway inside.
PCSE Configuring network security Practice Question
This PCSE practice question tests your understanding of configuring 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 security engineer is configuring VPC Service Controls to protect a Google Cloud project containing sensitive data. The project contains Compute Engine instances, Cloud Storage buckets, and BigQuery datasets. The perimeter is defined with the project as a protected project. Which TWO actions are valid to restrict data exfiltration while maintaining necessary access?
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 the service perimeter to allow access from the VPC network where the Compute Engine instances reside using private Google access.
Option B is correct because VPC Service Controls can allow traffic from a specific VPC network via private Google access, which uses RFC 1918 addresses and does not traverse the public internet. This restricts data exfiltration by ensuring that only resources within the defined VPC can access the protected services, while still allowing legitimate Compute Engine instances to reach Cloud Storage and BigQuery within the perimeter.
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.
- ✗
Use VPC Service Controls to block access to the Compute Engine metadata server to prevent credential extraction.
Why it's wrong here
The metadata server is not a Google-managed API; VPC Service Controls protects Google-managed services.
- ✓
Configure the service perimeter to allow access from the VPC network where the Compute Engine instances reside using private Google access.
Why this is correct
Private Google access allows on-premises or VM instances to access Google APIs within the perimeter.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Create an access level that restricts access to only the IP ranges of the corporate network. Apply the access level to the service perimeter.
Why this is correct
Access levels can restrict access based on IP ranges, reducing exfiltration risk.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Create a service perimeter that includes all Google Cloud projects in the organization to simplify management.
Why it's wrong here
Including all projects would not protect the sensitive data specifically and could be overly permissive.
- ✗
Use VPC Service Controls to restrict access based on network tags on Compute Engine instances.
Why it's wrong here
VPC Service Controls does not support network tags; it uses access levels based on IP, device, or identity.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the misconception that VPC Service Controls can block the metadata server or use instance-level tags, when in reality they operate at the project and VPC network level and do not interact with instance metadata or tags.
Detailed technical explanation
How to think about this question
VPC Service Controls enforce a service perimeter by using a combination of access levels (e.g., IP-based conditions) and ingress/egress rules to control data movement. Under the hood, they leverage Google Cloud's Identity and Access Management (IAM) conditions and the Access Context Manager to evaluate requests against the perimeter policy, blocking any traffic that does not match the defined context. A real-world scenario is a financial institution that needs to allow its internal VPC-hosted applications to query BigQuery while preventing any external or internet-based access to the same datasets.
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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
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.
- →
Configuring network security — study guide chapter
Learn the concepts, then practise the questions
- →
Configuring network security practice questions
Targeted practice on this topic area only
- →
All PCSE questions
500 questions across all exam domains
- →
Google Professional Cloud Security Engineer study guide
Full concept coverage aligned to exam objectives
- →
PCSE practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PCSE practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Configuring network security practice questions
Practise PCSE questions linked to Configuring network security.
Configuring access within a cloud solution environment practice questions
Practise PCSE questions linked to Configuring access within a cloud solution environment.
Ensuring data protection practice questions
Practise PCSE questions linked to Ensuring data protection.
Managing operations in a cloud solution environment practice questions
Practise PCSE questions linked to Managing operations in a cloud solution environment.
Supporting compliance requirements practice questions
Practise PCSE questions linked to Supporting compliance requirements.
PCSE fundamentals practice questions
Practise PCSE questions linked to PCSE fundamentals.
PCSE scenario practice questions
Practise PCSE questions linked to PCSE scenario.
PCSE troubleshooting practice questions
Practise PCSE questions linked to PCSE troubleshooting.
Practice this exam
Start a free PCSE 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 PCSE question test?
Configuring network security — This question tests Configuring network security — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Configure the service perimeter to allow access from the VPC network where the Compute Engine instances reside using private Google access. — Option B is correct because VPC Service Controls can allow traffic from a specific VPC network via private Google access, which uses RFC 1918 addresses and does not traverse the public internet. This restricts data exfiltration by ensuring that only resources within the defined VPC can access the protected services, while still allowing legitimate Compute Engine instances to reach Cloud Storage and BigQuery within the perimeter.
What should I do if I get this PCSE 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 →
Last reviewed: Jun 30, 2026
This PCSE 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 PCSE 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.