Bird
0
0

You created a subnet with MapPublicIpOnLaunch: false but instances still get public IPs. What is the likely issue?

medium📝 Debug Q14 of 15
AWS - VPC Fundamentals
You created a subnet with MapPublicIpOnLaunch: false but instances still get public IPs. What is the likely issue?
AThe subnet is associated with a route table that routes to an internet gateway.
BThe instance launch configuration overrides subnet settings to assign public IPs.
CThe VPC has no internet gateway attached.
DThe subnet CIDR block overlaps with another subnet.
Step-by-Step Solution
Solution:
  1. Step 1: Understand subnet vs instance IP assignment

    Subnet setting disables automatic public IP assignment, but instance launch settings can override this.
  2. Step 2: Identify cause of public IP despite subnet config

    If instance launch config explicitly assigns public IPs, it overrides subnet default behavior.
  3. Final Answer:

    The instance launch configuration overrides subnet settings to assign public IPs. -> Option B
  4. Quick Check:

    Instance config can override subnet IP assignment [OK]
Quick Trick: Instance launch config can override subnet IP settings [OK]
Common Mistakes:
MISTAKES
  • Blaming route table for IP assignment
  • Ignoring instance-level settings
  • Confusing CIDR overlap with IP assignment

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes