Question 20
A regional custom-mode VPC subnet uses 10.24.8.0/24. Its address pool is almost exhausted, and the adjacent 10.24.9.0/24 space is free with no overlap with other routes. The team wants the existing subnet to cover both ranges without recreating its VMs. What is the appropriate change?
Explanation
Correct Answer
Expanding the subnet primary CIDR to /23 includes both /24 networks, provided the enlarged range is valid and nonoverlapping. Expansion is not reversible.
Incorrect Answers
Auto mode is not needed to expand a custom subnet and would introduce automatically generated subnet behavior rather than enlarging the target range.
Cloud DNS records map names to addresses or other DNS data; they do not change the subnet CIDR, which determines what IP addresses the subnet can assign.
Deleting a subnet with active VMs is disruptive and unnecessary when a valid contiguous primary range expansion is available.