nerdexam
Microsoft

AZ-204 · Question #274

This question requires that you evaluate the underlined text to determine if it is correct. You company has an on-premises deployment of MongoDB, and an Azure Cosmos DB account that makes use of the…

The correct answer is B. mongorestore. mongodump/mongorestore is the best pair of migration tools for migrating your entire MongoDB database. The compact BSON format will make more efficient use of network resources as the data is inserted into Azure Cosmos DB. mongodump exports your existing data as a BSON file…

Submitted by rania.sa· Mar 30, 2026Develop for Azure storage

Question

This question requires that you evaluate the underlined text to determine if it is correct. You company has an on-premises deployment of MongoDB, and an Azure Cosmos DB account that makes use of the MongoDB API. You need to devise a strategy to migrate MongoDB to the Azure Cosmos DB account. You include the Data Management Gateway tool in your migration strategy. Instructions: Review the underlined text. If it makes the statement correct, select "No change required." If the statement is incorrect, select the answer choice that makes the statement correct.

Options

  • ANo change required
  • Bmongorestore
  • CAzure Storage Explorer
  • DAzCopy

How the community answered

(18 responses)
  • A
    11% (2)
  • B
    83% (15)
  • C
    6% (1)

Explanation

mongodump/mongorestore is the best pair of migration tools for migrating your entire MongoDB database. The compact BSON format will make more efficient use of network resources as the data is inserted into Azure Cosmos DB. mongodump exports your existing data as a BSON file. mongorestore imports your BSON file dump into Azure Cosmos DB. https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb/tutorial-mongotools-cosmos-db https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb-pre-migration/

Topics

#Cosmos DB#MongoDB API#data migration#mongorestore

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice