exam questions

Exam DP-900 All Questions

View all questions & answers for the DP-900 exam

Exam DP-900 topic 1 question 116 discussion

Actual exam question from Microsoft's DP-900
Question #: 116
Topic #: 1
[All DP-900 Questions]

HOTSPOT -
To complete the sentence, select the appropriate option in the answer area.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://www.sqlshack.com/graph-database-implementation-with-azure-cosmos-db-using-the-api/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jasu
Highly Voted 4 years, 8 months ago
Wrong answer is given. It should be Gremlin API. https://docs.microsoft.com/en-us/azure/cosmos-db/graph-introduction
upvoted 212 times
vhx
4 years, 7 months ago
Definitely D is the answer
upvoted 29 times
...
casualcrackers
3 years ago
i had this question today and D was the answer A was not an option
upvoted 30 times
...
MinimizeEfforts
3 years, 3 months ago
Be careful! This highly voted comment is misleading The question is tricky and the correct answer is definately "B" (use SQL-like statement to query a graph db)
upvoted 13 times
...
...
EBAN
Highly Voted 4 years, 6 months ago
Atention folks. The question is how you query and not what is needed to connect Graph to Cosmos DB. Once is connected, you use Cosmos DB to perform queries. In my HUMBLE opinion, the given answer is right
upvoted 52 times
Omar_Alfaqih
3 years, 10 months ago
here is the link for running queries... its Gremlin https://docs.microsoft.com/en-us/azure/cosmos-db/tutorial-query-graph
upvoted 5 times
...
Abhishek_89
2 years, 11 months ago
I had the question today in test, the option .. ' as json doc..' was not an option.
upvoted 8 times
...
lebigmac
4 years, 2 months ago
You are correct! The link provided, at the very bottom, has a very clear example, that you use a SQL-like statement to query a graph db and returns a JSON doc as results. The answer is correct.
upvoted 5 times
...
...
Roy34
Most Recent 2 weeks, 6 days ago
Azure Cosmos DB supports multiple APIs. For graph databases, it uses the Gremlin API, which is based on the Apache TinkerPop Gremlin language used for traversing and querying graph structures (nodes and edges).
upvoted 1 times
...
Jxx80i
6 months, 2 weeks ago
If you want to query a graph database in Azure Cosmos DB, the option you choose is B. as nodes and edges using Gremlin because Gremlin is specifically designed to work with databases in mapping rules.!
upvoted 1 times
Jxx80i
6 months, 2 weeks ago
D *****
upvoted 2 times
...
...
Abhishek17
10 months, 1 week ago
D is right
upvoted 1 times
...
Yomzie
1 year, 2 months ago
By using the Gremlin API, you can query a graph database in Azure Cosmos DB using the Gremlin query language. Gremlin is a graph traversal language and the primary query language for graph databases. To query a graph database in Azure Cosmos DB using the Gremlin API, you would typically use a Gremlin console or a Gremlin client library. Here's a general outline of how you would query a graph database in Azure Cosmos DB using the Gremlin API: Connect to the Cosmos DB account: You would need to provide the connection details for your Azure Cosmos DB account, including the URI and authentication keys or tokens. Instantiate a Gremlin client: Use a Gremlin client library for your programming language of choice (e.g., Java, Python, .NET) to establish a connection to the Cosmos DB account. Execute Gremlin queries: Use the methods provided by the Gremlin client library to execute Gremlin queries against the graph database in Azure Cosmos DB. These queries can traverse the graph, retrieve vertices (nodes), edges (relationships), and perform various graph operations. Process the results returned by the Gremlin queries as needed for your application logic.
upvoted 1 times
...
Goouter
1 year, 3 months ago
Had this question today (01/26/2024). 'A' was no longer an option. I believe the correct answer is D.
upvoted 3 times
ikramus
1 year, 3 months ago
and for the other question are those the same ?
upvoted 1 times
...
...
Kemsmems
1 year, 5 months ago
" For example, you can use a document collection to store graph data side by side with documents, and use both SQL queries over JSON and Gremlin queries to query the collection." Answer is correct.
upvoted 2 times
...
Arshxd
1 year, 6 months ago
Bing says: As nodes and edges by using the Gremlin language.
upvoted 1 times
...
Lou__
1 year, 7 months ago
the correct answer is D
upvoted 1 times
...
Prince9598
1 year, 7 months ago
D is correct
upvoted 1 times
...
rmeng
1 year, 8 months ago
You can query a graph database in Azure Cosmos DB as nodes and edges by using the Gremlin Language. Gremlin is a popular query language for graph databases, and it allows you to traverse and manipulate the graph structure of your data.
upvoted 1 times
...
Kraken84
1 year, 8 months ago
I love how everyone is so "As a Matter of Fact" about "their" answer. Confidence can be a blessing...
upvoted 1 times
...
akhil5432
1 year, 9 months ago
A is correct answer
upvoted 1 times
...
XtraWest
2 years, 1 month ago
As per Chat GPT: Azure Cosmos DB supports querying graph databases using the Gremlin API. Gremlin is a graph traversal language that allows you to traverse and manipulate a graph database, and it is supported by Azure Cosmos DB. You can use the Gremlin API to perform graph queries, create vertices and edges, and traverse the graph to find paths and relationships between different nodes. The Gremlin API supports multiple programming languages, including Java, Python, and .NET, and it is widely used in graph database applications.
upvoted 3 times
...
chiiiweiii
2 years, 1 month ago
Correct Answer Is D - As nodes and edges by using the Gremlin language.
upvoted 2 times
zerone72
1 year, 8 months ago
Please read carefully the linked article before suggesting wrong answers..,.
upvoted 1 times
...
...
facilitator
2 years, 2 months ago
wrong...Gremlin The Gremlin API is used for graph databases. The MongoDB API stores data in the BSON format. The Table API is used to retrieve key/value pairs. The Cassandra API is used to retrieve tabular data.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago