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.
Question
Options
- ACore
- BMongoDB
- CCassandra
- DGremlin
How the community answered
(41 responses)- A2% (1)
- B10% (4)
- C5% (2)
- D83% (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.
The Core (SQL) API is a document database best suited for key-value or document-centric data, not optimized for complex relationship queries.
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.
The Cassandra API is a wide-column store optimized for high-throughput writes and eventually consistent reads, not for querying intricate graph relationships.
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
Community Discussion
No community discussion yet for this question.