All quizzes
Free quiz · 20 questions in the bank

Neo4j quiz

Test your Neo4j knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What does the Cypher `DELETE` clause do, and why might it need to be combined with `DETACH`?

Questions in this quiz
  1. What does the Cypher `DELETE` clause do, and why might it need to be combined with `DETACH`?
  2. What does the Cypher `WHERE` clause do, similar to its role in SQL?
  3. What are the two fundamental building blocks of Neo4j's data model?
  4. What is Neo4j, at a high level?
  5. How would you write a Cypher query to find all friends of a person named "Ada," traversing a `FRIENDS_WITH` relationship?
  6. What is Cypher?
  7. How would you write a basic Cypher query to find all `Person` nodes with the name "Ada"?
  8. What is a "label" in Neo4j, and how does it conceptually compare to a table in a relational database?
  9. What is a "constraint" in Neo4j (like a uniqueness constraint on a property), and what does it enforce?
  10. What is a general performance consideration when a Cypher query pattern doesn't specify a starting label or property filter at all (e.g. matching an unlabeled, unfiltered node as the pattern's starting point)?
  11. Why is querying multi-hop relationships (e.g. "friends of friends of friends") generally much more efficient in a native graph database like Neo4j compared to a relational database using foreign-key JOINs?
  12. Why might modeling a many-to-many relationship with additional attached data (like "how many units were purchased" in a purchase relationship) be more natural in Neo4j than in a relational database?
Gaps to close?
Read the curated Neo4j notes — core concepts, patterns, interview prep.
Neo4j notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web