Google Cloud Professional Cloud Network Engineer — Question 7
Your end users are located in close proximity to us-east1 and europe-west1. Their workloads need to communicate with each other. You want to minimize cost and increase network efficiency.
How should you design this topology?
Answer options
- A. Create 2 VPCs, each with their own regions and individual subnets. Create 2 VPN gateways to establish connectivity between these regions.
- B. Create 2 VPCs, each with their own region and individual subnets. Use external IP addresses on the instances to establish connectivity between these regions.
- C. Create 1 VPC with 2 regional subnets. Create a global load balancer to establish connectivity between the regions.
- D. Create 1 VPC with 2 regional subnets. Deploy workloads in these subnets and have them communicate using private RFC1918 IP addresses.
Correct answer: D
Explanation
The correct answer is D because using a single VPC with regional subnets allows workloads to communicate efficiently using private RFC1918 IP addresses, minimizing costs. Options A and B introduce unnecessary complexity and potential costs with VPN gateways and external IPs. Option C, while having a global load balancer, does not provide the most efficient or cost-effective solution for inter-region communication.