Microsoft Azure Architect Design (AZ-304) Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Microsoft Azure Architect Design (AZ-304) Exam with comprehensive quiz questions designed to enhance your understanding and confidence. Master essential Azure concepts and strategies to excel on your test day!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What is the recommended tool for migrating MongoDB to an Azure Cosmos DB account with the MongoDB API?

  1. mongorestore

  2. Data Migration Assistant

  3. Azure Storage Explorer

  4. Azure Cosmos DB Data Migration Tool

The correct answer is: mongorestore

The recommended tool for migrating MongoDB to an Azure Cosmos DB account using the MongoDB API is the Azure Cosmos DB Data Migration Tool. This tool is specifically designed to facilitate migrations from various data sources, including MongoDB, to Azure Cosmos DB. It provides features tailored for the unique requirements of migrating document databases, ensuring that the data is moved accurately and efficiently, preserving the integrity and structure of the original MongoDB data. While mongorestore is a utility for restoring data from backups in a MongoDB environment, it does not directly cater to the migration process for Azure Cosmos DB. The Data Migration Assistant is mainly focused on assessing and adjusting SQL databases for migration to Azure SQL, thus not appropriate for MongoDB. Azure Storage Explorer is primarily used for managing data stored in Azure Storage and does not provide the functionality needed for migrating document databases. In conclusion, the Azure Cosmos DB Data Migration Tool is specifically crafted for this purpose, making it the optimal choice for migrating from MongoDB to an Azure Cosmos DB account with the MongoDB API.