Bird
0
0

You tried launching an RDS instance but got an error: "InvalidParameterCombination: Storage size must be at least 20 GB for db.t3.micro". Your command was:

medium📝 Debug Q14 of 15
AWS - RDS and Relational Databases
You tried launching an RDS instance but got an error: "InvalidParameterCombination: Storage size must be at least 20 GB for db.t3.micro". Your command was:
aws rds create-db-instance --db-instance-identifier testdb --db-instance-class db.t3.micro --engine postgres --master-username admin --master-user-password Pass1234 --allocated-storage 10
What is the cause of the error?
AAllocated storage size is below the minimum for the instance class
BMaster username is invalid
CEngine type postgres is not supported
DDB instance identifier is missing
Step-by-Step Solution
Solution:
  1. Step 1: Analyze error message details

    The error says storage must be at least 20 GB for db.t3.micro, but 10 GB was given.
  2. Step 2: Check command parameters

    The command uses --allocated-storage 10, which is too small for this instance class.
  3. Final Answer:

    Allocated storage size is below the minimum for the instance class -> Option A
  4. Quick Check:

    Storage size too small causes error [OK]
Quick Trick: Check minimum storage size for instance class [OK]
Common Mistakes:
MISTAKES
  • Ignoring minimum storage requirements
  • Blaming username or engine type incorrectly
  • Missing required parameters in command

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes