CertKeen

AWS Data Engineer Associate (DEA-C01) · Free practice question 4 of 12

Graph data structures in Amazon Neptune

Investigators at Dunbar Assurance want to find rings of related insurance claims by following links between people, phone numbers, addresses and vehicles, often five or six hops deep, with interactive response times. Which data structure and service suit this best?

  1. A.A wide denormalized table stored in Amazon DynamoDB
  2. B.A graph of vertices and edges stored in Amazon Neptune
  3. C.A star schema stored in Amazon Redshift
  4. D.A key-value map stored in Amazon MemoryDB
Show answer and explanation

Correct answer: B. A graph of vertices and edges stored in Amazon Neptune

Why: Relationship-heavy questions with many hops map naturally to a graph, where entities are vertices and links are edges; Neptune stores graphs and traverses them with Gremlin, openCypher or SPARQL. A denormalized DynamoDB table needs one query per hop. Star-schema joins in Redshift become slow and complex as hop counts grow. Key-value lookups cannot traverse relationships.

More free AWS Data Engineer Associate (DEA-C01) questions