
Explanation:
The correct answer is C because the VMs need to communicate using private IPs, which requires them to be hosted in the same VPC. The subnets can be in any region but must have non-overlapping CIDR ranges to avoid conflicts.
Refer to the GCP documentation on VPC requirements for more details on intra-VPC communication and firewall rules necessary for instance communication within the same network.
Ultimate access to all questions.
No comments yet.
Your company is planning to set up both Production and Test environments with the key requirement that the VMs must communicate with each other using internal IPs without any additional routes configured. How should this solution be designed?
A
Configure a single VPC with 2 subnets having the same CIDR range hosted in the same region
B
Configure 2 VPCs with 1 subnet each having the different CIDR range hosted in the different region
C
Configure a single VPC with 2 subnets having the different CIDR range hosted in the same region
D
Configure 2 VPCs with 1 subnet each having the same CIDR range hosted in the same region