Which graph database service is BEST suited when you want to represent the connections (relationships) between data, such as friend relationships and recommendations in a social network, and efficiently handle complex queries that traverse those relationships?

1 / 1
Select an answer
CorrectB

Explanation

A question about choosing the graph database that handles relationships.

  • 1connections (relationships)Representing relationships between nodes = graph DB
  • 2complex queries that traverse those relationshipsGraph traversal queries
  • 3graph databaseThe classification of Neptune
AIncorrect

Amazon Redshift

Redshift is a data warehouse for aggregating and analyzing large volumes of data.

It is not a graph database that traverses relationships between data, so it is incorrect.

BCorrect

Amazon Neptune

Correct. Amazon Neptune is a managed graph database that specializes in handling the relationships (connections) between data. It can efficiently run complex queries that traverse relationships, such as social network friend relationships, recommendations, fraud detection, and knowledge graphs.

CIncorrect

Amazon DynamoDB

DynamoDB is a key-value NoSQL database that is strong for simple reads and writes.

It is not a service specialized for complex graph queries that traverse relationships, so it is incorrect.

DIncorrect

Amazon DocumentDB

Amazon DocumentDB is a MongoDB-compatible document database that stores and queries JSON documents.

It is good at flexible, document-level data management, but it is not a service specialized for graph-structured queries that traverse connections, so it is incorrect.

Key Takeaway

'Relationships', 'traversing connections', and 'graph database' point to Amazon Neptune. It is a leading example of a purpose-built DB. Key-value is DynamoDB, and analytics is Redshift.