AWS Certified SysOps Administrator – Associate — Question 46

A company wants to use only IPv6 for all its Amazon EC2 instances. The EC2 instances must not be accessible from the internet, but the EC2 instances must be able to access the internet. The company creates a dual-stack VPC and IPv6-only subnets.

How should a SysOps administrator configure the VPC to meet these requirements?

Answer options

Correct answer: C

Explanation

The correct answer is C because an egress-only internet gateway allows outbound traffic from IPv6 instances while preventing inbound traffic, which meets the requirement of keeping instances inaccessible from the internet. Options A and D involve NAT gateways, which are not applicable for IPv6 traffic, and option B does not meet the requirement of restricting inbound access.