A software developer is creating a mobile application and needs to store user profiles as semi-structured JSON documents with different attributes. The developer requires a fully managed, non-relational database service that natively supports the MongoDB API. Which Azure database service should the developer choose?
- Azure Cosmos DBAnswer
- BAzure SQL Database
- CSQL Server on Azure Virtual Machines
- DAzure Database for PostgreSQL
Answer
Azure Cosmos DB
Azure Cosmos DB is the correct service because it is a fully managed, multi-model NoSQL database service that supports the MongoDB API, allowing developers to store semi-structured JSON documents without managing the underlying database infrastructure or operating system.
Step-by-Step Solution
Key Concept
Azure Cosmos DB is a fully managed, globally distributed NoSQL database service that supports multiple open-source APIs (such as MongoDB and Cassandra) to store semi-structured, schema-flexible data.