DEA-C01 exam dumps

DEA-C01 practice question 140 of 550

AWS Certified Data Engineer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DEA-C01 Question 140

Single answer

You are working on a recommendation system for an e-commerce platform using AWS Neptune, and you need to model relationships between users and products (such as purchased, viewed, or liked). Which type of data structure is most suitable for efficient storage and traversal of this data in Neptune?

  1. A

    Graph data structure

  2. B

    Tree data structure

  3. C

    Relational table

  4. D

    Hash table

Show answer and explanation

Correct answer: A

Explanation

For a recommendation system, the relationships between users and products (e.g., 'purchased', 'liked') create a network of interconnected entities. A graph data structure is specifically designed to handle such relationships and enables efficient traversal using graph queries. AWS Neptune is a fully managed graph database service that supports both property graph and RDF graph models, making it the best choice for this use case.

  • A. Correct.

    Graph data structures are ideal for representing relationships and connections, making them suitable for use cases like recommendation systems. AWS Neptune is a graph database designed to handle such data efficiently.

  • B. Incorrect.

    Tree data structures are hierarchical and not well-suited for representing complex relationships between entities like users and products.

  • C. Incorrect.

    Relational tables are designed for structured tabular data but are not optimized for traversing complex relationships or networks of entities.

  • D. Incorrect.

    Hash tables are used for key-value storage and fast lookups but are not appropriate for modeling interconnected relationships.

Timed practice exam

Take a DEA-C01 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam