D2: Configuring VPC Peering & Shared VPC
Google Cloud Professional Cloud Network Engineer exam practice questions · 10 flashcards
Question
Create VPC peering?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Configuring VPC Peering & Shared VPC practice questions and answers
- Create VPC peering?gcloud compute networks peerings create NAME --network=A --peer-network=B (both sides).
- Export custom routes over peering?--export-custom-routes / --import-custom-routes.
- Peering subnet routes with public IPs?Import/export subnet routes with public IP must be enabled.
- Enable a Shared VPC host?gcloud compute shared-vpc enable HOST_PROJECT.
- Attach service project?gcloud compute shared-vpc associated-projects add SERVICE --host-project=HOST.
- Share specific subnets?Grant Compute Network User on those subnets.
- Who needs Network User?Users and service accounts (incl. service agents) creating resources in service projects.
- GKE in service project needs?Host Service Agent User role on host for GKE SA.
- Can peering overlap ranges?No.
- Peering status check?gcloud compute networks peerings list.