Courseiva
Deployment and MigrationhardMultiple ChoiceObjective-mapped

DBS-C01 Deployment and Migration Practice Question

A company is migrating an on-premises MongoDB database to Amazon DocumentDB. The migration must be online with minimal downtime. The source MongoDB is version 4.0 and uses replica sets. Which tool should the company use?

⚠ Common exam trap

Many exam-takers confuse a MongoDB read replica promotion (which works within native MongoDB clusters) with cross-service migration to DocumentDB, which requires a purpose-built tool like DMS for online replication.

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

Use AWS DMS with MongoDB as source and DocumentDB as target.

AWS DMS (Database Migration Service) supports continuous replication from MongoDB (including replica sets) to Amazon DocumentDB, enabling an online migration with minimal downtime. DMS uses the MongoDB oplog to capture ongoing changes, ensuring data consistency during the cutover. This is the only option that meets the requirement for an online migration with minimal downtime.

Answer analysis

Option-by-option breakdown

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

  • Use MongoDB Compass to export data and import into DocumentDB.

    Why it's wrong here

    Compass does not support ongoing replication.

  • Use mongodump and mongorestore.

    Why it's wrong here

    mongodump requires application downtime for consistency.

  • Create a read replica of the MongoDB replica set and promote to DocumentDB.

    Why it's wrong here

    Read replicas are not supported between MongoDB and DocumentDB.

  • Use AWS DMS with MongoDB as source and DocumentDB as target.

    Why this is correct

    DMS supports ongoing replication from MongoDB to DocumentDB.

About these practice questions

This DBS-C01 question is part of Courseiva's 1,663-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DBS-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 DBS-C01 exam.