Bird
0
0

You wrote this AWS CLI command to create an RDS instance:

medium📝 Debug Q6 of 15
AWS - RDS and Relational Databases
You wrote this AWS CLI command to create an RDS instance:
aws rds create-db-instance --db-instance-identifier testdb --engine mysql8.0 --allocated-storage 20 --db-instance-class db.t3.micro --master-username admin --master-user-password secret

Why does this command fail?
AAllocated storage must be at least 100 GB
BThe engine name 'mysql8.0' is invalid; use 'mysql' instead
Cdb-instance-class db.t3.micro is not supported for RDS
DMissing required parameter 'master-username'
Step-by-Step Solution
Solution:
  1. Step 1: Check engine parameter format

    AWS RDS expects 'mysql' as engine name, not 'mysql8.0'. Version is specified separately.
  2. Step 2: Verify other parameters

    Allocated storage of 20 GB is valid; db.t3.micro is supported; master-username and other required parameters are present.
  3. Final Answer:

    Engine name 'mysql8.0' is invalid; use 'mysql' -> Option B
  4. Quick Check:

    Engine name must be 'mysql' [OK]
Quick Trick: Use 'mysql' engine name, specify version separately [OK]
Common Mistakes:
MISTAKES
  • Appending version to engine name
  • Wrong storage size assumptions
  • Ignoring required parameters

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes