A banking company is successfully operating its public mobile banking stack on AWS. The…
- User
A banking company is successfully operating its public mobile banking stack on AWS. The mobile banking stack is deployed in a VPC that includes private subnets and public subnets. The company is using IPv4 networking and has not deployed or supported IPv6 in the environment. The company has decided to adopt a third-party service provider's API and must integrate the API with the existing environment. The service provider’s API requires the use of IPv6. A network engineer must turn on IPv6 connectivity for the existing workload that is deployed in a private subnet. The company does not want to permit IPv6 traffic from the public internet and mandates that the company's servers must initiate all IPv6 connectivity. The network engineer turns on IPv6 in the VPC and in the private subnets. Which solution will meet 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 VPAdd 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.
Assistant
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.
An egress-only Internet gateway is a virtual device that allows IPv6 traffic to access the internet, while preventing the internet from initiating connections to the VPC. This meets the requirement of allowing the company's servers to initiate IPv6 connectivity while blocking inbound IPv6 traffic from the public internet. The other options (A, B, and D) are not valid solutions for this scenario.
- Option A suggests using a NAT gateway, but NAT gateways do not support IPv6 traffic.
- Option B suggests using a NAT instance, but NAT instances also do not support IPv6 traffic.
- Option D suggests configuring a security group to deny all inbound traffic, but security groups cannot be associated with an egress-only Internet gateway. Security groups are used to control traffic to and from instances, not the egress-only Internet gateway itself.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.