Google Professional Cloud Network Engineer Question 688
Select 3Google Cloud PlatformYour organization has a hybrid cloud setup with an on-premises data center connected to your Google Cloud environment using a Cloud VPN. You are tasked with ensuring that specific on-premises subnets are advertised to Google Cloud, while certain Google Cloud subnets are selectively advertised to your on-premises environment. How should you configure the custom advertised and learned routes to meet these requirements?
- A
Use custom route advertisements on the Cloud VPN to announce specific on-premises subnets to Google Cloud.
- B
Use custom route advertisements on the Cloud Router associated with the VPN to announce specific Google Cloud subnets to your on-premises network.
- C
Enable dynamic routing on the Cloud Router to automatically advertise all subnets between on-premises and Google Cloud without requiring custom configurations.
- D
Use custom route filters on the Cloud Router to allow only specific learned on-premises subnets to propagate into Google Cloud.
- E
Configure high-priority static routes on the Cloud Router to override any advertised routes as needed.
Show answer and explanation
Correct answers: A, B, D
Explanation
To control the flow of routes between Google Cloud and an on-premises environment, you need to use a combination of custom route advertisements and custom learned route filters on the Cloud Router. Custom route advertisements allow you to selectively announce specific Google Cloud or on-premises subnets, while custom learned route filters ensure only desired subnets from on-premises are propagated into Google Cloud. Dynamic routing, while useful for automation, lacks the granular control required for this scenario. Static routes are not relevant for route advertisement configuration.
- A. Correct.
This is correct. Custom route advertisements on the Cloud VPN can be used to control which on-premises subnets are advertised to Google Cloud.
- B. Correct.
This is correct. Cloud Router allows you to configure custom advertisements for Google Cloud subnets, ensuring only the desired subnets are advertised to the on-premises environment.
- C. Incorrect.
This is incorrect. While dynamic routing automates route advertisement, it does not provide the level of control needed to selectively advertise specific subnets.
- D. Correct.
This is correct. Custom route filters on the Cloud Router can be used to filter learned routes from the on-premises network, ensuring only specific subnets are propagated into Google Cloud.
- E. Incorrect.
This is incorrect. Static routes on the Cloud Router are not used to override advertised routes. Instead, they are typically used for specific routing needs within the VPC.