- A
Set up a NAT gateway in the VPC for on-premises traffic
Why wrong: Incorrect. A NAT gateway provides outbound internet access for VMs without external IPs, but does not enable private access to Google APIs from on-premises.
- B
Create a Private Service Connect endpoint for Google APIs (e.g., storage.googleapis.com) in the VPC
Correct. Private Service Connect endpoints create a private IP address in your VPC for Google APIs, allowing traffic to reach Google APIs without leaving Google's network.
- C
Configure firewall rules to allow egress from the VPN gateway to the PSC endpoint's IP
Correct. Firewall rules must allow egress traffic from the VPN gateway (or from the VPC) to the IP of the Private Service Connect endpoint to permit communication.
- D
Enable Private Google Access on the subnet that hosts the VPN gateway
Why wrong: Incorrect. Private Google Access is for VM instances in the VPC to access Google APIs via the default internet gateway; it does not affect traffic entering the VPC via VPN from on-premises.
- E
Configure Cloud Router to advertise the PSC endpoint's IP address range to on-premises via BGP
Correct. Cloud Router advertises the PSC endpoint's IP range to the on-premises network via BGP, so that on-premises routes destined to Google APIs are sent to the VPC over the VPN tunnel.
PCSE Private Service Connect Practice Question
This PCSE practice question tests your understanding of configuring network security. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: private Service Connect. 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.
You are designing a private connectivity solution for a Google Cloud project that needs to access Google APIs (e.g., Cloud Storage) without traversing the public internet. The VPC has on-premises connectivity via Cloud VPN. Which THREE steps are required to achieve private, on-premises to Google API access? (Choose 3)
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
Create a Private Service Connect endpoint for Google APIs (e.g., storage.googleapis.com) in the VPC
For on-premises to Google APIs access via Cloud VPN, you must create a Private Service Connect endpoint (B) to provide a private IP for Google APIs. Configure firewall rules (C) to allow traffic from the VPN gateway to the PSC endpoint's IP. Use Cloud Router to advertise the PSC endpoint's IP range to on-premises via BGP (E), so on-premises routes traffic to the VPC instead of the public internet. Private Google Access (D) is for VM instances in the VPC, not for traffic from VPN, and is unnecessary. A NAT gateway (A) is for outbound traffic from VMs without external IPs, not for private API access from on-premises.
Key principle: Private Service Connect
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Set up a NAT gateway in the VPC for on-premises traffic
- ✓
Create a Private Service Connect endpoint for Google APIs (e.g., storage.googleapis.com) in the VPC
Why this is correct
Correct. Private Service Connect endpoints create a private IP address in your VPC for Google APIs, allowing traffic to reach Google APIs without leaving Google's network.
Related concept
Private Service Connect
- ✓
Configure firewall rules to allow egress from the VPN gateway to the PSC endpoint's IP
- ✗
Enable Private Google Access on the subnet that hosts the VPN gateway
- ✓
Configure Cloud Router to advertise the PSC endpoint's IP address range to on-premises via BGP
Common exam traps
Common exam trap: answer the scenario, not the keyword
Candidates often assume Private Google Access is needed for on-premises connectivity, but it only applies to VMs within the VPC, not traffic from VPN. The correct components are PSC endpoints, firewall rules, and BGP advertisements.
Detailed technical explanation
How to think about this question
Treat this as a scenario question. Identify the problem, the constraint, and the best action. Then compare each option against those facts.
KKey Concepts to Remember
- Private Service Connect
- Cloud Router with BGP
- Firewall rules
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
Private Service Connect
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.
Visual reference
What to study next
Got this wrong? Here's your next step.
Review private Service Connect, then practise related PCSE questions on the same topic to reinforce the concept.
- →
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
1,000 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 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.
Configuring Network Security practice questions
Practise PCSE questions linked to Configuring Network Security.
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 — Private Service Connect.
What is the correct answer to this question?
The correct answer is: Create a Private Service Connect endpoint for Google APIs (e.g., storage.googleapis.com) in the VPC — For on-premises to Google APIs access via Cloud VPN, you must create a Private Service Connect endpoint (B) to provide a private IP for Google APIs. Configure firewall rules (C) to allow traffic from the VPN gateway to the PSC endpoint's IP. Use Cloud Router to advertise the PSC endpoint's IP range to on-premises via BGP (E), so on-premises routes traffic to the VPC instead of the public internet. Private Google Access (D) is for VM instances in the VPC, not for traffic from VPN, and is unnecessary. A NAT gateway (A) is for outbound traffic from VMs without external IPs, not for private API access from on-premises.
What should I do if I get this PCSE question wrong?
Review private Service Connect, then practise related PCSE questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Private Service Connect
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 PCSE practice questions
- Match each encryption scope to its description.
- Drag and drop the steps to set up a Private Google Access for on-premises hosts using Private Service Connect in the cor…
- A company is designing a CI/CD pipeline using Cloud Build. Security requirements mandate that the pipeline deploy only t…
- A company must implement data residency requirements that prohibit storing data outside the European Union. They are usi…
- A company wants to allow employees to access a web application running on Google Kubernetes Engine (GKE) using their cor…
- A company is deploying a multi-tier application on Google Cloud. The web tier must be accessible from the internet, whil…
Last reviewed: Jul 4, 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.