You need instances in a VPC subnet to have IPs in both 10.1.1.0/24 and 172.16.45.0/24. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure an alias IP range 172.16.45.0/24 on VMs in the 10.1.1.0/24 subnet..
Why this is the answer
The correct approach is to configure an alias IP range 172.16.45.0/24 on VMs within the 10.1.1.0/24 subnet. Alias IP ranges allow multiple internal IP addresses from different CIDR blocks to be assigned to a single network interface of a VM. This enables the VM to serve applications from multiple IP addresses without requiring multiple network interfaces or separate VMs. Global load balancing maps external traffic to instances and doesn't assign internal IP ranges to VMs. Creating DNS records only resolves hostnames to IPs; it doesn't assign the IPs to the instances themselves. VPC peering connects two distinct VPC networks, allowing resources in each to communicate, but it doesn't assign secondary IP ranges from a different CIDR block to instances within a single subnet.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed