CompTIA Cloud+ (CV0-001) — Question 8
An administrator wants VM1 and VM2 to be on the same subnet. Which of the following actions MUST the administrator perform?
Answer options
- A. Configure the VMs to have the same number of virtual NICs.
- B. Configure the VMs to have the same IP address.
- C. Configure the VMs to have the same default gateway.
- D. Configure the VMs to be on the same virtual switch.
Correct answer: C
Explanation
To ensure that VM1 and VM2 are on the same subnet, they must have the same default gateway, which allows them to communicate within the subnet. Simply having the same number of virtual NICs or the same IP address does not guarantee they are on the same subnet, and using the same virtual switch is not a requirement for subnetting.