Bird
0
0

How can you allow inbound HTTPS traffic to a web server in a private subnet without assigning it a public IP?

hard📝 Application Q9 of 15
AWS - VPC Fundamentals
How can you allow inbound HTTPS traffic to a web server in a private subnet without assigning it a public IP?
AAdd a route to the internet gateway in the private subnet's route table.
BPlace an Application Load Balancer in a public subnet and route traffic to the private subnet.
CAssign a public IP to the instance in the private subnet.
DUse a NAT Gateway to forward inbound HTTPS traffic.
Step-by-Step Solution
Solution:
  1. Step 1: Understand inbound access to private subnet

    Instances in private subnets cannot receive direct inbound internet traffic without public IP or special setup.
  2. Step 2: Use Load Balancer in public subnet

    An Application Load Balancer (ALB) in a public subnet can accept HTTPS traffic and forward it to instances in private subnet.
  3. Final Answer:

    Place an Application Load Balancer in a public subnet and route traffic to the private subnet. -> Option B
  4. Quick Check:

    ALB in public subnet enables inbound to private subnet [OK]
Quick Trick: Use ALB in public subnet for private instance access [OK]
Common Mistakes:
MISTAKES
  • Assigning public IP to private subnet instance
  • Adding IGW route to private subnet
  • Using NAT Gateway for inbound traffic

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes