AWS Certified SysOps Administrator – Associate — Question 191

A company runs an application on hundreds of Amazon EC2 instances in three Availability Zones. The application calls a third-party API over the public internet. A SysOps administrator must provide the third party with a list of static IP addresses so that the third party can allow traffic from the application.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

The correct answer is A because adding a NAT gateway in each Availability Zone allows instances in private subnets to access the internet while providing a static IP address for the third party to whitelist. Option B is incorrect as associating one Elastic IP with all instances doesn't ensure each instance can be accessed individually. Option C is not valid since using the private IP of the NLB does not provide a static public IP for third-party access. Option D fails because each instance would not have a static IP visible to the third party.