
Explanation:
MongoDB compatibility: API
* API: MongoDB API
* Azure Cosmos DB comes with multiple APIs:
* SQL API, a JSON document database service that supports SQL queries. This is compatible with the former Azure DocumentDB.
* MongoDB API, compatible with existing Mongo DB libraries, drivers, tools and applications.
* Cassandra API, compatible with existing Apache Cassandra libraries, drivers, tools, and applications.
* Azure Table API, a key-value database service compatible with existing Azure Table Storage.
* Gremlin (graph) API, a graph database service supporting Apache Tinkerpop's graph traversal language, Gremlin.
References:
https://docs.microsoft.com/en-us/azure/cosmos-db/create-mongodb-dotnet