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 135 discussion

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

You are responsible for enabling Private Google Access for the virtual machine (VM) instances in your Virtual Private Cloud (VPC) to access Google APIs. All VM instances have only a private IP address and need to access Cloud Storage. You need to ensure that all VM traffic is routed back to your on-premises data center for traffic scrubbing via your existing Cloud Interconnect connection. However, VM traffic to Google APIs should remain in the VPC. What should you do?

  • A. 1. Delete the default route in your VPC.
    2. Create a private Cloud DNS zone for googleapis.com, create a CNAME for *.googleapis.com to restricted googleapis.com, and create an A record for restricted googleapis com that resolves to the addresses in 199.36.153.4/30.
    3. Create a static route in your VPC for the range 199.36.153.4/30 with the default internet gateway as the next hop.
  • B. 1. Delete the default route in your VPC and configure your on-premises router to advertise 0.0.0.0/0 via Border Gateway Protocol (BGP).
    2. Create a public Cloud DNS zone with a CNAME for *.google.com to private googleapis com, create a CNAME for * googleapis.com to private googleapis com, and create an A record for Private googleapis.com that resolves to the addresses in 199.36.153 8/30.
    3. Create a static route in your VPC for the range 199 .36.153.8/30 with the default internet gateway as the next hop.
  • C. 1. Configure your on-premises router to advertise 0.0.0.0/0 via Border Gateway Protocol (BGP) with a lower priority (MED) than the default VPC route.
    2. Create a private Cloud DNS zone for googleapis.com, create a CNAME for * googieapis.com to private googleapis com, and create an A record for private.googleapis.com that resolves to the addresses in 199 .36.153.8/30.
    3. Create a static route in your VPC for the range 199.36. 153.8/30 with the default internet gateway as the next hop.
  • D. 1. Delete the default route in your VPC and configure your on-premises router to advertise 0.0.0.0/0 via Border Gateway Protocol (BGP).
    2. Create a private Cloud DNS zone for googleapis.com, create a CNAME for * googieapis.com to Private googleapis.com, and create an A record for private.googleapis.com that resolves to the addresses in 199.36.153.8/30.
    3. Create a static route in your VPC for the range 199.36.153.8/30 with the default internet gateway as the next hop.
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
waelghaith
3 months, 2 weeks ago
Selected Answer: D
C says a lower priority for MED, NOT a lower value.
upvoted 2 times
...
ZODOGAM
3 months, 3 weeks ago
On-Premises Router Advertising Default Route (0.0.0.0/0) with Lower Priority: The on-premises router advertises a default route back to the on-premises data center via BGP with a lower priority (e.g., higher MED value) than the VPC’s default internet gateway route. This ensures that general internet traffic is sent to the on-premises data center for scrubbing, but traffic to Google APIs stays in the VPC. Private Cloud DNS Zone: A private Cloud DNS zone for googleapis.com is created. A CNAME for *.googleapis.com to private.googleapis.com ensures that API traffic resolves to Google’s private IPs. Static Route for 199.36.153.8/30: C should be the answer. This route ensures that traffic destined for private.googleapis.com (Google APIs) stays within the VPC and does not get routed back to the on-premises network or the internet.
upvoted 1 times
...
hamish88
5 months, 3 weeks ago
Selected Answer: D
Does someone know if MED is always compared? As per my previous knowledge, During the best-path selection process, MED comparison is done only among paths from the same autonomous system. Since the two default routes are not coming from the same ASN, I guess, modifying the MED value doesn't have any effect. In this case, D should be the answer.
upvoted 2 times
...
achiie
9 months, 1 week ago
Selected Answer: D
Answer C says lower priority for MED, NOT lower value. So for me: D
upvoted 2 times
...
GHOST1985
1 year ago
Selected Answer: C
"If the VPC network to which your on-premises network connects contains a default route whose next hop is the default internet gateway, that route meets the routing requirements for Private Google Access for on-premises hosts." https://cloud.google.com/vpc/docs/configure-private-google-access-hybrid?hl=en#config-routing
upvoted 2 times
...
crg63
1 year, 1 month ago
Selected Answer: D
Only difference between C and D is that the default route is not removed from VPC. If the BGP route from on-prem is lost, Internet traffic would go out without inspection. I vote D.
upvoted 2 times
...
didek1986
1 year, 2 months ago
Selected Answer: C
VPC network custom routing If you've replaced or changed your default route, ensure that you have custom static routes configured for the destination IP ranges used by private.googleapis.com or restricted.googleapis.com. To check the configuration of custom routes for Google APIs and services in a given network, follow these directions.
upvoted 1 times
...
welkinwalker
1 year, 5 months ago
Selected Answer: C
D is wrong, VPC must have routes for the IP address ranges used by private.googleapis.com or restricted.googleapis.com. These routes must use the default internet gateway next hop: https://cloud.google.com/vpc/docs/configure-private-google-access-hybrid#config-routing The correct answer is C
upvoted 2 times
desertlotus1211
8 months ago
D says the same thing...
upvoted 2 times
...
...
pk349
1 year, 9 months ago
D. 1. Delete the default route in your VPC and configure your on-premises router to advertise 0.0.0.0/0 via Border Gateway Protocol (BGP).
upvoted 2 times
...
AzureDP900
1 year, 10 months ago
D. 1. Delete the default route in your VPC and configure your on-premises router to advertise 0.0.0.0/0 via Border Gateway Protocol (BGP). 2. Create a private Cloud DNS zone for googleapis.com, create a CNAME for * googieapis.com to Private googleapis.com, and create an A record for private.googleapis.com that resolves to the addresses in 199.36.153.8/30. 3. Create a static route in your VPC for the range 199.36.153.8/30 with the default internet gateway as the next hop.
upvoted 2 times
...
TD24
1 year, 10 months ago
D looks more promising to me
upvoted 2 times
TD24
1 year, 10 months ago
Sometimes, you might want traffic to be directed to your on-premises network by default. To do that, you can advertise a default route from your on-premises router to Cloud Router. With Cloud Router, you don't need to create and manage static routes. If you advertise a default route from your on-premises network, check that it's prioritized over other automatically created default routes (has a lower MED value) https://cloud.google.com/network-connectivity/docs/router/concepts/overview#priority-and-dynamic-routing If you go with above, then it is inclined to C
upvoted 2 times
Loved
1 year, 1 month ago
lover MED value ---> higher priority But answer C says lower priority, so traffic never goes to on-prem. D is the right one
upvoted 3 times
...
...
...
pfilourenco
1 year, 10 months ago
Selected Answer: D
D/C- If we want to ensure that all VM traffic is routed back to on-premises data center(let's imagine bgp fails we will send the trafic to internet), it's D the correct(deleting the default route).
upvoted 4 times
...
ccieman2016
1 year, 10 months ago
Selected Answer: C
C is correct. Adjusted on premise resources and configure routing to restricted API on inside VPC.
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