Neo4j Answers
Neo4j Answers
General 12 of 12 100%
Properties
What statement best describes properties in Neo4j?
Properties are the key-value pairs used for nodes and relationships.
Feedback
Properties are the key-value pairs used for nodes and relationships.
Graph vs RDBMS
Which of the following is a benefit of using a graph database over a relational
database?
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 1/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Graph databases like Neo4j are optimized for querying and traversing complex and
interconnected relationships, offering significantly better performance compared
to relational databases for such tasks.
True
False
Feedback
Using Graph Theory, Leonhard Euler was able to definitively demonstrate that it
was not possible to visit each landmass in the city of Königsberg while crossing
each of the seven bridges only once.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 2/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Collections
Foreign keys
Nodes
Labels
Relationships
Properties
Rows
Feedback
These key elements of a Neo4j property graph are Nodes and Relationships.
Nodes and relationships hold Properties.
Nodes are grouped by their Labels and relationships are grouped by their type.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 3/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Relationships
True or false, a relationship can start and end at the same node.
True
False
Feedback
What is Neo4j?
What type of database is Neo4j?
Key-value store.
Document database.
Graph database.
Relational database.
Semantic database.
Feedback
Cypher
What statement best describes Cypher, Neo4j’s graph query language?
Feedback
ACID
True or False - Neo4j supports ACID transactions.
True
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 5/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
False
Indexes
True or False - Neo4j uses indexes to store relationships between nodes.
True
False
Feedback
Protocols
What protocol do the official Neo4j drivers use to access the Neo4j database?
Bolt
TLS
RMI
NFJ
Feedback
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 6/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Index-free Adjacency
What statement best describes index-free adjacency for a Neo4j database?
Nodes and their relationships are stored as pointers so that access is very fast
without the need for an index to traverse nodes.
You never have to add indexes to a Neo4j database to perform faster queries.
Each relationship is stored as a table where nodes related to each are stored in the
same table.
Each group of nodes is stored as a table where the relationships are mapped to
nodes in the same group.
Feedback
Index-free adjacency means that the query engine uses pointers to traverse paths
(nodes connected by relationships) in the graph, which makes queries across
relationships performant.
Query caching
To take advantage of the Query cache, what should you do?
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 7/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Cypher 32 of 32 100%
Deleting nodes
How can you delete a specific node in Neo4j using Cypher?
Use the MATCH clause to find the node and then DELETE it
Use the DELETE clause with the pattern you want to delete
Feedback
To delete a specific node in Neo4j, you can use the MATCH clause to find the node
and then DELETE it. For more information, refer to the lesson at:
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 8/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
https://graphacademy.neo4j.com/courses/cypher-fundamentals/2-writing/9-
delete/
Filtering results
Which of the following Cypher statements will find people who acted in the movie Toy
Story?
Feedback
The last three options are valid Cyher statements. The first two return the
(:Person) node ( p ), while the third returns a Path ; an object consisting of a list
of Relationships .
Property existence
How can you ensure that a property exists in a Cypher query?
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 9/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
You can ensure that a Movie node has a 'tagline' property by using the 'IS NOT
NULL' operator in a Cypher query. This filters out Movie nodes that do not have a
'tagline' property. Source: https://graphacademy.neo4j.com/courses/cypher-
fundamentals/1-reading/6-filtering-queries/
MATCH (p:Person)-[r]->(m:Movie)
It finds nodes with the label Person with an outgoing relationship to a Movie node.
It finds nodes with the label Movie with an outgoing relationship to a Person node.
It finds nodes with the label Person with a relationship in any direction.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 10/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Cypher is a declarative language that allows you to identify patterns in your data
using an ASCII-art-style syntax consisting of parentheses, dashes and arrows.
Find or create
Update the following Cypher statement to find or create a node in the database.
INSERT
MATCH OR CREATE
MERGE
UPSERT
Feedback
If Neo4j cannot find a node when using the MERGE statement, it creates a new
node with the specified properties.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 11/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Reference: https://graphacademy.neo4j.com/courses/cypher-fundamentals/2-
writing/7-merge-processing/
Duplicate rows
How can you eliminate duplicate rows in the results of a Cypher query?
Feedback
Optional Matches
How can optional matches be useful in a Neo4j query?
Optional matches allow you to specify patterns that may or may not exist in the
graph.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 12/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Optional matches are only used for nodes that have a specific property.
Optional matches force a pattern to exist in the graph, otherwise the query will
return an error.
Feedback
Optional matches allow you to specify patterns that may or may not exist in the
graph, ensuring flexibility in query results. See more at:
https://graphacademy.neo4j.com/courses/cypher-intermediate-queries/1-
filtering-queries/13-multiple-match/
Parentheses in Cypher
In the following Cypher statement, what do the parentheses represent?
Nodes
Relationships
Label
Tables
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 13/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Cypher is a declarative language that allows you to identify patterns in your data
using an ASCII-art-style syntax consisting of parentheses, dashes and arrows.
Relationships in Cypher
In the following MATCH clause, which of the elements represents the relationship
between two nodes?
MATCH (a)-[b]->(c)
(a)
(a)-
-[b]→
(c)
→(c)
Feedback
Relationships are drawn with two dashes, plus greater than or less than arrows to
denote the direction and square brackets to enclose information about the
relationship.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 14/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Correct! MERGE will match existing patterns or create new ones if they do not exist.
Source: https://graphacademy.neo4j.com/courses/cypher-fundamentals/2-
writing/7-merge-processing/
MERGE statements
How do you ensure that the same relationship is not created twice between two nodes?
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 15/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 16/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
When you run a MERGE statement, Neo4j will attempt to find the entire pattern. If
any of the elements within the pattern do not exist, the entire path will be created.
For more information, see the MERGE section of the Cypher Manual.
Variables in subqueries
Complete the Cypher statement below to pass the p identifier to the subquery.
WITH p
HAVING p
USING p
Feedback
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 17/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Cypher
Which of the following Cypher statements would you use to count the number of nodes
with the label Person ?
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 18/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
To count the number of nodes with a specific label Person , you use
You can also use a COUNT as an expression and return it directly from a MATCH
clause.
Source: https://graphacademy.neo4j.com/courses/cypher-intermediate-
queries/3-working-with-cypher-data/02-c1-counting-results/
Returning Data
Complete the following Cypher statement to return the name property of the Person
node.
p.name
Feedback
Properties are accessed using the variable bound to the node or relationship.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 19/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Indexes
Which Cypher command can be used to list the indexes in a Neo4j database?
SHOW INDEXES
CREATE INDEX
CALL db.indexes()
Feedback
Refer to https://graphacademy.neo4j.com/courses/cypher-indexes-
constraints/3-indexes/08-c-create-text-index/ for more details.
A single node will be created with the createdAt property set to the latest datetime
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 20/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
value.
Two nodes will be created with the same name property but different createdAt
properties
Feedback
Cypher
Which of the following commands would you use to drop a constraint?
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 21/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Subqueries in Cypher
Which Cypher clause would you use to create a subquery?
CALL { /…/ }
CREATE { /…/ }
IN SUBQUERY { /…/ }
SUBSEQUENTLY { /…/ }
Feedback
See: https://neo4j.com/docs/cypher-manual/current/clauses/call-subquery/
Union queries
What is the difference between UNION and UNION ALL in Neo4j?
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 22/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
UNION ALL returns distinct results, while UNION returns all results including
duplicates
UNION returns distinct results, while UNION ALL returns all results including
duplicates
Feedback
In Neo4j, UNION returns distinct results while UNION ALL returns all results,
including duplicates.
Source: https://graphacademy.neo4j.com/courses/cypher-intermediate-
queries/6-subqueries/01-subquery/
MERGE statements
If you run the following Cypher statement on an empty database, which properties will
exist on the node?
title
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 23/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
released
tagline
imdbRating
Feedback
Because this statement is run on an empty database, the node will be created.
Therefore, properties defined in ON CREATE SET will be set.
A previously created node has not been matched so the ON MATCH SET will not be
executed.
To divide the query into multiple parts, allowing intermediate results to be passed
to the next part of the query.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 24/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
The WITH clause is used to define or redefine the scope of variables in a Cypher
query. Source: https://graphacademy.neo4j.com/courses/cypher-intermediate-
queries/5-pipelining-queries/01-with-scoping/
Query Pagination
In a query requiring pagination, why is it essential to use an ORDER BY clause before
SKIP and LIMIT ?
Feedback
Using an ORDER BY clause before SKIP and LIMIT ensures that the paginated
results are consistent and predictable. Source:
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 25/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
https://graphacademy.neo4j.com/courses/cypher-intermediate-queries/2-
controlling-results/05-limiting/
Cypher is a declarative graph query language designed for querying and updating
data in Neo4j, while GraphQL is a query language for APIs that allows clients to
specify exactly what data they need and is used for building web APIs.
Cypher is used for data modeling, while GraphQL is used for data querying and
retrieval.
Cypher provides a flexible syntax for requesting data through APIs, while GraphQL
is optimized for complex graph traversals and pattern matching in Neo4j.
Feedback
Cypher is a declarative graph query language designed for querying and updating
data in Neo4j, while GraphQL is a query language for APIs that allows clients to
specify exactly what data they need and is used for building web APIs.
You can learn more about Neo4j & GraphQL in Introduction to Neo4j & GraphQL.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 26/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
MATCH (p:Person)-[:ACTED_IN]->(m)
MATCH (m)<-[:ACTED_IN]-(p2)
RETURN p2.name AS coactor
MATCH (p:Person)-[:ACTED_IN]->(m),
(m)<-[:ACTED_IN]-(p2)
RETURN p2.name AS coactor
Relationships are unique within the scope of a single MATCH clause only
The import process probably created two Tom Hanks nodes in the database
Feedback
Relationships are unique within the scope of a single MATCH clause only. By adding
a second MATCH clause, the original relationship will be traversed again.
Cypher
What is the difference between using EXPLAIN and PROFILE?
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 27/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
EXPLAIN provides exact steps and number of rows retrieved, while PROFILE
provides estimates.
EXPLAIN provides estimates, while PROFILE provides exact steps and number of
rows retrieved.
EXPLAIN is used for updating data, while PROFILE is used for querying.
EXPLAIN is used for querying, while PROFILE is used for updating data.
Feedback
MATCH (n)--(m)
RETURN *
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 28/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Define a label for one of the nodes to narrow down the initial search area
Feedback
All of the answers are correct. When writing a MATCH clause, you should define at
least one label to narrow the initial search area. You should then be specific about
which relationship types and directions you would like to follow.
Both of these will ensure the amount of the graph that is explored is as small as
possible.
Subqueries in Cypher
Suppose we want to return a list of all movies for each actor whose name contains
"Tom". What is wrong with this code? Select the correct answer,
MATCH (a:Person)
WHERE a.name CONTAINS "Tom"
WITH a, a.name AS actorName
CALL
{
MATCH (a)-[:ACTED_IN]->(m:Movie)
RETURN collect(m.title) as movies
}
RETURN actorName, movies
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 29/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
You must add WITH movies, actorName after the CALL {} block.
You must specify WITH in the subquery for any variables you are passing to the
subquery.
Feedback
You must specify WITH in the subquery for any variables you are passing to the
subquery.
Subqueries
How many records will the following Cypher statement return?
RETURN inner
}
RETURN outer, inner
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 30/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
12
Feedback
For each row returned by the subquery, the value in the outer query will be
duplicated in the result set. The results will look like this.
outer inner
1 1
1 2
1 3
2 1
2 2
2 3
3 1
3 2
3 3
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 31/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Query performance
Why is it recommended to avoid unnecessary labels in query patterns for better
performance?
Labels on non-anchor nodes force a label check, which may not be necessary.
Feedback
Traversal Behaviour
Which method of traversal behavior does Neo4j use during a Cypher query?
breadth-first
depth-first
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 32/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
topological
sequential
Feedback
The query engine always completes the first path before moving on to the next,
streaming each result as it is found. (source:
https://graphacademy.neo4j.com/courses/cypher-intermediate-queries/4-
graph-traversal/01-graph-traversal/)
Modeling 11 of 11 100%
Data modeling
Given the following domain question.
Which of the following could you represent as relationships in your data model?
Customer
Purchased
Product
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 33/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Red flags
What are some things to look for as red flags to investigate in a Cypher query plan?
AllNodesScan
Data modeling
Given the following domain question.
Which of the following elements could you represent as nodes in your data model?
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 34/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Part
Type
Product
Feedback
All of the nouns used in the statement could be nodes in your instance model.
Intermediate nodes
You have a graph consisting of (:Customer) nodes with :ORDERED relationships to
(:Products) .
It enables linking the order to multiple entities, such as products and shipping
companies.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 35/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
It prevents the need for any relationships between Customer and Product.
Feedback
What is the benefit of adding additional (:Actor) labels for any (:Person) node
with an :ACTED_IN relationship?
Feedback
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 36/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Adding a label will reduce the search space at the start of the query, reducing the
number of db hits and making the statement more performant.
Bi-directional relationships
In modeling, the use of bi-directional relationships is a good practice when:
The semantics of the relationship in one direction is different from the other
direction.
You want to show the same relationship between two nodes in each direction.
Feedback
Labels
What is the recommended limit for the number of labels for a node in a data model?
2 labels
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 37/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
4 labels
6 labels
8 labels
Feedback
Query tuning
Before you start a query tuning exercise, you must make sure that the set of queries
you will be measuring represents the correct syntax. You can use EXPLAIN to ensure
that unnecessary NodeByLabelScan steps occur.
Use correct names for labels, property keys, and property values.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 38/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Use correct names for labels, property keys, and property values.
Modeling categories
You are building a recommendation engine for an online store.
Which of the following actions should you take when modeling the data?
Assign a new label for each category to (:Product) nodes, for example,
:Product_Accessories
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 39/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Because the categories represent a hierarchy, it makes sense to create nodes for
each category and use relationships to create the hierarchy. This means you can
quickly find products in a category, but also traverse the hierarchy to find products
in sub-categories.
Modeling categories
You are building a recommendation engine for an online store.
Some of their products are perishable and need to be sold within a certain timeframe.
Managers would like to find a list of perishable products for stock control purposes.
Which of the following actions should you take when modeling the data?
Create a :Status node with the name Perishable and create relationships from each
product node
Feedback
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 40/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
After running the EXPLAIN command, you spot a NodeByLabelScan as the first step
in the query plan.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 41/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Which of the following actions should you take to improve the performance of the
query?
Feedback
Schema 11 of 11 100%
Unique constraints
How do you create a unique constraint on the email property for any node with the
label User ?
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 42/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Schemas in Neo4j
Which of the following statements is correct?
Feedback
You can operate a Neo4j database with no schema, but applying a database
schema will improve performance.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 43/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
You can learn more about applying a schema to Neo4j in Cypher Indexes &
Constraints.
Indexes
True or False - You can create an index on nodes or relationships.
True
False
Feedback
This is true, you can create a wide range of indexes and constraints on nodes and
relationships.
Unique constraints
Complete the Cypher statement below to create an existence constraint on the rated
property on the ()-[:RATED]→() relationship.
EXISTS
IS UNIQUE
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 44/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
IS NOT NULL
:: NOT NULL
Feedback
You can learn all about the indexes and constraints available in Neo4j in the
Cypher Indexes and Constraints course.
Indexes
Which of the following indexes are available in Neo4j?
BLOOM
CURRENCY
TEXT
RANGE
VECTOR
Feedback
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 45/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Learn how to make your graph more performant in the Cypher Indexes and
Constraints course.
Schema visualizations
Which of the following Cypher statements will visualize your database schema in
Workspace or Neo4j Browser?
CALL db.schema.visualization()
SHOW SCHEMA
CALL schema.visualize()
Feedback
MATCH p = ()-[]->()
RETURN p
LIMIT 1000
What type of constraint can you use to ensure that two or more properties are unique
and exist for any given label?
Combination Constraint
Unique Constraint
NodePropertyConst
Feedback
You can learn all about the indexes and constraints available in Neo4j in the
Cypher Indexes and Constraints course.
Indexes
How do you create a RANGE index on a relationship property?
Feedback
To create a RANGE index on a relationship property in Neo4j, you use the syntax:
CREATE RANGE INDEX index_name FOR ()-[relType:RELATIONSHIP_TYPE]-() ON
(relType.property_key)
. Source: https://graphacademy.neo4j.com/courses/cypher-indexes-
constraints/3-indexes/08-c-create-text-index/
Full-text indexes
What makes fulltext and vector indexes different from other indexes in Neo4j?
Feedback
You can learn all about the indexes and constraints available in Neo4j in the
Cypher Indexes and Constraints course.
To learn about Vector indexes, check out Neo4j & LLM Fundamentals.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 48/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Full-text indexes
Complete the Cypher statement below to query a fulltext index called movieInfo
with the value in the parameter $query .
CALL db.index.fulltext.queryNodes
SELECT INDEX
MATCH fulltext
CALL fulltext.queryNodes
Feedback
You can learn all about fulltext indexes in the Cypher Indexes and Constraints
course.
Vector indexes
Complete the Cypher statement below to create a Vector index on the
:Movie.embedding property.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 49/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
CREATE INDEX
CREATE CONTRAINT
CALL db.vector.createIndex
Feedback
To learn about Vector indexes, check out Neo4j & LLM Fundamentals.
Importing 6 of 6 100%
LOAD CSV
IMPORT CSV
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 50/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
READ CSV
GET CSV
Feedback
LOAD CSV is the Cypher command that loads data from a CSV file. Source:
https://graphacademy.neo4j.com/courses/importing-fundamentals/
Feedback
A multi-pass approach to importing data will ensure that larger imports are more
performant.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 51/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
https://graphacademy.neo4j.com/courses/importing-fundamentals/
Data types
Which of the following statements applies when using the LOAD CSV statement?
The database will automatically determine the data type when reading the CSV file
You must define the data types for each file in import.conf
You must cast any values other than a string using the appropriate Cypher function
Feedback
When loading a CSV file using LOAD CSV , all values will be treated as strings. This
ensures that no information is lost during the import process. You must use the
appropriate function to convert the value into the correct data type, for example
the toInteger() and toBoolean() functions.
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 52/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
HAS HEADERS
HEADERROW=1
WITH HEADERS
Feedback
LOAD CSV is the Cypher command used to load data from a CSV file. The command
has a WITH HEADERS option that instructs Neo4j that the first row contains
headers.
Source: https://graphacademy.neo4j.com/courses/importing-fundamentals/
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 53/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
If WITH HEADERS is not present, the data will be returned as a list of values. You
can access these values using a zero-based index, for example, row[0] .
Batch Imports
Complete the Cypher statement below to execute the LOAD CSV command in batches
of 1000 rows.
COMMIT ON 1000
ROWS=1000
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 54/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Feedback
Drivers 8 of 8 100%
Drivers
What is the role of a driver in Neo4j?
Feedback
The role of a driver in Neo4j is to establish a connection with the Neo4j database.
For more information, refer to:
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 55/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
https://graphacademy.neo4j.com/courses/modeling-fundamentals/1-getting-
started/3-purpose-of-model/
Driver Protocols
Which of the following protocols are valid to create a secure connection to Neo4j using
the Driver?
bolt+s
graphdb+s
neo4j+s
neo4j+ssc
https
Feedback
Bolt Port
What is the default port for connecting to a Neo4j database using the driver?
7474
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 56/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
7687
7987
8501
Feedback
Fun fact, the port number is used because the two developers who coined the bolt
protocol were born in 1976 and 1987.
Drivers
When using a language driver, a statement of results comprises a stream of…
nodes
rows
entries
records
Feedback
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 57/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
You can learn more about how to connect an application to Neo4j in our
Development courses.
driver = GraphDatabase.driver(
"neo4j://localhost:7687",
auth=("neo4j", "1$ecurepassword")
)
driver.#select:verify_authentication()
assert_auth()
check_authentication()
verify_authentication()
verify()
Feedback
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 58/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Drivers
When establishing a driver connection using the neo4j+ssc , which of the following
will occur?
The driver will establish an encrypted connection and it will verify the SSL
certificate
The driver will establish an encrypted connection but it will not verify the SSL
certificate
Feedback
Auto-commit transactions
Transaction functions
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 59/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
Explicit transactions
Feedback
driver = GraphDatabase.driver(
"neo4j://localhost:7687" auth=("neo4j", "letmein")
)
df = driver.#select:execute_query
(
"MATCH (n) RETURN count(n) AS count",
result_transformer_=Result.to_df
)
cypher
to_df
execute_query
run
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 60/61
06/07/2025, 15:50 Neo4j Certified Professional | GraphAcademy
query
Feedback
https://graphacademy.neo4j.com/certifications/neo4j-certification/results/ 61/61