AWS Certified SysOps Administrator – Associate (legacy) — Question 132

An Administrator has an Amazon EC2 instance with an IPv6 address. The Administrator needs to prevent direct access to this instance from the Internet.
The Administrator should place the EC2 instance in a:

Answer options

Correct answer: C

Explanation

The correct answer is C because placing the EC2 instance in a private subnet with an egress-only Internet Gateway allows it to initiate outbound traffic while preventing inbound traffic from the Internet. Options A and B do not provide the required isolation from direct Internet access, and option D may not effectively block all unwanted inbound traffic despite the security group configuration.