Bird
0
0

You want to launch a private EC2 instance without internet access using the Default VPC. What should you do?

hard📝 Best Practice Q15 of 15
AWS - VPC Fundamentals
You want to launch a private EC2 instance without internet access using the Default VPC. What should you do?
ALaunch in the Default VPC subnet and disable the public IP
BCreate a new private subnet in the Default VPC and launch the instance there
CUse the Default VPC as is; all instances are private by default
DDelete the Default VPC and create a custom VPC with no internet gateway
Step-by-Step Solution
Solution:
  1. Step 1: Understand Default VPC subnet types

    Default VPC subnets are public with internet access by default.
  2. Step 2: Plan for private instance launch

    To have a private instance, create a new private subnet without internet gateway attachment.
  3. Step 3: Avoid deleting Default VPC unnecessarily

    Deleting Default VPC is not required; just add private subnet inside it.
  4. Final Answer:

    Create a new private subnet in the Default VPC and launch the instance there -> Option B
  5. Quick Check:

    Private instance = new private subnet in Default VPC [OK]
Quick Trick: Add private subnet in Default VPC for no internet [OK]
Common Mistakes:
MISTAKES
  • Assuming disabling public IP alone makes instance private
  • Thinking all Default VPC instances are private
  • Deleting Default VPC unnecessarily

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes