nerdexam
Microsoft

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.

Submitted by certguy· Mar 30, 2026Describe considerations for working with non-relational data on Azure

Question

Which Azure Cosmos DB API should you use for a graph database?

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)
  • B
    4% (1)
  • C
    4% (1)
  • D
    92% (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.

AAzure Cosmos DB for Table

Azure Cosmos DB for Table provides a key-value store API compatible with Azure Table Storage, not a graph model.

BAzure Cosmos DB for Apache Cassandra

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.

CAzure Cosmos DB for NoSQL

Azure Cosmos DB for NoSQL is the core API using a document model with SQL-like queries, not a graph traversal model.

DAzure Cosmos DB for Apache GremlinCorrect

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

#Azure Cosmos DB#Gremlin API#graph database#NoSQL APIs

Community Discussion

No community discussion yet for this question.

Full DP-900 Practice