Google Professional Cloud Network Engineer Question 247
Single answerGoogle Cloud PlatformYou are designing a hybrid cloud network for your organization. Your on-premises network communicates with Google Cloud via a Cloud VPN tunnel. You have multiple VPC networks in Google Cloud that need to share routes dynamically with on-premises. However, the VPC networks are in different Google Cloud regions. How should you configure dynamic routing to meet your requirements?
- A
Set the dynamic routing mode for all VPCs to 'regional' and use Cloud Router to exchange routes.
- B
Set the dynamic routing mode for all VPCs to 'global' and use Cloud Router to exchange routes.
- C
Use static routes in all VPCs and configure route sharing manually.
- D
Configure separate Cloud Routers for each region and use 'regional' dynamic routing mode.
Show answer and explanation
Correct answer: B
Explanation
To enable dynamic route sharing across VPCs in different regions, the dynamic routing mode must be set to 'global.' This ensures that routes learned via Cloud Router are propagated across all regions, meeting the requirement for dynamic and scalable hybrid connectivity. 'Regional' routing would limit propagation to a single region, and static routes would require manual configuration, which is not recommended for dynamic environments.
- A. Incorrect.
This option is incorrect because 'regional' dynamic routing only propagates routes within a single region. It will not allow VPCs in different regions to share routes dynamically.
- B. Correct.
This is the correct answer. Setting the dynamic routing mode to 'global' enables the propagation of routes across multiple regions, allowing all VPCs to share routes dynamically with on-premises via Cloud Router.
- C. Incorrect.
This option is incorrect because using static routes would require manual configuration and management of routes, which is not scalable or dynamic.
- D. Incorrect.
This option is incorrect because 'regional' dynamic routing limits the route propagation to a single region. Configuring separate Cloud Routers for each region does not solve the problem of sharing routes across regions.