A Solutions Architect is designing the migration of an on-premises Microsoft SQL Server database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The migration must be completed with minimal downtime, and the application must continue writing to the source database during the replication process. Which two actions must the Solutions Architect take to support the schema conversion and data replication phases? (Select two.)
- Run the AWS Schema Conversion Tool (SCT) to generate a schema conversion assessment report, convert the schema, and apply the converted SQL scripts to the target Aurora PostgreSQL database before starting the migration task.Answer
- Enable MS-CDC on the source Microsoft SQL Server database and the tables selected for migration to allow the AWS DMS task to perform Change Data Capture (CDC).Answer
- CConfigure AWS DMS to automatically convert the source database schema and create the tables on the target Aurora PostgreSQL database during the replication phase.
- DEnable supplemental logging on the source database tables to allow AWS DMS to read the transaction logs during the Change Data Capture (CDC) phase.
- EDeploy a single AWS DMS task configured for Full Load only, and use the SQL Server Agent on the source server to automatically forward incremental transaction log backups directly to the Aurora PostgreSQL target.
Answer
Run the AWS Schema Conversion Tool (SCT) to generate a schema conversion assessment report, convert the schema, and apply the converted SQL scripts to the target Aurora PostgreSQL database before starting the migration task. Also, enable MS-CDC on the source Microsoft SQL Server database and the tables selected for migration to allow the AWS DMS task to perform Change Data Capture (CDC).
For a heterogeneous database migration (SQL Server to Aurora PostgreSQL), the schema must first be converted and applied using the AWS Schema Conversion Tool (SCT). To perform replication with minimal downtime, a Full Load plus CDC task is required, which depends on Microsoft Change Data Capture (MS-CDC) being enabled on the source SQL Server database and tables to trace ongoing transactions.
Step-by-Step Solution
Key Concept
Heterogeneous database migration requires schema pre-conversion via SCT and source-side database engine-specific replication logging configuration (like MS-CDC for SQL Server) to support DMS CDC.