Question

Difficulty: MediumDatabase Migration and Schema Conversion using DMS and SCT

A solutions architect is planning to migrate an on-premises Oracle database to an Amazon Aurora MySQL-Compatible Edition DB cluster. The migration must support a heterogeneous schema conversion and continuous replication using Change Data Capture (CDC) to minimize application downtime during the cutover.

Which of the following actions are required to successfully convert the schema and configure the replication process? (Select two.)

  1. Use the AWS Schema Conversion Tool (SCT) to convert the source database schema, tables, and views to the Aurora MySQL format, and apply the schema to the target database.Answer
  2. Enable supplemental logging on the source Oracle database and configure the replication task in AWS DMS to capture ongoing changes.Answer
  3. C
    Enable binary logging and set the binary log format to ROW on the target Aurora MySQL DB cluster to capture changes from the Oracle database.
  4. D
    Create the AWS DMS replication task using AWS SCT directly to automate both schema conversion and continuous data replication in a single step.
  5. E
    Configure the source Oracle database to use PostgreSQL logical replication slots to stream data changes to AWS DMS.

Answer

The correct actions are using the AWS Schema Conversion Tool (SCT) to convert and apply the schema to the target database, and enabling supplemental logging on the source Oracle database to support Change Data Capture (CDC).
To perform a heterogeneous migration from Oracle to Aurora MySQL with minimal downtime, the solutions architect must first use the AWS Schema Conversion Tool (SCT) to convert the database schema and apply it to the target database. To capture ongoing changes, supplemental logging must be enabled on the source Oracle database so that AWS DMS can read the redo logs during the CDC phase.

Step-by-Step Solution

1
Analyze the source database and convert the schema.
The Oracle schema is successfully converted into MySQL-compatible DDL using AWS SCT and applied to the target Aurora MySQL DB cluster.
Heterogeneous database migrations require schema conversion before data migration because target and source SQL dialects and datatypes differ.
2
Prepare the source Oracle database for Change Data Capture (CDC).
Supplemental logging is enabled on the Oracle source database.
AWS DMS requires supplemental logging on the Oracle source to access the change data in the redo logs during continuous replication.
3
Configure and run the AWS DMS task.
A DMS task is created and executed with full load and CDC replication enabled.
This allows initial data load and continuous replication to run until the cutover window, minimizing downtime.

Key Concept

Heterogeneous database migration involves using AWS SCT for schema conversion and AWS DMS for data replication, which requires configuring source-specific prerequisites like supplemental logging for ongoing replication (CDC).
Rate this question