Courseiva
Data EngineeringhardMultiple ChoiceObjective-mapped

Change Data Capture (CDC) from Oracle to Amazon S3 with AWS DMS

A data engineer is designing a data pipeline that ingests 500 GB of data daily from an on-premises Oracle database to Amazon S3. The pipeline must minimize data loss and support change data capture (CDC). Which combination of services should they use?

Quick Answer

The two requirements in this scenario, minimizing data loss and supporting change data capture, both point toward the same AWS service because AWS Database Migration Service with ongoing replication is purpose-built to satisfy them simultaneously. Once DMS performs its initial full load of the Oracle source, ongoing replication switches to reading the database's transaction logs and streaming each committed change to the S3 target continuously, rather than relying on periodic batch snapshots that could miss changes made between runs. That log-based approach is what minimizes data loss: because DMS captures every committed transaction as it happens instead of waiting for a scheduled extraction window, there's no gap where new or updated rows go uncaptured between pipeline runs. It also scales comfortably to the 500 GB daily volume described here, since DMS supports parallel replication tasks and task tuning to keep pace with high-throughput sources. The key distinction to hold onto is between a one-time or scheduled batch extraction and true CDC: batch approaches only see the database as it looked at extraction time, while CDC continuously tracks every change as it occurs. Whenever a scenario specifically asks for change data capture from a relational database into S3, along with a requirement to avoid missing changes, that combination is a strong signal that DMS with ongoing, not one-time, replication is the intended answer.

⚠ Common exam trap

Many exam-takers confuse Amazon Kinesis Data Streams with a custom CDC connector as a viable alternative, but AWS does not provide a managed Oracle CDC connector for Kinesis, making DMS the only fully managed, production-ready service for this use case.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

AWS Database Migration Service (DMS) with ongoing replication

AWS DMS with ongoing replication is the correct choice because it provides continuous change data capture (CDC) from an Oracle source database using Oracle LogMiner or binary reader technology, replicating transactions in near real-time to Amazon S3. This minimizes data loss by capturing incremental changes without requiring batch snapshots, and it supports the 500 GB daily volume efficiently with parallel tasks and task tuning.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • AWS Database Migration Service (DMS) with ongoing replication

    Why this is correct

    DMS supports CDC and can write to S3.

  • AWS Data Pipeline with SQL query

    Why it's wrong here

    Data Pipeline is batch and does not support CDC.

  • Amazon Kinesis Data Streams with a custom Oracle CDC connector

    Why it's wrong here

    Kinesis requires custom development and is not managed.

  • AWS Glue ETL jobs running on a schedule

    Why it's wrong here

    Glue jobs are batch and do not support CDC.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every MLS-C01 question from scratch — 1,672 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on MLS-C01

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A data engineer is designing a data pipeline that ingests data from a relational database into a data lake on Amazon S3. The data must be incrementally loaded daily. Which TWO AWS services can be used together to achieve this?

hard
  • A.AWS Glue
  • B.Amazon Kinesis Data Streams
  • C.Amazon Athena
  • D.Amazon Redshift
  • E.AWS Database Migration Service (DMS)

Why A: AWS Glue is correct because it provides a managed ETL service that can extract data from a relational database using JDBC connections, transform it, and write it incrementally to Amazon S3. Glue's built-in job bookmarking feature tracks processed data, enabling incremental loads by automatically skipping already-processed records during subsequent runs.

Variation 2. A data engineer needs to set up a data pipeline that ingests data from an Amazon RDS MySQL database into Amazon S3. The pipeline should run daily and capture incremental changes (inserts, updates, deletes) from the source database. Which AWS service should be used as the data ingestion tool?

easy
  • A.AWS Database Migration Service (DMS) with continuous change data capture (CDC).
  • B.Amazon Kinesis Data Streams with a Lambda function.
  • C.AWS Data Pipeline with a SQL activity.
  • D.AWS Glue with a scheduled crawler.

Why A: AWS DMS with continuous CDC is the correct choice because it is specifically designed to capture incremental changes (inserts, updates, deletes) from a relational database like Amazon RDS MySQL and replicate them to Amazon S3. DMS uses the MySQL binary log (binlog) to track row-level changes in near real-time, making it ideal for daily incremental pipelines. Other services either lack native CDC support or are not optimized for database-to-object-store incremental ingestion.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This MLS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MLS-C01 exam.