A developer is migrating a self-managed MongoDB database to Amazon DocumentDB. The database contains 500 GB of data. What is the most efficient method to perform the initial data load?
These native tools are efficient and compatible with DocumentDB.
Why this answer
Option B is correct because mongodump and mongorestore are the standard tools for logical backup and restore in MongoDB, and they are compatible with DocumentDB. Option A is wrong because AWS DMS supports MongoDB as a source but is less efficient for large initial loads compared to native tools. Option C is wrong because creating a snapshot of a self-managed database is not applicable to DocumentDB.
Option D is wrong because mongodump with the --out parameter does not load data into DocumentDB; it creates dump files.