Google Cloud Professional Cloud Network Engineer — Question 126

You are configuring an HA VPN connection between your Virtual Private Cloud (VPC) and on-premises network. The VPN gateway is named VPN_GATEWAY_1. You need to restrict VPN tunnels created in the project to only connect to your on-premises VPN public IP address: 203.0.113.1/32. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because configuring the Resource Manager constraint allows you to specify which IP addresses can be used for VPN peer connections, effectively restricting it to just 203.0.113.1/32. Option A would allow connections from other IPs if they meet the firewall criteria, while options C and D involve security measures that do not directly enforce the same level of restriction on VPN peer IPs.