API instances running on Amazon EC2 in Subnet X () are unable to establish TCP connections with Redis cache nodes running in Subnet Y () on port . The security groups associated with both the API instances and the cache nodes permit all inbound and outbound traffic between the two subnets. To troubleshoot, a SysOps Administrator enables VPC Flow Logs on the elastic network interfaces (ENIs) of the cache nodes. The administrator identifies the following log records:
2 123456789012 eni-0987654321fedcba0 172.16.10.50 172.16.20.200 58291 6379 6 1 60 1781234560 1781234620 ACCEPT OK
2 123456789012 eni-0987654321fedcba0 172.16.20.200 172.16.10.50 6379 58291 6 1 40 1781234560 1781234620 REJECT OK
Which configuration change will resolve the connectivity issue?
- AAdd a rule to the Network ACL associated with Subnet Y allowing outbound TCP traffic to destination on port .
- Add a rule to the Network ACL associated with Subnet Y allowing outbound TCP traffic to destination on ports .Answer
- CAdd a route to the route table of Subnet Y targeting an Internet Gateway (IGW) for destination .
- DAssociate Subnet Y's route table with a Gateway VPC Endpoint to route response traffic back to Subnet X.