DP-900 · Question #270
Which Azure Cosmos DB API should you use for a graph database?
The correct answer is D. Azure Cosmos DB for Apache Gremlin. Azure Cosmos DB for Apache Gremlin is the API designed specifically for graph databases, supporting vertices and edges. It implements the Apache TinkerPop Gremlin graph traversal language.
Question
Options
- AAzure Cosmos DB for Table
- BAzure Cosmos DB for Apache Cassandra
- CAzure Cosmos DB for NoSQL
- DAzure Cosmos DB for Apache Gremlin
How the community answered
(26 responses)- B4% (1)
- C4% (1)
- D92% (24)
Why each option
Azure Cosmos DB for Apache Gremlin is the API designed specifically for graph databases, supporting vertices and edges. It implements the Apache TinkerPop Gremlin graph traversal language.
Azure Cosmos DB for Table provides a key-value store API compatible with Azure Table Storage, not a graph model.
Azure Cosmos DB for Apache Cassandra provides a wide-column store API compatible with the Cassandra Query Language (CQL), designed for large-scale tabular data.
Azure Cosmos DB for NoSQL is the core API using a document model with SQL-like queries, not a graph traversal model.
Azure Cosmos DB for Apache Gremlin provides a graph database service that stores data as vertices (nodes) and edges (relationships). It supports the Gremlin graph traversal language from the Apache TinkerPop framework, making it the correct choice when modeling and querying highly connected data such as social networks or recommendation engines.
Concept tested: Azure Cosmos DB Gremlin API for graph databases
Source: https://learn.microsoft.com/en-us/azure/cosmos-db/gremlin/introduction
Topics
Community Discussion
No community discussion yet for this question.