Bird
0
0

You created a target group but forgot to specify the VPC ID. What will happen when you try to register targets?

medium📝 Debug Q6 of 15
AWS - Elastic Load Balancing
You created a target group but forgot to specify the VPC ID. What will happen when you try to register targets?
ATargets will register successfully without VPC ID.
BRegistration will fail because VPC ID is required for target groups.
CAWS automatically assigns a default VPC ID.
DTargets register but traffic will not be routed.
Step-by-Step Solution
Solution:
  1. Step 1: Check target group creation requirements

    VPC ID is required for target groups with target type 'instance' or 'alb'. It is optional only for 'ip' and 'lambda' target types.
  2. Step 2: Registration behavior without VPC ID

    If you create a target group without specifying VPC ID for instance targets, registration will fail because VPC ID is mandatory.
  3. Final Answer:

    Registration will fail because VPC ID is required for target groups. -> Option B
  4. Quick Check:

    VPC ID required for instance target groups [OK]
Quick Trick: VPC ID required for instance target groups [OK]
Common Mistakes:
MISTAKES
  • Thinking VPC ID required for all target groups
  • Believing AWS auto-assigns default VPC
  • Assuming traffic fails without VPC on TG

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes