Deployment, Provisioning, and Automation
An EC2 deployment fails with InsufficientFreeAddressesInSubnet. The selected subnet has no available IPv4 addresses, but another subnet in the required Availability Zone has sufficient capacity. What should the administrator do?
Show the answer
Correct answerD. Update the deployment to use the subnet with available addresses.
AWhy not this: An AMI change does not increase subnet capacity; additional network interfaces can consume more addresses.
BWhy not this: An internet gateway route changes connectivity, not the number of available subnet addresses.
CWhy not this: An instance quota increase does not provide additional private IPv4 addresses within a subnet.
DWhy this is right: The alternate subnet supplies the private IPv4 addresses required for the deployment.
The error identifies exhausted subnet address capacity; selecting a subnet with available addresses resolves that constraint. Increasing the EC2 instance quota does not increase a subnet's address capacity.