An administrator deploys web servers in a subnet of a new VPC (). The servers must host a public website on port and retrieve updates from a public third-party repository. The instances have public IPv4 addresses. Currently, users on the internet cannot access the website, and the web servers cannot reach the external repository.
The administrator verifies the following configuration details:
- The security group associated with the web servers allows inbound port from and all outbound traffic.
- The custom Network Access Control List (NACL) associated with the subnet has inbound rules allowing port from and outbound rules allowing all traffic to .
- The subnet's route table contains a local route for but no other routes. An Internet Gateway is attached to the VPC.
Which combination of actions will resolve the connectivity issues? (Select TWO.)
- Add a route to the subnet's route table for targeting the Internet Gateway.Answer
- Add an inbound rule to the custom NACL allowing traffic from on ephemeral ports (-).Answer
- CAdd an outbound rule to the security group allowing traffic on ephemeral ports (-) to .
- DCreate a Gateway VPC Endpoint for the external repository and associate it with the subnet's route table.
- EAdd a route to the subnet's route table for targeting the Virtual Private Gateway.