Soru

Zorluk: OrtaAzure Database Services (Relational, Non-Relational, and Cosmos DB)

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.

Cevap: Cevap

Cevap

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.

Adım Adım Çözüm

1
Identify the data models and APIs required for the application.
The application requires document storage (API for NoSQL) and graph storage (API for Gremlin).
To evaluate if both APIs can be hosted within a single Azure Cosmos DB account.
2
Analyze Azure Cosmos DB account configuration limitations regarding APIs.
An Azure Cosmos DB account is configured for only one API at creation time, which cannot be changed or combined with other APIs.
This determines that multiple APIs cannot be used simultaneously within the same account.

Anahtar Kavram

Azure Cosmos DB single API constraint per account
Bu soruyu puanla