exam questions

Exam Professional Cloud Network Engineer All Questions

View all questions & answers for the Professional Cloud Network Engineer exam

Exam Professional Cloud Network Engineer topic 1 question 13 discussion

Actual exam question from Google's Professional Cloud Network Engineer
Question #: 13
Topic #: 1
[All Professional Cloud Network Engineer Questions]

You want to deploy a VPN Gateway to connect your on-premises network to GCP. You are using a non BGP-capable on-premises VPN device. You want to minimize downtime and operational overhead when your network grows. The device supports only IKEv2, and you want to follow Google-recommended practices.
What should you do?

  • A. "¢ Create a Cloud VPN instance. "¢ Create a policy-based VPN tunnel per subnet. "¢ Configure the appropriate local and remote traffic selectors to match your local and remote networks. "¢ Create the appropriate static routes.
  • B. "¢ Create a Cloud VPN instance. "¢ Create a policy-based VPN tunnel. "¢ Configure the appropriate local and remote traffic selectors to match your local and remote networks. "¢ Configure the appropriate static routes.
  • C. "¢ Create a Cloud VPN instance. "¢ Create a route-based VPN tunnel. "¢ Configure the appropriate local and remote traffic selectors to match your local and remote networks. "¢ Configure the appropriate static routes.
  • D. "¢ Create a Cloud VPN instance. "¢ Create a route-based VPN tunnel. "¢ Configure the appropriate local and remote traffic selectors to 0.0.0.0/0. "¢ Configure the appropriate static routes.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Windows98
