An organization uses an AWS Transit Gateway to connect its VPC () to an on-premises network () over an AWS Site-to-Site VPN. An application server running on an Amazon EC2 instance () in a private subnet () must connect to an on-premises database () on TCP port .
The EC2 instance's security group allows all outbound traffic to and has no inbound rules. The private subnet's route table has a default route () targeting a NAT Gateway, and a local route for . The private subnet's Network Access Control List (NACL) allows outbound traffic to on all ports, but the inbound NACL only allows traffic from the local VPC range ().
The EC2 instance cannot establish a connection to the on-premises database.
Which combination of actions must a SysOps administrator take to resolve this connectivity issue? (Select TWO.)
- Add a route for in the private subnet's route table with the Transit Gateway as the target.Answer
- Add an inbound rule to the private subnet's NACL that allows traffic from on ephemeral ports ().Answer
- CAdd an inbound rule to the private subnet's NACL that allows traffic from on TCP port .
- DModify the private subnet's route table to change the target of the default route () to the Transit Gateway.
- ECreate a Gateway VPC Endpoint for the database and associate it with the private subnet's route table.