CLOUD-NETWORK practice question 25 of 30
You are configuring your Google Cloud environment to connect to your on-premises network. Your configuration must be able to reach Cloud Storage APIs…
Full set: 233 questionsTo allow on-premises hosts to reach Google APIs privately, you must advertise the specific IP range for restricted.googleapis.com (199.36.153.8/30) from the Cloud Router to your on-premises network. When you switch a Cloud Router's BGP session from default to custom advertisement mode, it stops advertising VPC subnets automatically. Therefore, you must explicitly re-advertise the VPC subnets to maintain connectivity to resources like GKE nodes, in addition to adding the custom IP range for the Google APIs.
A: The default setting only advertises VPC subnet ranges and does not include the special IP ranges required for Private Google Access from on-premises. B: Using a static route on-premises is less scalable and manageable than using BGP to dynamically learn the route from the Cloud Router. C: This option correctly adds the Google API prefix but fails to re-advertise the VPC subnets, which would break connectivity to the GKE nodes.
- Google Cloud Documentation, "Configuring Private Google Access for on-premises hosts". (https://cloud.google.com/vpc/docs/configure-private-google-access-on-premises). This guide specifies advertising the 199.36.153.8/30 range for restricted.googleapis.com.
- Google Cloud Documentation, "Cloud Router overview", section "Route advertisement". (https://cloud.google.com/network-connectivity/docs/router/concepts/overview#advertisement). It states, "When you customize the advertised routes for a BGP session, you specify which routes that Cloud Router advertises... If you don't customize the routes, Cloud Router advertises its default routes." This implies custom mode requires explicit definition of all desired routes.
Keep practicing
Take the free CLOUD-NETWORK practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CLOUD-NETWORK practice questions
- Question 1You are configuring the final elements of a migration effort where resources have been mo…
- Question 2You recently configured Google Cloud Armor security policies to manage traffic to your ap…
- Question 3You want to create a service in GCP using IPv6. What should you do?
- Question 4You work for a multinational enterprise that is moving to GCP. These are the cloud requir…
- Question 5You have a storage bucket that contains two objects. Cloud CDN is enabled on the bucket, …
- Question 6You want to establish a dedicated connection to Google that can access Cloud SQL via a pu…
