
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company has applications hosted on Amazon EC2 instances with IPv6 addresses. The applications must initiate communications with other external applications using the internet. However the company's security policy states that any external service cannot initiate a connection to the EC2 instances.
What should a solutions architect recommend to resolve this issue?
A
Create a NAT gateway and make it the destination of the subnet's route table
B
Create an internet gateway and make it the destination of the subnet's route table
C
Create a virtual private gateway and make it the destination of the subnet's route table
D
Create an egress-only internet gateway and make it the destination of the subnet's route table
Explanation:
Correct Answer: D - Create an egress-only internet gateway and make it the destination of the subnet's route table
IPv6 Requirement: The question specifically mentions EC2 instances with IPv6 addresses. For IPv6 traffic, you cannot use a NAT gateway (which is designed for IPv4).
Egress-Only Internet Gateway (EIGW): This is the AWS service specifically designed for IPv6 environments where you need:
Security Policy Compliance: The security policy states that external services cannot initiate connections to EC2 instances. An EIGW allows outbound traffic but blocks inbound traffic initiated from the internet, which perfectly matches the requirement.
A. NAT Gateway:
B. Internet Gateway:
C. Virtual Private Gateway:
::/0 (all IPv6 traffic) pointing to the EIGW in the subnet's route table.::/0 → eigw-id