Foundations of Neo4j and Graph Database Concepts Quiz

  1. Graph Database Structure

    In a graph database, which two primary components are used to represent and connect data elements?

    1. Nodes and Edges
    2. Tables and Columns
    3. Rows and Attributes
    4. Keys and Values
    5. Pages and Segments
  2. Node Example

    If 'Alice' is represented as a data entity in a graph database, what is 'Alice' typically stored as?

    1. Node
    2. Attribute
    3. Document
    4. Edge
    5. Tuple
  3. Understanding Relationships

    Which term in graph databases describes a directional connection from one node to another, such as 'WROTE' in 'Alice WROTE Book'?

    1. Relationship
    2. Column
    3. Document
    4. Function
    5. Variable
  4. Graph Query Language

    What query language is commonly used for searching and updating data in many graph databases?

    1. Cypher
    2. SQL
    3. NoSQL
    4. PigLatin
    5. JSON
  5. Labeling Nodes

    In a property graph model, which feature allows you to categorize nodes, such as labeling both 'Book' and 'Author'?

    1. Labels
    2. Rows
    3. Sheets
    4. Annotations
    5. Rankings
  6. Property Usage

    When assigning a key-value pair such as 'year: 2023' to a node representing a book, what is this pair called?

    1. Property
    2. Fact
    3. Link
    4. Tuple
    5. Tag
  7. Relationship Direction

    In a social network graph where 'Alice FOLLOWS Bob', how is this relationship represented?

    1. As a directed relationship from Alice to Bob
    2. As a relationship from Bob to Alice
    3. As an undirected link between Alice and Bob
    4. As a property on Alice's node
    5. As a key in Bob's node
  8. Graph Database Strength

    Which of the following best describes a major advantage of using graph databases for social network analysis?

    1. Efficiently handling complex, interconnected data
    2. Storing large files efficiently
    3. Providing advanced audio processing
    4. Compressing images for faster retrieval
    5. Offering spreadsheet-like cell formulas
  9. Traversal Example

    What term describes the process of navigating from one node to another via relationships, such as finding all friends of a person?

    1. Traversal
    2. Mutation
    3. Joining
    4. Mapping
    5. Decoding
  10. Index Usage

    What is the main purpose of using indexes in a graph database when searching for nodes with specific property values?

    1. To improve query performance
    2. To store backup copies
    3. To encrypt relationships
    4. To group nodes randomly
    5. To create duplicate data