Google Professional Cloud Network Engineer Question 669
Select 3Google Cloud PlatformYour organization has a legacy on-premises data center that requires a VPN connection to Google Cloud for secure communication. The organization wants to use Classic VPN with a policy-based configuration. Which of the following steps are required to properly configure a policy-based VPN on Google Cloud?
- A
Define a custom static route to specify the traffic selector.
- B
Create a VPN gateway and configure a tunnel using a shared secret for authentication.
- C
Set up BGP peering to enable dynamic routing between the VPN endpoints.
- D
Specify IP ranges for the on-premises and Google Cloud subnets in the traffic selectors.
- E
Enable the policy-based option in the VPN tunnel configuration.
Show answer and explanation
Correct answers: B, D, E
Explanation
Policy-based VPNs on Google Cloud require configuring a VPN gateway, defining traffic selectors for the source and destination IP ranges, and enabling the policy-based option in the tunnel configuration. These steps ensure that the VPN only processes traffic matching the specified selectors, making it suitable for environments with static traffic patterns.
- A. Incorrect.
Static routes are not required for policy-based VPNs because traffic selectors define the traffic to be encrypted and sent through the VPN.
- B. Correct.
Creating a VPN gateway and configuring a tunnel with a shared secret is a mandatory step for setting up any Classic VPN connection on Google Cloud.
- C. Incorrect.
BGP peering is used in route-based VPNs to exchange routing information dynamically. Policy-based VPNs, however, rely on predefined traffic selectors.
- D. Correct.
Traffic selectors specify the source and destination IP ranges for the traffic that should traverse the VPN tunnel. This is a critical step in policy-based VPN configuration.
- E. Correct.
Policy-based VPN requires enabling the policy-based option in the tunnel configuration to ensure that traffic selectors, rather than routing protocols, control the traffic flow.