66.9k views
2 votes
While troubleshooting, a cloud architect realized that the amazon ec2 instance is unable to connect to the internet using the internet gateway. which conditions should be met for internet connectivity to be established? (select two)

a. The network ACLs associated with the subnet must have rules to allow inbound and outbound traffic
b. The route table in the instance’s subnet should have a route to an Internet Gateway
c. The instance's subnet is not associated with any route table
d. The instance's subnet is associated with multiple route tables with conflicting configurations
e. The subnet has been configured to be Public and has no access to internet

1 Answer

5 votes

Final answer:

An Amazon EC2 instance requires properly configured network ACLs to allow traffic and a correctly set up route table in the instance's subnet to connect to the internet via an Internet Gateway.

Step-by-step explanation:

For an Amazon EC2 instance to connect to the internet via an Internet Gateway, the following conditions must be met:

  • The network ACLs associated with the subnet must have rules to allow inbound and outbound traffic.
  • The route table in the instance’s subnet should have a route to an Internet Gateway. This route is typically set to point to 0.0.0.0/0, which covers all internet traffic.

Option (c), where the instance's subnet is not associated with any route table, would prevent any network traffic from routing correctly. Similarly, option (d), multiple route tables with conflicting configurations, can cause routing issues. However, both of these conditions would prevent internet access, meaning they are not conditions that should be met but rather issues to avoid. Finally, option (e) is incorrect because for a subnet to have internet access, it must be configured as a public subnet which inherently means it should have access to the internet, provided that it is connected to an Internet Gateway and properly configured Network ACLs and Route Tables.

User Marking
by
9.0k points