nerdexam
Microsoft

AZ-204 · Question #92

You are developing an application that allows users to find musicians that ate looking for work. The application must store information about musicians, the instruments that they play, and other…

The correct answer is D. Gremlin. The application requires modeling and querying complex relationships between musicians, instruments, and performances at specific locations. The Gremlin API is designed for graph databases, which excel at managing such interconnected data.

Submitted by skyler.x· Mar 30, 2026Develop for Azure storage

Question

You are developing an application that allows users to find musicians that ate looking for work. The application must store information about musicians, the instruments that they play, and other related data. The application must also allow users to determine which musicians have played together, including groups of three or more musicians that have performed together at a specific location. Which Azure Cosmos D6 API should you use for the application?

Options

  • ACore
  • BMongoDB
  • CCassandra
  • DGremlin

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    10% (4)
  • C
    5% (2)
  • D
    83% (34)

Why each option

The application requires modeling and querying complex relationships between musicians, instruments, and performances at specific locations. The Gremlin API is designed for graph databases, which excel at managing such interconnected data.

ACore

The Core (SQL) API is a document database best suited for key-value or document-centric data, not optimized for complex relationship queries.

BMongoDB

The MongoDB API is also a document database API that does not inherently provide the advanced graph traversal capabilities needed for this complex relationship scenario.

CCassandra

The Cassandra API is a wide-column store optimized for high-throughput writes and eventually consistent reads, not for querying intricate graph relationships.

DGremlinCorrect

The Gremlin API is Azure Cosmos DB's graph database API, specifically designed for modeling and querying data with complex relationships. This makes it ideal for scenarios like finding musicians who have played together in specific groups and locations by efficiently traversing connections between entities.

Concept tested: Azure Cosmos DB API selection for graph data

Source: https://learn.microsoft.com/en-us/azure/cosmos-db/graph/graph-introduction

Topics

#Cosmos DB API#graph database#Gremlin#data modeling

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice