Topic 1 Question 50
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?
Create a single custom VPC with 2 subnets. Create each subnet in a different region and with a different CIDR range.
Create a single custom VPC with 2 subnets. Create each subnet in the same region and with the same CIDR range.
Create 2 custom VPCs, each with a single subnet. Create each subnet in a different region and with a different CIDR range.
Create 2 custom VPCs, each with a single subnet. Create each subnet in the same region and with the same CIDR range.
ユーザの投票
コメント(17)
A is correct
👍 33JamesBond2020/03/25Vote A https://cloud.google.com/vpc/docs/using-vpc#subnet-rules Primary and secondary ranges for subnets cannot overlap with any allocated range, any primary or secondary range of another subnet in the same network, or any IP ranges of subnets in peered networks.
👍 21nwk2020/10/26- 正解だと思う選択肢: A
B is wrong, try it yourself, create a new VPN and create 2 subnets in the same region. It won't let you use the same parameters(IP class,netmask) for the 2 subnets. The error was "Operation type [insert] failed with message "Invalid IPCidrRange: 10.10.10.0/24 conflicts with existing subnetwork 'net1-2' in region 'us-central1'."" It is obvious anyway, using the same CIDR on two subnets would require bridging capabilities that are not implemented on GCP. Networks are routed at layer 3 not bridged at layer 2 on GCP. Answer is A.
👍 7PAUGURU2022/05/03
シャッフルモード