Google Professional Cloud Network Engineer Question 174
Single answerGoogle Cloud PlatformYour company is migrating to Google Cloud and plans to deploy applications across multiple regions to ensure high availability. You are tasked with designing the network architecture, and you need to create a private communication path between the Virtual Private Cloud (VPC) networks of these regions. Additionally, the solution must ensure that the internal IP addresses of the VPCs do not overlap. Which option would best meet these requirements?
- A
Set up Cloud VPNs between the VPCs in each region.
- B
Use VPC Network Peering to connect the VPCs in each region.
- C
Configure a Shared VPC and associate all regional projects with it.
- D
Use Cloud Interconnect to establish a private connection between the VPCs.
Show answer and explanation
Correct answer: B
Explanation
VPC Network Peering is the best solution for this use case because it allows private communication between VPCs in different regions while enforcing non-overlapping IP address ranges. Other options like Cloud VPN and Cloud Interconnect are not designed for direct private communication between VPCs within Google Cloud, and Shared VPC is meant for resource sharing within a single organization rather than inter-region connectivity.
- A. Incorrect.
Cloud VPN can connect VPCs securely over the public internet, but it is not the best option for private communication within Google Cloud. It also requires significant configuration, and it doesn't address the requirement to ensure non-overlapping IP ranges.
- B. Correct.
VPC Network Peering allows private communication between VPCs in different regions and ensures that IP addresses must not overlap for the peering to work, making it the correct choice for this scenario.
- C. Incorrect.
A Shared VPC allows multiple projects to share a single VPC, but it is not designed for inter-region private communication between separate VPCs. It is more suited for resource sharing within a single organization.
- D. Incorrect.
Cloud Interconnect provides high-bandwidth, low-latency connectivity between on-premises infrastructure and Google Cloud but does not directly connect VPCs in different regions.