A company needs to migrate a 3 TB Amazon RDS for SQL Server database to Amazon RDS for PostgreSQL. The migration must be automated and repeatable with minimal manual intervention. Which combination of services should be used?
SCT handles schema conversion, DMS handles data migration.
Why this answer
AWS Schema Conversion Tool (SCT) handles the schema conversion from SQL Server to PostgreSQL, which is necessary due to incompatible data types, stored procedures, and indexes. AWS Database Migration Service (DMS) then performs the continuous data migration with minimal downtime, supporting both full load and ongoing replication. This combination automates the migration process and makes it repeatable via AWS CloudFormation or DMS task templates.
Exam trap
The trap here is that candidates assume DMS alone can handle both schema conversion and data migration, but DMS does not perform schema transformation for heterogeneous migrations; schema conversion must be done separately with SCT before DMS can replicate the data.
How to eliminate wrong answers
Option A is wrong because AWS SCT can export data, but importing a 3 TB database manually is not automated or repeatable, and SCT alone does not provide ongoing replication to minimize downtime. Option C is wrong because AWS DMS with native SQL Server CDC can migrate data directly, but it does not convert the schema; PostgreSQL requires schema conversion from SQL Server, and DMS cannot handle incompatible data types or objects like sequences and stored procedures without prior schema transformation. Option D is wrong because Microsoft Data Migration Assistant is designed for SQL Server-to-SQL Server migrations (e.g., on-premises to Azure SQL Database) and does not support PostgreSQL as a target, nor does it integrate with AWS services for automation.