Exam4Training

Which configuration meets these requirements?

You have production and test workloads that you want to deploy on Compute Engine. Production VMs need to be in a different subnet than the test VMs. All the VMs must be able to reach each other over internal IP without creating additional routes. You need to set up VPC and the 2 subnets.

Which configuration meets these requirements?
A . Create a single custom VPC with 2 subnets. Create each subnet in a different region and with a different CIDR range.
B . Create a single custom VPC with 2 subnets. Create each subnet in the same region and with the same CIDR range.
C . Create 2 custom VPCs, each with a single subnet. Create each subnet is a different region and with a different CIDR range.
D . Create 2 custom VPCs, each with a single subnet. Create each subnet in the same region and with the same CIDR range.

Answer: A

Explanation:

When we create subnets in the same VPC with different CIDR ranges, they can communicate automatically within VPC. Resources within a VPC network can communicate with one another by using internal (private) IPv4 addresses, subject to applicable network firewall rules

Ref: https://cloud.google.com/vpc/docs/vpc

Exit mobile version