Bird
0
0

Which of the following is the correct AWS CLI command to create a new DB parameter group named mydbparamgroup for MySQL?

easy📝 Configuration Q3 of 15
AWS - RDS and Relational Databases
Which of the following is the correct AWS CLI command to create a new DB parameter group named mydbparamgroup for MySQL?
Aaws rds create-db-option-group --db-option-group-name mydbparamgroup --engine mysql --major-engine-version 8.0
Baws rds modify-db-parameter-group --db-parameter-group-name mydbparamgroup --parameters file://params.json
Caws rds create-db-parameter-group --db-parameter-group-name mydbparamgroup --db-parameter-group-family mysql8.0 --description "My parameter group"
Daws rds create-db-subnet-group --db-subnet-group-name mydbparamgroup --subnet-ids subnet-12345
Step-by-Step Solution
Solution:
  1. Step 1: Identify the command to create a parameter group

    The command to create a parameter group is create-db-parameter-group with required flags for name, family, and description.
  2. Step 2: Verify the correct flags and values

    aws rds create-db-parameter-group --db-parameter-group-name mydbparamgroup --db-parameter-group-family mysql8.0 --description "My parameter group" uses the correct command and flags for a MySQL 8.0 parameter group.
  3. Final Answer:

    aws rds create-db-parameter-group --db-parameter-group-name mydbparamgroup --db-parameter-group-family mysql8.0 --description "My parameter group" -> Option C
  4. Quick Check:

    Create parameter group = aws rds create-db-parameter-group --db-parameter-group-name mydbparamgroup --db-parameter-group-family mysql8.0 --description "My parameter group" [OK]
Quick Trick: Use create-db-parameter-group with family and description [OK]
Common Mistakes:
  • Using create-db-option-group instead of parameter group
  • Confusing modify command with create
  • Using subnet group commands by mistake

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes