A company is setting up a new web application in an Amazon VPC. The company wants to ensure that resources within a public subnet can successfully communicate with the internet. Which two of the following configurations are required to enable this communication? (Select TWO.)
- An Internet Gateway attached to the Virtual Private Cloud (VPC)Answer
- A route in the subnet's route table that directs traffic destined for the internet () to the Internet GatewayAnswer
- CA Network Access Control List (NACL) configured to automatically allow return traffic statefully
- DA VPC Peering connection established directly between the VPC and the public internet
- EAn Availability Zone distributed across multiple AWS Regions to handle internet traffic routing
Answer
To enable internet communication for resources in a public subnet, you must attach an Internet Gateway to the VPC and add a route in the subnet's route table that directs internet-bound traffic () to the Internet Gateway.
To enable internet access, the VPC must have a path to the internet via an Internet Gateway, and the subnet's route table must route destination traffic () to the Internet Gateway.
Step-by-Step Solution
Key Concept
For resources in a VPC subnet to access the public internet, the VPC requires an attached Internet Gateway and the subnet's route table must route all non-local traffic () to that Internet Gateway.
Estimated Time:1m 0s