Practice Test 3 | Google Cloud Certified Professional Cloud Network Engineer | Dumps | Mock Test
A firm has one GCP organisation with three projects and one VPC in each, namely VPC-N1, VPC-N2 and VPC-N3.
- PJ-1, VPC-N1 has two subnets with CIDR 10.0.1.0/24 and 10.0.2.0/24 respectively
- PJ-2, VPC-N2 has two subnets with CIDR 10.0.3.0/24 and 10.0.4.0/24 respectively
- PJ-3, VPC-N3 has two subnets with CIDR 10.0.2.128/25 and 10.0.5.0/24 respectively
- VPC-N1 is currently peered to VPC-N2
You have been asked to create a second peering between VPC-N3 and VPC-N2. What is the expected outcome, when you attempt to create this VPC Peering?
A. The creation of the peering will succeed and all subnets in VPC-N2 would be able to communicate with VPC-N3.
B. The creation of the peering will succeed but subnets in VPC-N2 would not be able to communicate with VPC-N3 because of the conflict with the subnet in VPC-N1
C. The creation of the peering will succeed and all other subnets in VPC-N2 and VPC-N1 would be able to communicate with VPC-N3.
D. The peering creation would fail because of the subnet CIDR conflict with VPC-N1.
Answer: D
Option A, B, C are incorrect. Given that 10.0.2.128/25 is a subset of 10.0.2.0/24, the action would fail because of the subnet CIDR conflict.
Option D is correct. Google Cloud ensures that no overlapping subnet IP ranges are allowed across VPC networks that have a peered network in common.
https://cloud.google.com/vpc/docs/vpc-peering#networking-features-scenarios and https://cloud.google.com/vpc/docs/using-vpc-peering explains overlapping subnets in VPC peering.
Comments are closed, but trackbacks and pingbacks are open.