Google Cloud Associate Cloud Engineer — Question 192
You are running out of primary internal IP addresses in a subnet for a custom mode VPC. The subnet has the IP range 10.0.0.0/20, and the IP addresses are primarily used by virtual machines in the project. You need to provide more IP addresses for the virtual machines. What should you do?
Answer options
- A. Add a secondary IP range 10.1.0.0/20 to the subnet.
- B. Change the subnet IP range from 10.0.0.0/20 to 10.0.0.0/18.
- C. Change the subnet IP range from 10.0.0.0/20 to 10.0.0.0/22.
- D. Convert the subnet IP range from IPv4 to IPv6.
Correct answer: B
Explanation
The correct answer, B, increases the range of IP addresses available within the subnet by changing the CIDR notation from /20 to /18, thus providing more addresses. Option A does not increase the primary IP addresses in the existing subnet. Options C and D do not provide a sufficient address range, with C reducing the number of available addresses and D completely changing the IP version without addressing the current need.