
Answer-first summary for fast verification
Answer: resource.type= “gce_router”
To examine the logs in Cloud Logging for BGP routing advertisements in a Cloud VPN setup with dynamic routing, the correct filter to use is 'resource.type= “gce_router”'. This is because the Cloud Router (gce_router) is the Google Cloud resource that manages BGP sessions and the exchange of routes. Logs from the Cloud Router will indicate whether the custom routes are being advertised as expected. The other options provided do not directly relate to BGP route advertisements: 'vpn_tunnel' and 'vpn_gateway' are more about the VPN connectivity itself, and 'gce_network_region' is not a valid logging resource type for this specific troubleshooting scenario.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You configured a Cloud VPN with dynamic routing using Border Gateway Protocol (BGP) and added a custom route to advertise a network accessible via the VPN tunnel. However, on-premises clients cannot reach the network over the tunnel. To verify whether the correct routes are being advertised through the VPN tunnel, which Cloud Logging filter should you apply to inspect the logs?
A
resource.type= “gce_router”
B
resource.type= “gce_network_region”
C
resource.type= “vpn_tunnel”
D
resource.type= “vpn_gateway”
No comments yet.