Bird
0
0

Which AWS CLI command will launch an RDS instance named 'prod-db' using PostgreSQL engine with 20 GB allocated storage?

easy📝 Syntax Q3 of 15
AWS - RDS and Relational Databases
Which AWS CLI command will launch an RDS instance named 'prod-db' using PostgreSQL engine with 20 GB allocated storage?
Aaws rds create-db-instance --db-instance-identifier prod-db --engine postgres --allocated-storage 20 --db-instance-class db.t3.medium --master-username admin --master-user-password Passw0rd!
Baws rds create-db-instance --db-instance-identifier prod-db --engine mysql --allocated-storage 20 --db-instance-class db.t3.medium --master-username admin --master-user-password Passw0rd!
Caws rds create-db-instance --db-instance-identifier prod-db --engine postgres --allocated-storage 10 --db-instance-class db.t3.medium --master-username admin --master-user-password Passw0rd!
Daws rds create-db-instance --db-instance-identifier prod-db --engine postgres --allocated-storage 20 --db-instance-class db.t2.micro --master-username admin --master-user-password Passw0rd!
Step-by-Step Solution
Solution:
  1. Step 1: Specify the DB instance identifier

    The identifier is 'prod-db' as required.
  2. Step 2: Choose the correct engine

    PostgreSQL engine is specified with '--engine postgres'.
  3. Step 3: Set allocated storage

    Allocated storage must be 20 GB, which matches the requirement.
  4. Step 4: Select the DB instance class

    db.t3.medium is a valid instance class for this size and engine.
  5. Step 5: Provide master username and password

    Both are included as required parameters.
  6. Final Answer:

    Option A -> Option A
  7. Quick Check:

    Engine, storage, and instance class match requirements [OK]
Quick Trick: Match engine, storage, and instance class exactly [OK]
Common Mistakes:
MISTAKES
  • Using wrong engine type
  • Allocating insufficient storage
  • Choosing unsupported instance class

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes