Courseiva
mediumMultiple ChoiceObjective-mapped

Google ACE Practice Question: A team is designing a system where two GCP…

A team is designing a system where two GCP projects — a shared services project and an application project — need their VMs to communicate using private IPs. Both projects are in the same organization. Which networking option best enables this with centralized network management?

⚠ Common exam trap

A common mix-up: candidates choose VPC Peering (Option A) because it seems simpler for connecting two projects, but they overlook the explicit requirement for centralized network management, which Shared VPC uniquely provides by design.

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

Shared VPC (XPN) with the shared services project as the host

Shared VPC (XPN) allows an organization to centrally manage networking across multiple projects from a single host project, enabling VMs in the shared services project and the application project to communicate via private IPs without needing separate peering or VPN configurations. This is the best option because it provides centralized network administration and policy enforcement, which aligns with the requirement for centralized network management.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • VPC Peering between the two projects' VPCs

    Why it's wrong here

    VPC Peering connects two separate VPCs directly over Google's private backbone, allowing RFC1918 communication without external IPs or VPN tunnels. However, it is a peer relationship, not a shared infrastructure: each project retains its own network admin, firewall rules, routes, and subnets, so there is no centralized control point for enforcing organization-wide security policy. As the number of service projects grows, you also face transitive peering limitations (peered VPCs can reach the direct peer but not vice versa through the peering chain) and must manage a one-to-one peering session for each pair, making governance and auditing harder than with a single shared VPC.

  • Shared VPC (XPN) with the shared services project as the host

    Why this is correct

    With Shared VPC (XPN), the shared services project acts as the host, owning the VPC networks and subnets that service projects' VMs consume. The host project's network admin has centralized visibility and control over routing, firewall policies (including hierarchical firewall rules), and subnet allocation, while service project owners can deploy VMs without managing network infrastructure. This is the recommended pattern when multiple projects need to consume common services over private IPs because it enforces consistent governance, simplifies auditing, and scales without adding peering or VPN links per project.

  • Cloud VPN between the two projects' default VPCs

    Why it's wrong here

    Cloud VPN establishes an IPsec tunnel between the two projects' default VPCs, which adds encryption overhead, extra latency, and the operational burden of managing tunnel endpoints and health checks. Both VPCs already live inside Google's private network, so forcing traffic through an IPsec tunnel is unnecessary and does not provide centralized network management — the projects remain independent, and you still have to duplicate firewall rules and routing. This approach is better suited for connecting an on-premises network to Google Cloud or two clouds, not for internal multi-project communication within the same organization.

  • Using external IPs with TLS — private IP communication isn't necessary between GCP projects

    Why it's wrong here

    Assigning external IPs to VMs in both projects and using TLS means traffic traverses the public internet, incurring egress fees, higher latency, and exposure to DDoS attacks even though payloads are encrypted. TLS protects confidentiality in transit but does not provide network-level authorization or private IP reachability, so you'd also need IP whitelists or client certificates to restrict access, and every service must manage its own certificate lifecycle. This also prevents centralized, org-wide network policy and makes it impossible to enforce consistent firewall rules across projects; Google's private backbone via Shared VPC or peering is faster, cheaper, and requires no public exposure.

About these practice questions

This ACE question is part of Courseiva's 769-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This ACE 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 ACE exam.