Professional Cloud Network Engineer Exam QuestionsBrowse all questions from this exam

Professional Cloud Network Engineer Exam - Question 5


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?

Show Answer
Correct Answer: B

To peer a new VPC with an existing one in auto mode without causing IP address conflicts, the new VPC should be created in custom mode to allow for specific IP address management. Using the CIDR range 10.0.0.0/9 ensures there is no overlap with the automatically created subnets in the Retail VPC, which typically uses the 10.128.0.0/9 range. Therefore, creating the Distribution VPC in custom mode with the 10.0.0.0/9 CIDR range and then peering both VPCs via network peering is the correct approach.

Discussion

17 comments
Sign in to comment
jordi_194Option: B
Jun 18, 2020

It has to be custom mode to avoid collision but in case of C 10.128.0.0/9 will collide with the ranges automatically created. 10.0.0.0/9 doesn’t overlap with them. https://cloud.google.com/vpc/docs/vpc#ip-ranges

Pegpeng
Oct 29, 2021

you are right, I have test this in GCP, one VPC with auto mode, the other with custom, but with 10.128.0.0-9, there will be confliction.

B3nd3cida
Nov 28, 2021

indeed!

AzureDP900
Nov 29, 2022

Agreed

saurabh1805Option: B
Aug 22, 2020

B is correct answer, existing subnet can not be in range of C i.e. 10.128.0.0/9. https://cloud.google.com/vpc/docs/vpc#subnet-ranges

kumarp6Option: B
Jan 4, 2022

Answer is B

voyagerOption: B
Feb 13, 2021

Ans B . 10.128.0.0/9 is used in auto mode creation and overlap

pentium2000Option: B
Mar 22, 2021

B, 200%

bingluOption: B
Jul 6, 2022

B is correct answer

xhilmiOption: B
Dec 12, 2023

The correct configuration for the Distribution VPC is option B. Explanation: Option B is the appropriate choice because it suggests creating the Distribution VPC in custom mode, allowing you to specify the CIDR range (10.0.0.0/9) for the VPC. Auto mode does not allow you to specify the IP range, and it's recommended to use custom mode when you want more control over the IP addressing. Network peering requires both VPCs to be in custom mode. Option C also suggests creating the Distribution VPC in custom mode with a specified CIDR range, but the provided range (10.128.0.0/9) might overlap with the auto mode range used by the Retail VPC, so it could lead to conflicts. Options A and D do not follow best practices, as renaming the default VPC is not recommended (Option D) and using auto mode for the Distribution VPC (Option A) would limit your ability to choose a specific CIDR range.

[Removed]Option: B
Nov 19, 2020

Ans - B

VidyasagarOption: B
Mar 23, 2021

B is the correct answer

seddyOption: B
May 16, 2021

It's B. You cannot peer an auto-mode VPC with another auto mode VPC since Google uses the same subnet CIDR range for all auto modes (10.128.0.0/9) Thus Custom mode NW with a CIDR different from 10.128.0.0/9 is the necessary condition! Peace :)

yas_cloudOption: B
Apr 6, 2022

Correct answer is B.

GCP72Option: B
Aug 17, 2022

B is correct answer

pk349Option: B
Jan 12, 2023

B: When you create a subnet in a custom mode VPC network, you choose what IPv4 range to use. For more information, see valid ranges, prohibited subnet ranges, and working with subnets. There are four unusable IP addresses in every primary IPv4 subnet range. For more information, see reserved IP addresses in a subnet. Auto mode VPC networks are created with one subnet per region at creation time and automatically receive new subnets in new regions. The subnets have IPv4 ranges only, and all subnet ranges fit inside the 10.128.0.0/9 CIDR block. Unused portions of 10.128.0.0/9 are reserved for future Google Cloud use. For information about what IPv4 range is used in which region, see Auto mode IPv4 subnet ranges.

Ben756Option: B
Mar 8, 2023

B is correct. Option A is incorrect because the Distribution VPC must be created in custom mode, and not in auto mode, in order to specify its IP address range. Option C is incorrect because the CIDR range 10.128.0.0/9 overlaps with the IP address range of the Retail VPC, which starts from 10.128.0.0/20. Option D is incorrect because renaming the default VPC does not create a new VPC with a unique IP address range.

TexfanOption: B
Aug 6, 2023

B is the right answer

dragos_dragos62000Option: B
Jan 14, 2024

10.0.0.0/9 doesn’t overlap, answer is B.

nkastanasOption: B
Jul 7, 2024

Auto mode VPC networks are created with one subnet per region at creation time and automatically receive new subnets in new regions. The subnets have IPv4 ranges only, and all subnet ranges fit inside the 10.128.0.0/9 CIDR block. Unused portions of 10.128.0.0/9 are reserved for future Google Cloud use. For information about what IPv4 range is used in which region, see Auto mode IPv4 subnet ranges.