# neo4j 시험~
what cypher keyword is used to define an alias in a cypher statement?
-> SET은 아님
-> 2트째 alias함
---
Two node can only be connected by a single relationship
-> false
---
What are some options for loading data into neo4j? choose all that apply


---
suppose you are modifying a database named test1 that is managed by a neo4j 4.x instance.
what directories contain information and data for the database modifications? select all that apply
-> databases는 맞고, dbms는 틀림.
---
what languages have an officialyy suppoerted driver fo neo4j?
-> python
-> java
3점만점에 2점 얻음
---
the following cypher statement queries the graph for employees of the acme company.
MATH (a:Employee {id:5}) ~~~~~ Limit 10
select ~~~~~~ Acme. Choose all that apply.
-> We are matching on a node with an employee label and with an id property of value 5, which may refer only to a single employee and not all of them.
-> the limit 10 following the return clause means we will only get 10 results and there may be more than 10 employees who work at acme in the graph.
---
why use a cluster for a neo4j applicaion? choose all that apply.
-> Failover when a Neo4j instance goes down.
-> Scalability for read access to the data.
---
which of these statements about subqueries are true? select all that apply

---
what cypher statement returns the keys used for properties on nodes and relationships in the database?


---
By default, what libraries are always available to your project in neo4j desktop? choose all that apply.


---
property values can be the following.

---
What are valid protocols in neo4j 4.x? select all that apply.

---
what cypher syntax do you use to create a subquery?

---
suppose you want to retrieve all person nodes that have a firstName value that starts with the string "Jo". How would you retrieve these nodes?

---
in the neo4j desktop project, you can start multiple neo4j instances at the save time.
-> false
---
suppose you need additional procedures from a specialized library for use with a praticular database. in your neo4j desktop environment, how do you set up your environment to use the specialized library?

---
How can you use neo4j browser? choose all that apply


---
suppose you want to load a very large CSV file with Cypher. In Neo4j 4.x, what clause can you use?

---
What UIs released by Neo4j are available to developers of a neo4j application? choose all that apply.

---
suppose you want to write a query that tests whether the year property value for an invoice node is one of several values in a list of years [2015, 2016, 2017, 2018, 2019] ~~~~ i value for the year property?

-> WHERE i.contains(year, [2015, 2016, 2017, 2018, 2019]) 도 틀림.

---
Suppose you want to parameterize this query.
match (p:Person) WHERE p.name = XXXX
and XXXX is the parameter. you have defined a parameter called actorName that you can set in your session. How do you specify the actorName parameter in this query?


---
In Neo4j Browser, what statement do you execute to display the constraints defined for the database?

---
what is the system database used for? select all that apply.

---
Which Neo4j 4.x features are only available in Enterprise Edition? select all that apply.

---
Suppose you have some nodes that could have multiple labels. ~~~ return the labels for each node?

---
suppose we want to return the list all movies for each actor whose name contains "Tom".
What is wrond ~~~
MATCH (a:Person)
WHERE a.name CONTAINS..

---
Suppose you have a graph that has millions of Person nodes that are related using the :FOLLOWS ~~~~

---
Suppose you want to retrieve all Person nodes that have a firstName value that starts with the string "Jo". How would you retrieve these nodes?

---
In the Cypher clause, what type of data does val represent?
SET val = {X:1, Y:2, Z:3}


---
This Cypher statement is valid:
MATCH (v:Vehicle)-[:OWNED_BY]->(p:Person)
WITH p, collect(p.name) as owners
RETURN v, owners

---
suppose that you have created nodes in the graph with both labels Vehicle and Car.
What Cypher ~~~~ Choose all that apply.


---
suppose all nodes with the label, Person, have a property, name. What statements will rename ~~~

---
what types of properties can be stored in a fulltext schema index? Select all that apply.

---
When you start a Neo4j instance for the first time, by default, how many databases are created?

---
What Cypher keyword is used to define an alias in a Cypher statement?

