Medium1 markMultiple Choice
AZ-305 · Question 27 · Domain 2.4: Non-relational data storage
A social media startup is designing a feature to recommend friends to users based on mutual connections, shared interests, and geographic proximity.
The data model requires traversing complex relationships with multiple degrees of separation (e.g., 'Find friends of friends who like hiking'). The queries must return results in milliseconds.
Which Azure Cosmos DB API should you recommend?
A social media startup is designing a feature to recommend friends to users based on mutual connections, shared interests, and geographic proximity.
The data model requires traversing complex relationships with multiple degrees of separation (e.g., 'Find friends of friends who like hiking'). The queries must return results in milliseconds.
Which Azure Cosmos DB API should you recommend?
Answer options:
A.
SQL API
B.
Cassandra API
C.
Gremlin API
D.
MongoDB API
How to approach this question
Identify the data structure: 'complex relationships' and 'friends of friends' indicates a Graph database.
Full Answer
C.Gremlin API✓ Correct
Azure Cosmos DB for Apache Gremlin is a graph database service. Graph databases are designed to handle highly connected data and complex relationship traversals efficiently. Use cases like social networks, recommendation engines, and fraud detection rely on traversing relationships (edges) between entities (vertices), which the Gremlin API handles natively and with low latency.
Common mistakes
Choosing SQL API because it's the default. Document databases struggle with deep relationship queries.
Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 3
55 questions · hints · full answers · grading
More questions from this exam
Q01Contoso Ltd is a global manufacturing company with 50,000 employees across 30 countries. They cur...MediumQ02Fabrikam Inc. is a Managed Service Provider (MSP) managing Azure environments for 50 different en...HardQ03A financial institution generates 5 TB of telemetry and audit logs daily across its Azure environ...MediumQ04A retail company has recently migrated several workloads to Azure. The IT Director wants a centra...EasyQ05A healthcare organization with 10,000 employees uses on-premises Active Directory. They are migra...Hard
Expert