A developer is designing a retail application in Microsoft Azure. They want to use Azure Cosmos DB to store customer profiles as documents and product relationships as a graph. Is the following statement true? A single Azure Cosmos DB account can be configured to simultaneously enable both the API for NoSQL (document) and the API for Gremlin (graph) to access the same underlying database.
Answer: Answer
Answer
The statement is false because an Azure Cosmos DB account is restricted to a single API model selected at creation.
The correct response is that the statement is false. Azure Cosmos DB accounts are bound to a single API model selected at the time of resource creation. Therefore, to support both the API for Gremlin and the API for NoSQL, separate Azure Cosmos DB accounts must be deployed.
Step-by-Step Solution
Key Concept
Azure Cosmos DB single API constraint per account