AWS Data Engineer DEA-C01 · Data Ingestion and Transformation · medium

You are using AWS Database Migration Service (DMS) to migrate a production Oracle database to Amazon Aurora PostgreSQL with minimal downtime and continuous Change Data Capture (CDC) replication. Which prerequisite must be enabled on the source database so AWS DMS can capture ongoing INSERT, UPDATE, and DELETE transactions after the initial full load?

Published · Last updated · checked before publication — how we verify questions

Options

  • AShut down the source database for 48 hours during migration
  • BEnable source transaction/redo log capture for CDC readingCorrect answer
  • CConvert all source relational tables into flat CSV files first
  • DDisable all primary keys on the source transactional tables

Answer: B. Enable source transaction/redo log capture for CDC reading

AWS DMS performs ongoing change data capture by reading the source database's own transaction log, so that log must be available and configured to record enough detail. For Oracle, this means running in ARCHIVELOG mode so redo logs are retained and enabling supplemental logging so row-level changes carry the column data DMS needs. Other engines have equivalents, such as wal_level set to logical for PostgreSQL or binlog_format set to ROW for MySQL. A full load plus CDC task copies existing data first, then replays the changes captured in the logs, which lets the source stay online and keeps cutover downtime minimal. The common trap is thinking DMS needs the source offline or reformatted data. It does not. DMS connects to the live engine and reads its logs, and the exam often tests this prerequisite by engine, so memorize the log setting for each source.

Why the other options are wrong

  • A. Shut down the source database for 48 hours during migration — A 48-hour shutdown describes a cold, offline migration, which is the opposite of what CDC provides. CDC keeps the source online and replays changes, so downtime is limited to the final cutover.
  • C. Convert all source relational tables into flat CSV files first — Converting tables to flat CSV files is not part of a DMS migration. DMS connects to the source engine directly and reads rows and transaction logs, so no intermediate file export is required for CDC.
  • D. Disable all primary keys on the source transactional tables — Disabling primary keys would harm replication rather than enable it. DMS relies on primary keys or unique indexes to identify the rows that UPDATE and DELETE operations apply to on the target, so tables without them cause problems.

All Data Ingestion and Transformation questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.