Google Cloud Professional Cloud Network Engineer — Question 12
You created a VPC network named Retail in auto mode. You want to create a VPC network named Distribution and peer it with the Retail VPC.
How should you configure the Distribution VPC?
Answer options
- A. Create the Distribution VPC in auto mode. Peer both the VPCs via network peering.
- B. Create the Distribution VPC in custom mode. Use the CIDR range 10.0.0.0/9. Create the necessary subnets, and then peer them via network peering.
- C. Create the Distribution VPC in custom mode. Use the CIDR range 10.128.0.0/9. Create the necessary subnets, and then peer them via network peering.
- D. Rename the default VPC as "Distribution" and peer it via network peering.
Correct answer: B
Explanation
The correct answer is B because creating a custom VPC with the specified CIDR range allows for proper subnet configuration, ensuring no overlap with the Retail VPC. Option A is incorrect as both VPCs must be in custom mode to avoid conflicts, while C uses an overlapping CIDR range which can lead to routing issues. Option D is not valid since renaming the default VPC does not meet the requirement to create a new Distribution VPC.