---
which of the following are valid user database names? select all that apply

---
In Neo4j Browser, what statement do you execute ... Neo4j 4.x

---
What statements describe Neo4j's Bolt protocol? Choose all that apply.

---
Where can use the :use `<dbname>` feature? Select all that apply.

---
Suppose you have a database named test1. What ~~

---
Suppose an existing Person node has these properties set:
name: 'joe'
age: 30


---
what Cypher keyword is used to define an alias in a cypher statement?

---
suppose we want to return the list all movies for each director whose name contains "William"


---
suppose you have some nodes that could have multiple labels.

---
where can yse the :use \<dbname> feature? select all that apply

---
how can you find out all procedures that are available on your

---
suppose you have a database that contains a million person nodes and a million places nodes.

---
what protocol does a java application use to

---
how can you use neo4j browser? choose all that apply

---
in neo4j browser, what state do you execute to display the constraints defined for the database?


---
what cypher keyword do you use to add a property to an existing node?

---
can you run cypher statements on the system database? select all that apply

---
what cypher statement returns the keys used for properties on nodes and relationships in the database?


---
How do you define ";" as field terminator in LOAD CSV?

---
suppose you are in a Neo4j Browser session or a cypher-shell session and are connected to a running Neo4j instance.

----
Where can use the :use \<dbname> feature? Select all that apply.

---
suppose you have a graph that has millions of person nodes that are related using the :FOLLOWS relationship. Given this MATCH clause

---
suppose an existing person node has these properties set:
name: 'Joe'
age: 30

---
Suppose you want to parameterize this query:
MATCH (p:person) WHERE p.name = XXXX

---
what Cypher keyword do you use to add a property to an exising node?

---
In Neo4j Browser, what statement do you execute to display the schema of the Neo4j 4.x database?

---
what is a Neo4j Sandbox?

---
The following Cypher statement queries the graph for employees of the Acme company.
MATCH (a:Emplyee {id:5})

---
what types of properties can be stored in a fulltext schema index? select all that apply

---
Suppose all nodes with label, Person,have a property, name.

---
suppose you hava two person nodes in the graph woth names "John Smith" and ~~~~

---
Here are tow queries that return the same result
// query 1
Tom Hanks ~~~~

---
what languages have an officially supported driver for neo4j

Python Go Java
---
in a neo4j application, what is a session?
choose

---
how can you create relationship types dynamically, based upon existing property or relationship types?
Hint: This is typically ~~~~

---
what statement best describes index-free adjacency ~~~

---
suppose you hava some nodes that could have multiple labels. ina cypher query where you ~~

---
suppose you want to improve query performance by specializing the acted_in relationships in the graph. ~~~~~
acted_in_2021 ~~~~~~

---
Suppose we want to return the list all movies for each actor whose name contains "Tom"


---
what protocols are valid for connection your application to a neo4j dbms or cluster?

---
what are some options for loading data into neo4j? choose all that apply

---
given a model consisting of nodes with the person label ~~~ type KNOWS, select ~~~ Sarah's friends ~~~

---
suppose you have a database that contains a million person nodes and a million places nodes. ALL Person nodes have a property, name.

---
suppose you want to load a very large CSV file with Cypher. in neo4j browser, what clause can you use

---
the following cypher statement queries the graph for empl ~~~~ Acme company.
id:5 name:"Acme"

---
suppose you have a graph that has millions of person nodes that are related sing the :FOLLOWS ~~~ Match clause:
John Smith


---
which of the following options are required when using neo4j data importer app? ~~~

---
suppose all nodes whti the label, Person, have a property, name. what cypher statements will rename all name properties for these nodes to fullname? choose all that apply

---
Given this cypher query where a Movie node contains a property, languages

---
Given this cypher query;
~~
r.roles store as in the graph?

---
What statements describe using a Neo4j Driver in your application?

---
what are some ways that you can query data from
