Google PCA Practice Question: Managing and Provisioning a Solution Infrastructure
Your organization uses a Shared VPC to centrally manage network resources. A project that is not the host project needs to create a Cloud SQL instance using a private IP in the Shared VPC. What must be configured?
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 the Service Networking API and allocate an IP range for the Cloud SQL instance
For a service project to allocate private IP in a Shared VPC, the Shared VPC host project must grant the service project the 'compute.networkUser' role on the subnetwork. Additionally, the service project needs the Service Networking API enabled and a private service access connection.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create a VPC peering between the service project and the host project
Why it's wrong here
Shared VPC already allows connectivity; peering is not needed.
- ✗
Grant the service project the 'compute.networkUser' role on the VPC network
Why it's wrong here
This is necessary but not sufficient; a private service access connection is also required.
- ✗
Use Cloud NAT to allow the Cloud SQL instance to communicate
Why it's wrong here
Cloud NAT is for outbound internet, not private IP allocation.
- ✓
Enable the Service Networking API and allocate an IP range for the Cloud SQL instance
Why this is correct
Correct. Private services access requires allocating an IP range and establishing a connection.
Visual reference
Go deeper
Related to this question
Learn chapter
Introduction to Google Cloud Platform
Key term
Cloud SQL
Cloud SQL is a fully managed relational database service that lets you set up, maintain, and scale SQL databases (like MySQL, PostgreSQL, and SQL Server) in the cloud without managing the underlying infrastructure.
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
About these practice questions
One of 955 original PCA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCA 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 PCA exam.