Bird
0
0

If you launch an EC2 instance without specifying a security group, what will happen?

medium📝 service behavior Q5 of 15
AWS - EC2 Fundamentals
If you launch an EC2 instance without specifying a security group, what will happen?
AThe instance will have no network access
BThe instance launch will fail due to missing security group
CThe instance will be assigned a random security group from another VPC
DThe instance will launch with the default security group of the VPC
Step-by-Step Solution
Solution:
  1. Step 1: Understand default security group behavior

    If no security group is specified, AWS assigns the default security group of the VPC automatically.
  2. Step 2: Exclude failure or no access scenarios

    Instance launch does not fail and it does have network access through the default group.
  3. Final Answer:

    The instance will launch with the default security group of the VPC -> Option D
  4. Quick Check:

    Default security group assigned if none specified [OK]
Quick Trick: No security group? AWS uses VPC's default group automatically [OK]
Common Mistakes:
MISTAKES
  • Thinking launch fails without explicit security group
  • Assuming instance has no network access
  • Believing security groups can be assigned from other VPCs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes