
Answer-first summary for fast verification
Answer: Create an egress-only Internet gateway in the VPC. Add a route to the existing subnet route tables to point IPv6 traffic to the egress-only internet gateway.
To meet the requirements of enabling IPv6 connectivity for the existing workload in a private subnet without permitting IPv6 traffic from the public internet, the correct solution involves using an egress-only internet gateway. This gateway allows outbound IPv6 traffic from instances in the VPC to the internet, but it does not allow inbound IPv6 traffic initiated from the internet. This ensures that the company's servers can initiate all IPv6 connectivity, as required. Option C correctly suggests creating an egress-only internet gateway and adding a route to the existing subnet route tables to point IPv6 traffic to the egress-only internet gateway. This solution does not involve creating an internet gateway or a NAT gateway/instance, which are not necessary for this specific requirement and could potentially allow unwanted inbound traffic. Option D is incorrect because configuring a security group to deny all inbound traffic and associating it with the egress-only internet gateway is not a standard or effective method for controlling traffic through an egress-only internet gateway. The egress-only internet gateway inherently blocks inbound traffic initiated from the internet, making the security group configuration redundant and unnecessary.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A banking company operates its public mobile banking stack on AWS within a VPC containing private and public subnets, using IPv4 networking without IPv6 support. To integrate a third-party API that requires IPv6, a network engineer enables IPv6 in the VPC and private subnets. The company mandates that IPv6 traffic must not originate from the public internet and that all IPv6 connectivity must be initiated by the company's servers.
What solution will fulfill these requirements?
A
Create an internet gateway and a NAT gateway in the VPC. Add a route to the existing subnet route tables to point IPv6 traffic to the NAT gateway.
B
Create an internet gateway and a NAT instance in the VPC. Add a route to the existing subnet route tables to point IPv6 traffic to the NAT instance.
C
Create an egress-only Internet gateway in the VPC. Add a route to the existing subnet route tables to point IPv6 traffic to the egress-only internet gateway.
D
Create an egress-only internet gateway in the VPC. Configure a security group that denies all inbound traffic. Associate the security group with the egress-only internet gateway.