Question

Difficulty: MediumAzure Database Services (Relational, Non-Relational, and Cosmos DB)

A company is migrating an on-premises application that stores user profiles in MongoDB to Microsoft Azure. They need a fully managed database service that natively supports the MongoDB API, allowing them to keep their existing database queries and client drivers with minimal configuration. Which Azure database service should the company select?

  1. Azure Cosmos DBAnswer
  2. B
    Azure SQL Database
  3. C
    SQL Server on Azure Virtual Machines
  4. D
    Azure Database for PostgreSQL

Answer

Azure Cosmos DB
The correct database service is Azure Cosmos DB because it is a fully managed NoSQL database service that supports multiple APIs, including the MongoDB API. This enables seamless migration of MongoDB workloads without changing the application's queries or database driver configurations.

Step-by-Step Solution

1
Identify the primary database type and compatibility requirement.
The requirement calls for NoSQL MongoDB API compatibility to reuse existing queries and client drivers.
This narrows the choice to Azure database services supporting non-relational MongoDB protocols.
2
Evaluate the management level required.
The solution must be a fully managed database service.
This rules out Infrastructure as a Service (IaaS) options like SQL Server on Azure Virtual Machines, where the OS and database updates must be managed manually.
3
Select the service that offers both NoSQL multi-API support and full management.
Azure Cosmos DB provides a fully managed NoSQL multi-model database engine that offers MongoDB API compatibility.
This service perfectly satisfies both the NoSQL API requirement and the fully managed service criteria.

Key Concept

Azure Cosmos DB NoSQL Multi-Model APIs
Rate this question