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
The correct solution that meets the requirements specified by the company is:
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.
Explanation: An egress-only Internet gateway (eigw) in AWS is used for enabling outbound traffic to the internet over IPv6, while preventing inbound traffic from the internet. This aligns with the company's requirement to not permit IPv6 traffic from the public internet and to have the company's servers initiate all IPv6 connectivity.
Option C involves creating an egress-only Internet gateway and then updating the route tables associated with the private subnets to direct the IPv6 traffic to this egress-only gateway. This setup allows instances in the private subnet to initiate outbound IPv6 connections to the internet (such as to the third-party API service), but it does not allow inbound connections from the internet, thereby maintaining a secure environment.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.