Cross-Project Cloud DNS Zone Binding in a Shared VPC
Short answer
B Have each team create private zones in its own service project and cross-project bind them to SH_VPC in SH_HOST_PRJ so both teams' workloads resolve each other's zones.
Question
You must design a solution that allows each team to create their own DNS private zones and DNS records only in their respective Shared VPC service projects. Workloads in SP_ONE_PRJ must be able to resolve all the DNS private zones defined in SP_TWO_PRJ and conversely. Your design must have the least amount of set up effort. What should you do?
Key Takeaways
It tests that a Cloud DNS private zone attaches to a VPC network — via cross-project binding — not to a project, and that one shared VPC gives mutual resolution without new VPCs or peering.
This PCNE question tests Cloud DNS cross-project binding in a Shared VPC design. The answer is option B: create each team's private zones in its own service project and bind them to SH_VPC in the host project.
Common mistake: Option A is the tempting near-miss: it describes the same cross-project approach but says to bind the zones to the host project SH_HOST_PRJ, which is not how private zone attachment works; zones bind to SH_VPC.
Expert Analysis
The governing rule A Cloud DNS private zone is attached to one or more VPC networks, never to a Google Cloud project by itself. That is why option A, which says to bind the zones to the host project SH_HOST_PRJ, is not a valid configuration: there is no "bind to project" operation for private zones. Option B describes the actual mechanism — cross-project binding — where a private zone created in SP_ONE_PRJ or SP_TWO_PRJ is attached to the VPC network living in another project, here SH_VPC inside SH_HOST_PRJ.
Mapping the scenario Both service projects contain no VPC of their own; their workloads run in SH_VPC through Shared VPC. If TEAM_ONE's zone is cross-project bound to SH_VPC, every VM in SH_VPC — and therefore every workload in SP_ONE_PRJ and SP_TWO_PRJ — resolves it, and the same holds for TEAM_TWO's zones. Mutual resolution falls out of the fact that all workloads share one network, so no additional DNS infrastructure is required.
Least setup effort Options C and D each require provisioning two brand-new VPCs, then adding either Cloud DNS peering or VPC Network Peering plus zone configuration. That is far more work, and VPC peering (D) does not by itself make private zones resolvable across networks — DNS peering in C would, but only after the extra VPCs exist. Neither is needed here because a single VPC already spans both teams.
Why B over A Option A's substance is nearly identical, as one comment observes, but its wording binds zones to a project rather than to SH_VPC, which is the technically correct target. Option B is therefore the correct choice, matching the comment that notes you bind zones to VPCs, not projects. The decisive answer is B.
Official Reference
These links open the official vendor documentation in a new tab.
Exam Strategy
When a DNS question mentions Shared VPC, first identify which network the workloads actually live in — here only SH_VPC — because private zones attach to VPC networks, not projects or service projects. Then rank options by effort: any choice that creates extra VPCs or peering is usually avoidable when one network already spans the teams, so prefer the single cross-project binding option. Be precise about wording: an option naming the correct target network beats one describing the same idea against the wrong resource.
Frequently Asked Questions
Why can't a private zone be bound directly to the host project?
Do both service projects need their own VPCs for cross-team DNS resolution?
What does Cloud DNS cross-project binding actually do?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
n2183712847 👍 2 Answered BOption B correctly leverages Cloud DNS's cross-project binding feature to allow each team to manage their own DNS zones in their respective service projects while ensuring that DNS records are resolvable by workloads in both service projects through the shared VPC, with minimal setup effort.
-
1f01b87 👍 2 Answered BB is correct
-
Positron75 👍 1The difference is that A talks specifically about binding the zones to the host project, while B mentions binding them to the VPC in the host project. Since you bind zones to VPCs rather than projects directly, B is correct.
-
kirrim 👍 1Am I crazy? I think A and B are saying the same thing, and are both correct?
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All PCNE Questions
Access 80 questions with complete answers and detailed explanations.
View Full PCNE Practice Test →