Skip to main content
CloudCertPrep
DP-900Domain 3: Describe Considerations for Working with Non-Relational Data on AzureNon-Relational Data on AzuremediumSingle choice

A social network needs to store and traverse relationships — 'friends of friends' queries — in Cosmos DB. Which API models graph data?

A.NoSQL API (SQL for JSON)

NoSQL API stores JSON — not graph traversals.

B.Gremlin API

Graph model = Gremlin. Correct.

C.Table API

Table API = key-attribute — no relationships.

D.MongoDB API

Mongo API = documents — not native graph.

Why this answer

Cosmos is multi-model via APIs: NoSQL (JSON docs + SQL query), MongoDB API, Cassandra API (column-family), Table API (key-attribute), Gremlin API (graph nodes+edges for relationship traversal).

Correct answer: B · Last reviewed 2026-11-05

Official AWS references

Practice this interactively

Answer without seeing the solution first in the Non-Relational Data on Azure practice session.

Practice Non-Relational Data on Azure