Microsoft Azure Architect Design (AZ-304) Practice Test

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

Study for the Microsoft Azure Architect Design AZ-304 Test with comprehensive quizzes and multiple-choice questions. Each question comes with detailed explanations to help you grasp key concepts. Prepare effectively and boost your chances of success!

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.