Bird
0
0

Your script to launch an EC2 instance returns 'InvalidInstanceType' error. What is the most probable cause?

medium📝 Debug Q6 of 15
AWS - EC2 Fundamentals
Your script to launch an EC2 instance returns 'InvalidInstanceType' error. What is the most probable cause?
AThe script lacks permissions to launch instances
BThe instance type is deprecated but still supported
CThe specified instance type is not available in the selected region
DThe AMI ID used is invalid
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the error message

    'InvalidInstanceType' indicates the instance type is not recognized or unavailable.
  2. Step 2: Common cause

    Some instance types are not offered in all AWS regions.
  3. Final Answer:

    The specified instance type is not available in the selected region -> Option C
  4. Quick Check:

    Check region availability for instance types [OK]
Quick Trick: Instance types vary by region; verify availability [OK]
Common Mistakes:
  • Assuming permissions cause this error
  • Confusing AMI errors with instance type errors

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes