Bird
0
0

You ran the command aws rds create-db-snapshot --db-instance-identifier mydb but received an error. What is the most probable reason?

medium📝 Debug Q6 of 15
AWS - RDS and Relational Databases
You ran the command aws rds create-db-snapshot --db-instance-identifier mydb but received an error. What is the most probable reason?
AAutomated backups must be enabled before creating manual snapshots
BThe RDS instance <code>mydb</code> does not exist
CThe <code>--db-snapshot-identifier</code> parameter is missing
DYou need to specify the AWS region explicitly
Step-by-Step Solution
Solution:
  1. Step 1: Review the command syntax

    The create-db-snapshot command requires both --db-instance-identifier and --db-snapshot-identifier parameters.
  2. Step 2: Identify missing parameter

    The command is missing the --db-snapshot-identifier which specifies the name of the snapshot.
  3. Final Answer:

    The missing --db-snapshot-identifier parameter causes the error -> Option C
  4. Quick Check:

    Check for required parameters in AWS CLI docs [OK]
Quick Trick: Always include snapshot identifier when creating snapshots [OK]
Common Mistakes:
  • Assuming instance identifier alone is enough
  • Confusing automated backups with manual snapshots
  • Not checking required parameters in CLI commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes