A multinational enterprise is designing a hub-and-spoke VPC architecture in Google Cloud. The central hub VPC is connected to an on-premises data center via a 10 Gbps Cloud Interconnect. Two spoke VPCs (Analytics VPC and Production VPC) are connected to the central hub VPC using VPC Network Peering. On-premises workloads require direct connectivity to resources inside the spoke VPCs, and workloads in the spoke VPCs must privately reach Google Cloud APIs (such as Cloud Storage and BigQuery) without routing traffic through the public internet. Which TWO network topology configurations must be implemented to fulfill these requirements?
- Configure custom route export and import flags on the VPC Network Peering connections between the hub and spoke VPCs, and set up custom BGP route advertisements on the hub Cloud Router to announce spoke subnets to on-premises.Cevap
- Enable Private Google Access on the subnets inside the spoke VPCs and deploy Private Service Connect (PSC) endpoints inside the VPCs to allow private access to Google APIs from both GCP workloads and on-premises systems.Cevap
- CRely on standard VPC Network Peering automatic routing, as VPC Peering inherently routes traffic transitively from on-premises Cloud Interconnect gateways through the hub VPC into spoke VPCs without additional BGP configuration.
- DReplace the Dedicated Interconnect with multiple HA VPN tunnels operating in dynamic routing mode to achieve higher aggregate bandwidth and simplify transitive spoke routing.
- EProvision private GKE clusters in the spoke VPCs and leave the control plane public endpoint unconstrained so that on-premises administrative tools can connect without configuring authorized networks.
Cevap
The correct configurations are exporting/importing custom routes on VPC Peering connections along with custom BGP route advertisements on the hub Cloud Router, and enabling Private Google Access on spoke subnets with Private Service Connect endpoints.
To establish end-to-end connectivity between on-premises networks and spoke VPCs in a hub-and-spoke model, custom route export and import must be enabled on VPC Peering links, and the hub Cloud Router must use custom BGP announcements to advertise spoke CIDRs to on-premises. Additionally, Private Google Access and Private Service Connect endpoints grant private internal access to Google APIs without traversing public IP space.
Adım Adım Çözüm
Anahtar Kavram
Hub-and-spoke VPC topology design, custom BGP route propagation across VPC Peering, and Private Service Connect deployment.