PCNE Configuring Network Services Practice Question
A multinational company has a Shared VPC environment with multiple service projects. They need to allow a specific service project to use its own Cloud DNS private zone that resolves to internal IPs in the Shared VPC. Which configuration ensures this without exposing the zone to other projects?
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 DNS response policy in the Shared VPC host project and associate it with the service project's VPC.
DNS response policies allow you to control DNS resolution per VPC in a Shared VPC environment. By creating a response policy in the host project and associating it with the service project's VPC, you enable that service project to use its own private zone without exposing it to other projects. Option A is incorrect because an inbound server policy is used for on-premises DNS resolution, not for granting private zone access to a service project. Option B is incorrect because VPC peering would allow the service project to manage DNS records, but it does not restrict access to the zone; moreover, peering is not the correct approach for selective DNS resolution in a Shared VPC. Option C is incorrect because granting IAM roles alone does not associate the private zone with a specific VPC; it would allow the service project to view or manage the zone, but the zone would still be visible to other projects with access.
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 private zone in the service project and use an inbound server policy.
Why it's wrong here
Inbound server policy is designed for on-premises DNS resolution, not for cross-project access.
- ✗
Use VPC peering and allow the service project to manage DNS records.
Why it's wrong here
VPC peering does not automatically enable cross-project DNS resolution.
- ✗
Grant the service project access to the Shared VPC's private zone via IAM roles.
Why it's wrong here
IAM roles control administrative access, but the zone would still resolve for any VPC in the host project.
- ✓
Create a DNS response policy in the Shared VPC host project and associate it with the service project's VPC.
Why this is correct
Response policies enable selective DNS resolution for specific VPC networks.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 961 original PCNE 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 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.