
Ultimate access to all questions.
A company operates an application on Amazon EC2 instances within the AWS Cloud, utilizing a MongoDB database with a replica set as its data tier. This MongoDB database is hosted on-premises and is accessible via an AWS Direct Connect link to the company's data center. A solutions architect is tasked with migrating this on-premises MongoDB database to Amazon DocumentDB, which is compatible with MongoDB. What is the most appropriate strategy for this migration?
A
Deploy a set of EC2 instances, install MongoDB Community Edition on them, and establish a database. Set up continuous synchronous replication from this new database to the on-premises MongoDB database.
B
Set up an AWS Database Migration Service (AWS DMS) replication instance, configure a source endpoint for the on-premises MongoDB database using change data capture (CDC), and define a target endpoint for the Amazon DocumentDB database. Then, create and execute a DMS migration task.
C
Develop a data migration pipeline using AWS Data Pipeline, specifying data nodes for both the on-premises MongoDB database and the Amazon DocumentDB database. Schedule a task to activate this data pipeline periodically.
D
Utilize AWS Glue crawlers to create a source endpoint for the on-premises MongoDB database and set up continuous asynchronous replication between the MongoDB database and the Amazon DocumentDB database.