Bird
Raised Fist0
AWScloud~10 mins

RDS supported engines in AWS - Interactive Code Practice

Choose your learning style10 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to specify the Amazon RDS engine for MySQL.

AWS
engine = "[1]"
Drag options to blanks, or click blank then click option'
Asqlserver
Boracle
Cmysql
Dmongodb
Attempts:
3 left
💡 Hint
Common Mistakes
Using unsupported engines like MongoDB which is not supported by RDS.
Confusing engine names with database types.
2fill in blank
medium

Complete the code to specify the Amazon RDS engine for PostgreSQL.

AWS
engine = "[1]"
Drag options to blanks, or click blank then click option'
Apostgres
Bmariadb
Csqlserver
Doracle
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'postgresql' instead of 'postgres' as the engine name.
Confusing PostgreSQL with MariaDB or Oracle.
3fill in blank
hard

Fix the error in the code to specify the Amazon RDS engine for MariaDB.

AWS
engine = "[1]"
Drag options to blanks, or click blank then click option'
Asqlserver
Bmysql
Cpostgres
Dmariadb
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'mysql' instead of 'mariadb' for MariaDB engine.
Using unsupported engine names.
4fill in blank
hard

Fill both blanks to specify the Amazon RDS engine and version for SQL Server.

AWS
engine = "[1]"
engine_version = "[2]"
Drag options to blanks, or click blank then click option'
Asqlserver
B2019
C2017
Doracle
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'oracle' as engine name for SQL Server.
Using invalid version strings.
5fill in blank
hard

Fill all three blanks to specify the Amazon RDS engine, version, and license model for Oracle.

AWS
engine = "[1]"
engine_version = "[2]"
license_model = "[3]"
Drag options to blanks, or click blank then click option'
Aoracle
B12.2
Cbring-your-own-license
Dpostgres
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'postgres' as engine for Oracle.
Using incorrect license model strings.

Practice

(1/5)
1. Which of the following database engines is supported by AWS RDS?
easy
A. MySQL
B. MongoDB
C. Cassandra
D. Redis

Solution

  1. Step 1: Recall AWS RDS supported engines

    AWS RDS supports popular relational database engines like MySQL, PostgreSQL, Oracle, SQL Server, and Aurora.
  2. Step 2: Identify which option matches supported engines

    Among the options, only MySQL is a supported RDS engine. MongoDB, Cassandra, and Redis are not supported by RDS but by other AWS services.
  3. Final Answer:

    MySQL -> Option A
  4. Quick Check:

    RDS supports MySQL = A [OK]
Hint: Remember RDS supports relational engines like MySQL, not NoSQL [OK]
Common Mistakes:
  • Confusing NoSQL databases as RDS engines
  • Assuming Redis is supported by RDS
  • Thinking Cassandra is supported by RDS
2. Which of the following is the correct way to specify the engine when creating an RDS instance using AWS CLI?
easy
A. --engine mongodb
B. --engine mysql
C. --engine redis
D. --engine cassandra

Solution

  1. Step 1: Understand AWS CLI engine parameter

    The AWS CLI uses the parameter --engine to specify the database engine when creating an RDS instance.
  2. Step 2: Identify valid engine names

    Valid engine names include mysql, postgres, oracle, sqlserver, aurora. MongoDB, Redis, and Cassandra are not valid for RDS engine parameter.
  3. Final Answer:

    --engine mysql -> Option B
  4. Quick Check:

    Correct engine name for MySQL is mysql [OK]
Hint: Use lowercase engine names like mysql, not unsupported ones [OK]
Common Mistakes:
  • Using unsupported engines like mongodb or redis
  • Capitalizing engine names incorrectly
  • Confusing engine parameter with instance type
3. Given the following AWS CLI command to create an RDS instance:
aws rds create-db-instance --db-instance-identifier mydb --engine postgres --allocated-storage 20 --db-instance-class db.t3.micro --master-username admin --master-user-password secret123

What database engine will this RDS instance use?
medium
A. SQL Server
B. MySQL
C. Oracle
D. PostgreSQL

Solution

  1. Step 1: Analyze the --engine parameter in the command

    The command specifies --engine postgres, which corresponds to PostgreSQL.
  2. Step 2: Match engine parameter to database engine

    Postgres is the short name for PostgreSQL, a supported RDS engine.
  3. Final Answer:

    PostgreSQL -> Option D
  4. Quick Check:

    --engine postgres means PostgreSQL [OK]
Hint: Look for --engine value to identify the database engine [OK]
Common Mistakes:
  • Confusing postgres with MySQL
  • Assuming default engine is MySQL
  • Ignoring the --engine parameter
4. You tried to create an RDS instance with the command:
aws rds create-db-instance --db-instance-identifier testdb --engine mongo --allocated-storage 20 --db-instance-class db.t3.micro --master-username admin --master-user-password secret123

But it failed. What is the most likely reason?
medium
A. The master username is missing
B. The allocated storage is too low
C. The engine name 'mongo' is not supported by RDS
D. The instance class db.t3.micro is invalid

Solution

  1. Step 1: Check the engine parameter validity

    The engine parameter is set to 'mongo', which is not a supported RDS engine. MongoDB is not supported by RDS.
  2. Step 2: Verify other parameters

    Allocated storage of 20 GB and instance class db.t3.micro are valid. Master username is provided.
  3. Final Answer:

    The engine name 'mongo' is not supported by RDS -> Option C
  4. Quick Check:

    Unsupported engine name causes failure [OK]
Hint: Check engine names carefully; unsupported names cause errors [OK]
Common Mistakes:
  • Assuming MongoDB is supported by RDS
  • Blaming storage size or instance class incorrectly
  • Overlooking the exact error message
5. You want to migrate an on-premises Oracle database to AWS RDS. Which RDS engine should you choose to ensure compatibility and minimal changes?
hard
A. Oracle
B. PostgreSQL
C. Aurora MySQL
D. SQL Server

Solution

  1. Step 1: Identify the source database engine

    The source is an on-premises Oracle database, so compatibility is key.
  2. Step 2: Choose the matching RDS engine

    AWS RDS supports Oracle as a managed engine, which ensures compatibility and minimal changes during migration.
  3. Step 3: Consider other options

    Aurora MySQL, PostgreSQL, and SQL Server are different engines and would require significant changes.
  4. Final Answer:

    Oracle -> Option A
  5. Quick Check:

    Match source engine to RDS engine for smooth migration [OK]
Hint: Pick the same engine type for easy migration [OK]
Common Mistakes:
  • Choosing Aurora MySQL for Oracle migration
  • Assuming PostgreSQL is compatible with Oracle
  • Ignoring migration compatibility
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard