Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


As the DevOps engineer for your team, you've deployed a custom-mode VPC in a GCP project. The team is running low on primary internal IP addresses in a subnet with the IP range 10.0.1.0/20. What's the best approach to allocate more IP addresses to your team?




Explanation:

The optimal solution to increase the number of available IP addresses is to change the subnet IP range from 10.0.1.0/20 to 10.0.1.0/18. This adjustment expands the subnet mask, providing up to 16,382 usable IP addresses, a significant increase from the current 4,094. While other options like adding a secondary IP range or switching to IPv6 are viable, they either require additional configuration or are more complex to implement. Changing the subnet mask to /18 offers a straightforward and efficient solution to meet the team's needs without unnecessary complications.