Highly Voted 4 years, 5 months ago
D - Because you can't update the selectors after creating the VPN they need to be left open. This from GCP: When you create a route based tunnel using the Cloud Console, Classic VPN performs both of the following tasks: Sets the tunnel's local and remote traffic selectors to any IP address (0.0.0.0/0) For each range in Remote network IP ranges, Google Cloud creates a custom static route whose destination (prefix) is the range's CIDR, and whose next hop is the tunnel.
upvoted 28 times
...
sizzlelee
Highly Voted 4 years, 7 months ago
with route-based, you dont have to select local networks, only remote networks.. Answer should be B
upvoted 7 times
sc00by
4 years ago
Option D is better, because everytime you add a new remote network you have to delete and recreate the tunnel again adding up the new remote network. With option D you do not have to recreate the tunnel.
upvoted 5 times
...
Loved
3 years, 6 months ago
But the device support only IKEv2... and with IKEv2 is not possible to use policy-based
upvoted 2 times
desertlotus1211
2 years ago
Yes it is....
upvoted 1 times
...
...
...
pico
Most Recent 6 days, 12 hours ago
Selected Answer: D
Policy-based VPNs require defining specific local and remote IP ranges (traffic selectors). When new subnets are added on either side, the VPN tunnel configuration (traffic selectors) must be updated, potentially requiring tunnel recreation, which increases overhead and potential downtime. Route-based VPNs typically use broad traffic selectors (like 0.0.0.0/0). Adding new subnets only requires updating the routes (static routes in this case), not the tunnel configuration itself. This significantly reduces operational overhead and minimizes downtime during network expansion.
upvoted 1 times
...
mohitms1996
3 weeks, 5 days ago
Selected Answer: D
A & B (Policy-Based VPNs): Google discourages policy-based VPNs because they require explicit selectors per subnet, leading to manual reconfiguration as the network grows. This increases operational overhead and downtime when adding new subnets. C (Route-Based VPN with Specific Traffic Selectors): Configuring specific traffic selectors instead of 0.0.0.0/0 makes the setup less flexible. If you add a new subnet, you need to update the traffic selectors, leading to downtime. Conclusion: D is the best option because it follows Google-recommended practices by using: ✅ Route-based VPN (flexibility, scalability). ✅ Traffic selectors set to 0.0.0.0/0 (simplifies route management). ✅ Static routes (since BGP is not supported on-prem).
upvoted 2 times
...
saraali
2 months, 2 weeks ago
Selected Answer: B
Option B is the correct choice in this case, as it fits the scenario of connecting a non-BGP-capable on-premises VPN device to Google Cloud. Since the device doesn't support BGP (which is commonly used in route-based VPNs for dynamic routing), you cannot use route-based VPN that typically relies on dynamic routing protocols like BGP. Instead, Policy-based VPN is a better fit here, as it uses static traffic selectors to determine which traffic should be routed through the VPN tunnel. With Policy-based VPN, you can configure specific IP ranges (local and remote traffic selectors) to control the traffic flow. Additionally, you would set up static routes to ensure the traffic between your on-premises network and Google Cloud is correctly routed. This solution works well for non-BGP-capable devices, providing a straightforward method to connect to Google Cloud without the need for dynamic routing.
upvoted 1 times
...
waelghaith
3 months, 2 weeks ago
Selected Answer: D
I'll go with D "operational overhead when your network grows"
upvoted 1 times
...
ian_gcpca
4 months ago
Selected Answer: B
The choice is between B & D. while D maybe ideal for growth purposes, we're talking about Google-recommended practices and setting 0.0.0.0/0 traffic selectors may have some unintended traffic flows
upvoted 1 times
...
fra_pavi
5 months ago
Selected Answer: D
D - Because you can't update the traffic selectors after creating the VPN tunnel. When the network grows you have to destroy and create from scratch the tunnel
upvoted 1 times
...
Adjqwert
5 months, 1 week ago
Selected Answer: B
on-prem device doesn't support BGP
upvoted 1 times
...
nkastanas
9 months, 1 week ago
Selected Answer: A
am going with A, gemini for B "it doesn't specify creating a tunnel per subnet, which is crucial for scalability and minimizing downtime"
upvoted 1 times
...
javiles91
1 year, 1 month ago
Selected Answer: D
-With route-based when using gcloud the local and remote selector are specified[1] -Also when using gcloud it is necessary to use commands to create the static routes[2] -It makes more sense selecting D, because that option will avoid having to modify the traffic selector when the network grows [1]https://cloud.google.com/network-connectivity/docs/vpn/how-to/creating-static-vpns#:~:text=To%20configure%20a%20route%2Dbased%20VPN%20tunnel%2C%20run%20the%20following%20command%3A [2]If you use the gcloud CLI to create the tunnel, you must use additional gcloud commands to create the routes
upvoted 1 times
...
xhilmi
1 year, 4 months ago
Selected Answer: B
Choose B. Explanation: Cloud VPN Instance: You need to create a Cloud VPN instance to establish the VPN connection between your on-premises network and GCP. Policy-Based VPN Tunnel: In this option, a policy-based VPN tunnel is chosen. This approach uses traffic selectors to determine which traffic should be sent over the VPN tunnel. It is a valid option, especially when dealing with non-BGP-capable on-premises VPN devices that support only IKEv2. Local and Remote Traffic Selectors: Configure the local and remote traffic selectors to match your on-premises and GCP networks. This ensures that the correct traffic is allowed through the VPN tunnel. Static Routes: Configure the appropriate static routes to direct traffic through the VPN tunnel. This is essential for routing traffic between your on-premises network and GCP.
upvoted 2 times
...
BenMS
1 year, 4 months ago
Selected Answer: D
To minimise operational downtime for future network growth you need to preselect all possible addresses - i.e. option D
upvoted 3 times
EtnME
1 year, 4 months ago
https://cloud.google.com/network-connectivity/docs/vpn/how-to/creating-static-vpns#:~:text=Important%3A%20Traffic%20selectors%20cannot%20be%20changed%20after%20a%20tunnel%20has%20been%20created.%20If%20traffic%20selectors%20need%20to%20be%20changed%20in%20the%20future%2C%20you%20must%20delete%20and%20re%2Dcreate%20the%20tunnel.
upvoted 1 times
...
...
didek1986
1 year, 8 months ago
Selected Answer: B
https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing
upvoted 1 times
...
Jason_Cloud_at
1 year, 10 months ago
Selected Answer: B
Final answer is B , only in policy based we can configure both remote and local ranges , and we can omit option A coz it cant be configured per subnet level
upvoted 1 times
...
pferl
2 years ago
Selected Answer: D
Cloud VPN disallows editing any traffic selectors after you have created a VPN. To change either the local or the remote traffic selector for a Cloud VPN tunnel, you must delete the tunnel and then re-create it. You do not have to delete the Cloud VPN gateway, though.
upvoted 1 times
...
Ben756
2 years, 1 month ago
Selected Answer: B
Option B is the correct answer. Since the on-premises VPN device is not BGP-capable, policy-based VPN is the only option. Also, following Google-recommended practices, a single policy-based VPN tunnel should be used instead of creating one per subnet.
upvoted 1 times
Jason_Cloud_at
1 year, 10 months ago
based on your point , Policy based VPN isnt the only option, we can create route based also
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago