vpc-network-a to vpc-network-b.vpc-network-b to vpc-network-a.gcloud commands to configure the peering.Jump into concepts and practice - no test required
vpc-network-a to vpc-network-b.vpc-network-b to vpc-network-a.gcloud commands to configure the peering.gcloud command to create a VPC peering connection from vpc-network-a to vpc-network-b with the peering name peer-a-to-b.Use the gcloud compute networks peerings create command with the correct network names and peering name.
gcloud command to create a VPC peering connection from vpc-network-b to vpc-network-a with the peering name peer-b-to-a.Repeat the peering creation from the other network with a different peering name.
gcloud command to list the VPC peering connections for vpc-network-a and verify the peering peer-a-to-b is in the list.Use gcloud compute networks peerings list --network=vpc-network-a to see the peering connections.
gcloud command to list the VPC peering connections for vpc-network-b and verify the peering peer-b-to-a is in the list.Use gcloud compute networks peerings list --network=vpc-network-b to confirm the peering from the other side.
What is the main purpose of VPC peering in Google Cloud?
Which of the following is the correct command to create a VPC peering connection from net-a to net-b in Google Cloud CLI?
gcloud compute networks peerings create PEERING_NAME --network=NETWORK --peer-network=PEER_NETWORK
Given two VPC networks net-a and net-b peered together, which of the following statements about routing is true?
1. Each network must create routes to the other's IP ranges.
2. Routes are automatically shared by default.
3. Peering allows communication only if firewall rules permit.
4. Peering replaces the need for VPN connections.
You created a VPC peering between net-a and net-b, but instances in net-a cannot reach instances in net-b. What is the most likely cause?
net-b block incoming traffic from net-a -> Option DYou have two VPC networks, net-a with CIDR 10.0.0.0/16 and net-b with CIDR 10.0.0.0/16. You want to peer them to share resources privately. What is the best approach?