Home / Neo4j Certified Professional / Mock exam
Neo4j Certified Professional Exam-style mock test

Neo4j Certified Professional Practice Exams|Practice test

Full explanations Exam format Pass line 80%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Graph Database Fundamentals
A B2B SaaS company stores customer accounts, their subscriptions, and the support agents assigned to each, and its reports constantly traverse deep assignment chains. An architect argues that Neo4j will outperform their relational system for these deeply connected lookups. Which statement best explains the native property graph advantage here?
✓Relationships are stored and traversed as direct pointers between nodes, so connected lookups avoid the runtime joins that relational engines compute from foreign keys
Correct. Native graph storage persists relationships as direct physical references, so traversals follow pointers rather than recomputing joins from foreign keys at query time.
・Neo4j automatically compresses every account record into a columnar format that shrinks the stored data and therefore speeds up reporting
Incorrect. Columnar compression of records is not the property graph mechanism, and Neo4j does not store nodes in a columnar format for this reason.
・Neo4j replaces all indexes with a single hash table, so every query bypasses index lookups entirely and runs faster
Incorrect. Neo4j still uses indexes to find starting nodes; it does not replace all indexing with a single hash table that bypasses lookups.
・Neo4j keeps the entire account dataset cached in memory at all times, which is why every traversal is faster than on disk
Incorrect. Neo4j relies on caching but does not guarantee the full dataset stays memory-resident, so that is not the explanation for faster traversals.
Explanation
The core property graph advantage is index-free adjacency: relationships are stored as direct pointers, making deep connected traversals efficient without join computation.
Example2 · Property Graph Model & Cypher Basics
At the B2B SaaS company LedgerFlow, an architect is modeling customers and their subscriptions in Neo4j. Which set of elements makes up the property graph model that LedgerFlow will rely on to store this data?
✓Nodes, relationships, properties, and labels working together to represent connected entities
Correct. The Neo4j property graph model is built from nodes, relationships, properties, and labels, which is exactly what LedgerFlow needs for connected data.
・Tables with rows, foreign-key columns, and join indexes linking the related records
Incorrect. Tables, rows, foreign keys, and join indexes describe a relational database, not the property graph model.
・Documents nested inside collections with embedded arrays referencing other documents
Incorrect. Documents, collections, and embedded arrays describe a document database such as MongoDB, not a property graph.
・Key-value pairs grouped into buckets with optional secondary lookup partitions
Incorrect. Key-value pairs grouped into buckets describe a key-value store and do not form the property graph model.
Explanation
The property graph model consists of nodes, relationships, properties, and labels; the other options describe relational, document, and key-value stores.
Example3 · Cypher Queries & Pattern Matching
A B2B SaaS company stores each client organization as a node labeled Account with a property named tier. An analyst must retrieve every Account whose tier equals 'Enterprise'. Which Cypher query correctly returns those account nodes?
✓MATCH (a:Account) WHERE a.tier = 'Enterprise' RETURN a
Correct. MATCH binds nodes to a pattern and the WHERE predicate filters on the tier property, so the enterprise accounts are returned.
・SELECT a FROM Account AS a WHERE a.tier = 'Enterprise' ORDER BY a
Incorrect. SELECT ... FROM is SQL syntax and is not valid in Cypher, which uses MATCH to describe graph patterns.
・FIND (a:Account) WITH tier = 'Enterprise' AS filter RETURN a
Incorrect. FIND is not a Cypher keyword and WITH does not define a property filter in this manner, so the statement fails to parse.
・GET NODES a:Account WHERE tier EQUALS 'Enterprise' AND RETURN a
Incorrect. GET NODES and the EQUALS keyword are not part of the Cypher grammar, so this query is syntactically invalid.
Explanation
Cypher uses MATCH to specify a node pattern by label and a WHERE clause to filter on property values; RETURN then projects the bound variable.
Example4 · Data Modeling & Import
A healthcare services firm is modeling patients, the physicians who treat them, and the clinics where visits occur. An analyst asks how the core domain nouns should map onto graph constructs when designing the initial model. Which mapping best reflects standard Neo4j graph modeling practice?
✓Patient, Physician, and Clinic become node labels, while treating and visiting become relationship types linking them together.
Correct. Domain entities map to nodes with labels and the verbs connecting them map to relationship types, which is the standard noun-to-node, verb-to-relationship pattern.
✓Patient, Physician, and Clinic each become separate indexes stored in the database schema configuration file instead.
Correct is not this: indexes are performance structures, not the representation of domain entities themselves.
・Patient, Physician, and Clinic become relationship types, while treating and visiting become the labelled nodes between them.
Incorrect. Entities are nouns and should be nodes; relationship types represent the verbs, so this inverts the correct mapping.
・Patient, Physician, and Clinic become properties on a single shared node that the whole dataset is attached to.
Incorrect. Collapsing distinct entities into properties on one node destroys the connections the graph is meant to represent.
Explanation
In graph modeling, domain nouns (entities) become labelled nodes and the verbs connecting them become relationship types; indexes and properties serve different purposes.
Example5 · Administration, Performance & GDS
A healthcare services firm runs patient-graph and billing-graph workloads on one Neo4j DBMS and wants each isolated in its own database. An administrator, connected to the system database, needs to provision a fresh empty database named 'billing' for the finance team. Which Cypher administration command creates it?
・USE system CALL dbms.database.provision('billing') to allocate the empty database resources
Incorrect. There is no dbms.database.provision procedure; databases are managed with native administration commands, not a procedure call like this.
✓CREATE DATABASE billing to add a new empty database to the DBMS
Correct. CREATE DATABASE <name>, executed against the system database, provisions a new empty database that users can then connect to and use.
・ADD DATABASE billing WITH STORAGE DEFAULT in order to register the new store
Incorrect. ADD DATABASE is not valid Cypher administration syntax; the keyword for creating a database is CREATE DATABASE, not ADD.
・CREATE GRAPH billing AS EMPTY and then switch the session over to it
Incorrect. CREATE GRAPH is not the command for provisioning a database; databases are created with CREATE DATABASE in the multi-database model.
Explanation
In a multi-database DBMS, administrators create isolated databases with CREATE DATABASE <name> run against the system database.
Example6 · Graph Database Fundamentals
A healthcare services firm is modeling patients, physicians, and the appointments between them in Neo4j. Their architect asks how the property graph model represents the data elements. Which statement correctly describes the roles of nodes and relationships in this model?
✓Nodes store entities like patients and physicians, while relationships connect them and both nodes and relationships can hold key-value properties
Correct. In the property graph model both nodes and relationships are first-class elements that can carry key-value properties, and relationships connect the entity nodes.
・Nodes store entities like patients and physicians, while relationships only act as pointers and cannot hold any properties of their own
Incorrect. Relationships in Neo4j can hold properties such as an appointment date, so they are not mere pointers.
・Nodes and relationships both represent entities equally, and only nodes are permitted to carry properties describing the stored data
Incorrect. Nodes represent entities and relationships represent connections; they are not interchangeable as equal entity carriers.
・Relationships store the main entities while nodes serve merely as connection points between those relationships
Incorrect. Nodes hold the main entities and relationships connect them, not the reverse arrangement described here.
Explanation
The property graph model gives nodes, relationships, and their properties first-class status, with relationships able to carry properties too.
Example7 · Graph Database Fundamentals
The data team at UrbanThread, an online fashion retailer, is modeling its catalog in Neo4j. A developer asks which element of the property graph model should represent a single customer, a single product, and a single warehouse, since each is a distinct entity that can hold attributes like a name or an address. Which element of the property graph model fits this requirement?
・A relationship, which connects two entities together and carries properties describing how they are associated
Incorrect. A relationship connects two nodes rather than standing alone as a single entity like a customer or product.
✓A node, which represents an entity and can hold any number of properties as key-value pairs
Correct. A node models an individual entity such as a customer, product, or warehouse and can carry its own properties.
・A property, which is a named value that annotates a graph element with descriptive data
Incorrect. A property is an attribute attached to a node or relationship, not the entity itself.
・A label, which groups elements into a named category used for indexing and querying
Incorrect. A label categorizes nodes into groups but does not itself represent one distinct entity.
Explanation
In the property graph model, nodes represent individual entities and can hold properties, which is exactly what is needed to model each customer, product, and warehouse.
Example8 · Graph Database Fundamentals
At UrbanThread, an analyst wants to record that a customer PURCHASED a jacket, including the purchase date and quantity. A teammate claims that relationships in Neo4j are only connective wiring and cannot store any attributes of their own. How should the analyst correctly describe relationships in the property graph model?
・Relationships are directionless connectors that only link nodes and never hold attributes of any kind
Incorrect. Relationships always have a direction and a type, and they can carry properties.
✓Relationships are typed, directed connections between two nodes that can also store their own properties
Correct. A relationship has a type and direction and can store properties such as date and quantity.
・Relationships are labels applied to nodes to indicate the category a connection belongs to
Incorrect. Labels categorize nodes, whereas relationships are distinct connective elements with a type.
・Relationships are duplicate copies of node properties that Neo4j maintains for faster traversal
Incorrect. Relationships are not copies of node data; they are first-class elements with their own properties.
Explanation
Relationships in Neo4j are typed and directed connections that can carry properties, so the purchase date and quantity can live directly on the PURCHASED relationship.
Example9 · Graph Database Fundamentals
UrbanThread currently runs product recommendations on a relational database, but queries that follow many friend-of-friend-of-friend links slow down as more JOINs are added. The architect wants to know why a graph database like Neo4j is expected to perform better for these deeply connected queries. Which explanation is correct?
✓Neo4j avoids the cost of large multi-table JOINs because connected nodes are reached through direct relationship pointers
Correct. Neo4j traverses relationships as direct references between nodes, avoiding costly JOINs that grow with depth.
・Neo4j loads the entire dataset into memory on every query, which always makes deep traversals faster than disk access
Incorrect. Neo4j does not require loading the whole dataset into memory, and that is not the reason for its traversal speed.
・Neo4j stores data without any schema, so queries never need to read indexes or evaluate any conditions
Incorrect. Being schema-optional does not mean conditions and indexes are never used during queries.
・Neo4j rewrites each traversal into a single relational JOIN that the database engine can optimize automatically
Incorrect. Neo4j does not convert traversals into relational JOINs; it uses native relationship pointers instead.
Explanation
Graph databases use index-free adjacency so each relationship is a direct pointer, letting deep traversals avoid the compounding cost of relational JOINs.
Example10 · Graph Database Fundamentals
A data architect at a financial services firm is modeling accounts, customers, and the transfers between accounts in Neo4j. The architect asks which element of the property graph model should store the monetary amount and timestamp of a single transfer between two accounts. Which element is the correct place for that data?
✓A property on the relationship that connects the two account nodes together
Correct. The amount and timestamp describe the transfer itself, so they belong as properties on the relationship connecting the accounts.
・A separate node that links to both the sending account node and the receiving account node
Incorrect. Introducing an intermediate node is unnecessary modeling overhead when the relationship can carry the data directly.
・A label applied to the sending account node describing the outgoing transfer
Incorrect. Labels classify nodes into groups; they are not meant to hold per-transfer values like amount or timestamp.
・A property set on the receiving account node summarizing all incoming transfers
Incorrect. Storing the value on the receiving account conflates distinct transfers and loses the per-transfer detail.
Explanation
In the property graph model, relationships can carry properties, making them the natural home for attributes describing a specific connection such as a transfer's amount and time.
Example11 · Graph Database Fundamentals
An engineer modeling a bank's fraud graph creates a TRANSFERRED_TO relationship from a source account to a destination account. A colleague worries that querying the destination account's incoming transfers will be slow because the relationship was stored with a direction. What is true about traversing this directed relationship in Neo4j?
・A relationship can only be traversed starting from the source node toward the destination node, not the reverse
Incorrect. Although a relationship has a stored direction, traversal is not restricted to the source-to-destination orientation.
✓The relationship direction is stored but Neo4j can traverse it efficiently in either direction when a query requires it
Correct. Neo4j stores a single directed relationship yet can traverse it both ways efficiently, so incoming lookups are not penalized.
・A second reversed relationship must be created so the destination account can find its incoming transfers at all
Incorrect. Creating a duplicate reversed relationship is unnecessary because the engine can navigate the existing one backward.
・Direction is ignored entirely at query time so both ends traverse the relationship with identical cost always
Incorrect. Direction is retained and meaningful; it is not discarded, though queries may still ignore it when they choose.
Explanation
Relationships in Neo4j always have a direction, but the storage model allows efficient traversal in both directions, so a single relationship suffices for incoming and outgoing queries.
Example12 · Graph Database Fundamentals
A manufacturing distributor models its data in Neo4j so that each Part, Supplier, and Warehouse is stored along with attributes such as weight and region. In the property graph model, which element is used to hold these descriptive attributes on a Part entity?
✓Properties, which are the key-value pairs attached directly to nodes and relationships
Correct. Properties are key-value pairs stored on nodes and relationships, so attributes like weight and region live there.
・Indexes, which are the lookup structures maintained for faster traversal
Incorrect. Indexes speed up lookups but do not hold an entity's descriptive attributes.
・Labels, which are the named tags grouping similar entities into categories
Incorrect. Labels tag and group nodes into categories; they do not store attribute values.
・Constraints, which enforce uniqueness rules over the stored entity values
Incorrect. Constraints enforce rules such as uniqueness but are not where attributes are stored.
Explanation
In the property graph model, attributes such as weight and region are stored as properties (key-value pairs) on nodes and relationships.
Example13 · Graph Database Fundamentals
The distributor records that a Supplier SUPPLIES a Part, and this connection carries a leadTimeDays value describing how long delivery takes. In Neo4j's property graph model, how is this SUPPLIES connection best described?
✓A relationship, which is a directed, typed connection between two nodes that can carry its own properties
Correct. A relationship is a directed, typed connection between two nodes and can hold properties such as leadTimeDays.
・A label, which simply tags each node so queries can filter on entity type
Incorrect. A label only tags nodes for filtering and cannot connect two nodes or carry delivery data.
・A separate node inserted between the Supplier node and the Part node
Incorrect. Relationships connect nodes directly; no intermediate node is required to express SUPPLIES.
・An index entry that links the Supplier record to the Part record internally
Incorrect. Index entries accelerate lookups and do not represent a modeled business connection.
Explanation
A typed, directed connection that carries properties like leadTimeDays is a relationship, not a label, extra node, or index entry.
Example14 · Graph Database Fundamentals
A telecom operator models its network so that each cell tower, subscriber, and SIM card is stored with its own attributes and connected to others. Which Neo4j construct holds the attributes that describe a single cell tower entity?
・Relationships, which link one tower node to another and carry the descriptive attributes shared across both connected entities
Incorrect. Relationships connect nodes and may hold their own properties, but a tower's descriptive attributes live on the node itself, not on its relationships.
✓Properties, which are key-value pairs stored directly on the node representing that individual cell tower entity
Correct. Properties are key-value pairs attached directly to a node, so a cell tower's attributes such as location and capacity are stored on its node.
・Labels, which group towers into named categories and record the descriptive attribute values for each grouped entity
Incorrect. Labels classify nodes into groups like :Tower but do not store the per-entity attribute values that describe an individual tower.
・Indexes, which store the attribute values of each tower node to make the described entities faster to retrieve
Incorrect. Indexes speed up lookups by referencing property values but are not where the entity's attributes are actually defined or stored.
Explanation
In the property graph model, nodes represent entities and their descriptive attributes are stored as properties (key-value pairs) directly on each node.
Example15 · Graph Database Fundamentals
In the telecom operator's graph, a subscriber node is joined to a plan node by a CONNECTED relationship. Which statement best describes a defining characteristic of that relationship in Neo4j?
・It can optionally link a node to itself or to many nodes, and it never requires a type to be specified at creation time
Incorrect. A self-loop is allowed, but every relationship must have exactly one type, so claiming a type is never required is wrong.
・It must always point in both directions at once so that either connected node can be treated as the source of the link
Incorrect. Relationships are stored with a single direction; you can traverse them either way in Cypher, but they are not bidirectional at storage time.
✓It has a direction and a type, and it always connects a start node to an end node within the graph structure
Correct. A Neo4j relationship always has a direction and exactly one type, and it connects a defined start node to a defined end node.
・It is stored independently of any node and can exist in the database even when its endpoints have not been created
Incorrect. A relationship cannot exist without both endpoints; it must connect two existing nodes rather than standing alone.
Explanation
Every Neo4j relationship is directed, has exactly one type, and connects a start node to an end node; both endpoints must exist.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)