Bird
0
0

You want to allow instances in a public subnet to access the internet and also allow inbound HTTP traffic from the internet. Which combination of configurations is required?

hard📝 Application Q8 of 15
AWS - VPC Fundamentals
You want to allow instances in a public subnet to access the internet and also allow inbound HTTP traffic from the internet. Which combination of configurations is required?
AAttach an Internet Gateway, update route table with default route to IGW, and disable security groups.
BAttach an Internet Gateway, update route table with default route to IGW, assign public IPs, and allow inbound HTTP in security group.
CCreate a NAT Gateway, update route table to NAT, and assign private IPs to instances.
DAttach an Internet Gateway, assign Elastic IPs to instances, and block all inbound traffic.
Step-by-Step Solution
Solution:
  1. Step 1: Enable internet access

    Attach IGW and update route table with default route to IGW.
  2. Step 2: Ensure instances have public IPs and allow inbound HTTP

    Assign public IPs and configure security groups to allow inbound HTTP (port 80).
  3. Final Answer:

    Attach an Internet Gateway, update route table with default route to IGW, assign public IPs, and allow inbound HTTP in security group. -> Option B
  4. Quick Check:

    IGW + route + public IP + security group HTTP = public web access [OK]
Quick Trick: Public subnet needs IGW, route, public IP, and security group rules [OK]
Common Mistakes:
  • Using NAT Gateway for public subnet internet access
  • Disabling security groups instead of configuring them

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes