AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 285

Your boss decides to assign an Elastic IP to a production instance. Once he does this, access to the URL for that website fails. What happened?

Answer options

Correct answer: A

Explanation

When an Elastic IP is associated with an EC2 instance, its original public IP address is immediately released back to the AWS public pool, which breaks any DNS records pointing to that old IP. To resolve the connection failure, the domain's DNS records must be updated to point to the new Elastic IP. Restarting the Apache service or the instance itself will not resolve this routing issue.