Home »
MCQs
ArangoDB Multiple-Choice Questions (MCQs)
ArangoDB is a free and open-source native graph database system developed by ArangoDB Inc. It is a multi-model database system since it supports three data models with one database core and a unified query language AQL.
ArangoDB MCQs: This section contains multiple-choice questions and answers on the various topics of ArangoDB. Practice these MCQs to test and enhance your skills on ArangoDB.
List of ArangoDB MCQs
1. ArangoDB supports how many data models?
- 2
- 3
- 4
- 5
Answer: B) 3
Explanation:
Arango DB supports 3 data models: document, graph, and key-value.
Discuss this Question
2. Is ArangoDB open-source?
- Yes
- No
Answer: A) Yes
Explanation:
Yes, ArangoDB is open-source.
Discuss this Question
3. ____ are storage containers for documents or key-value pairs?
- Graphs
- Documents
- Collections
Answer: C) Collections
Explanation:
Collections are storage containers for documents or key-value pairs.
Discuss this Question
4. ____ are JSON objects that hold the real data that you wish to save in ArangoDB
- Graphs
- Collections
- Nodes
- Documents
Answer: D) Documents
Explanation:
Documents are JSON objects that hold the real data that you wish to save in ArangoDB.
Discuss this Question
5. ____ are information networks made up of nodes and connections?
- Graphs
- Nodes
- Collections
- Containers
Answer: A) Graphs
Explanation:
Graphs are information networks made up of nodes and connections.
Discuss this Question
6. Which of the following query language is used in ArangoDB?
- HQL
- SQL
- AQL
- ASQL
- None
Answer: C) AQL
Explanation:
AQL is the query language used in ArangoDB.
Discuss this Question
7. ArangoDB is written in which programming language?
- Python
- C
- C++
- Java
Answer: C) C++
Explanation:
ArangoDB is written in C++ programming language.
Discuss this Question
8. ArangoDB's microservices framework is called ____?
- Retin
- Karma
- Foxx
Answer: C) Foxx
Explanation:
ArangoDB's microservices framework is called Foxx.
Discuss this Question
9. ArangoDB, as a ____ database, is ideal for applications such as fraud detection, recommendation engines, and identity and access management.
- Graph
- Document
- Key-value pair
Answer: A) Graph
Explanation:
ArangoDB, as a graph database, is ideal for applications such as fraud detection, recommendation engines, and identity and access management.
Discuss this Question
10. ArangoDB is ____?
- Schema independent
- Schema dependent
Answer: A) Schema independent
Explanation:
ArangoDB is schema-free.
Discuss this Question
11. You can use ArangoDB on ____?
- On-premises
- On cloud
- Both
Answer: C) Both
Explanation:
You can use ArangoDB on-premises and also on the cloud depending upon the requirement.
Discuss this Question
12. ArangoDB can scale ____.
- Horizontally
- Vertically
- Both
Answer: C) Both
Explanation:
ArangoDB can scale both horizontally and vertically.
Discuss this Question
13. The hierarchy that data is organized in is ____ in collections and collections in ____?
- Documents, Database
- Database, document
Answer: B) Database, document
Explanation:
The hierarchy that data is organized in documents in collections, and collections in databases.
Discuss this Question
14. Documents may be stored as ____ in ArangoDB.
- Array
- List
- CSV objects
- JSON objects
Answer: D) JSON objects
Explanation:
Documents may be stored as JSON objects in ArangoDB.
Discuss this Question
15. Internally, documents are saved in a binary format known as ____.
- Index
- VelocyPack
- BinaryIndex
Answer: B) VelocyPack
Explanation:
Internally, documents are saved in a binary format known as VelocyPack.
Discuss this Question
16. A collection can include an unlimited number of ____?
- Documents
- Databases
- Indexes
Answer: A) Documents
Explanation:
A collection can include an unlimited number of documents.
Discuss this Question
17. Every server instance comes with a standard database named ____.
- _systemdefault
- default_system.
- _system.
Answer: C) _system.
Explanation:
Every server instance comes with a standard database named _system.
Discuss this Question
18. ArangoDB Edges contain two unique attributes: ____ and ____.
- _from and _where
- _from and _to.
- _where and _to.
- _from and _group
Answer: B) _from and _to.
Explanation:
ArangoDB Edges contain two unique attributes: _from and _to.
Discuss this Question
19. Edges in ArangoDB are always ____?
- Directed
- Undirected
Answer: A) Directed
Explanation:
Edges in ArangoDB are always directed, which means they point from one vertex to another.
Discuss this Question
20. ____ are used to iterate across query results?
- Indexes
- Views
- Cursors
Answer: C) Cursors
Explanation:
Cursors are used to iterate across query results.
Discuss this Question
21. Which of the following method Return the database name?
- db._name_of_db()
- db._name()
- db._database_name()
Answer: B) db._name()
Explanation:
db.name() method Returns the database name.
Discuss this Question
22. Which of the following method returns the list of all existing databases?
- db._databases()
- db._databaseslist()
- db._list()
- db._listdb()
Answer: A) db._databases()
Explanation:
db._databases() method returns the list of all existing databases.
Discuss this Question
23. Which of the following method is used to drop the database?
- db._drop(name)
- db._dropDb(name)
- db._dropDatabase(name)
Answer: C) db._dropDatabase(name)
Explanation:
db._dropDatabase(name) method is used to drop the database.
Discuss this Question
24. Can you drop the _system database?
- Yes
- No
Answer: B) No
Explanation:
No, the _system database cannot be dropped.
Discuss this Question
25. Can two collections have the same name within the same database?
- Yes
- No
Answer: B) No
Explanation:
ArangoDB collections all have a unique identification and a unique name.
Discuss this Question
26. A "____" call creates a collection.
- db. Create
- db. Createcollection
- db. Newcollection
- db. collection
Answer: A) db. Create
Explanation:
A "db. create" call creates a collection.
Discuss this Question
27. The default replication factor is ____?
- 0
- More than 10
- Less than 10
- 1
Answer: D) 1
Explanation:
The default replication factor is 1.
Discuss this Question
28. ____ a collection, removes all documents but keeps all its indexes?
- Delete
- Drop
- Truncate
Answer: C) Truncate
Explanation:
Truncate a collection, removes all documents but keep all its indexes.
Discuss this Question
29. A ____ identifies a document in the database in a unique way.
- Document handle
- Document key
- Document Revision
Answer: A) Document handle
Explanation:
A document handle identifies a document in the database in a unique way.
Discuss this Question
30. A ____ uniquely identifies a document in the collection it is stored in?
- Document handle
- Document key
- Document Revision
Answer: B) Document key
Explanation:
A document key uniquely identifies a document in the collection it is stored in.
Discuss this Question
31. The _key value of a document is ____?
- Immutable
- Mutable
Answer: A) Immutable
Explanation:
The _key value of a document is immutable.
Discuss this Question
32. Which of the following method Returns a cursor after retrieving all documents from a collection?
- Doc.all()
- document.all()
- collection.document()
- collection.all()
Answer: D) collection.all()
Explanation:
collection.all() method Returns a cursor after retrieving all documents from a collection.
Discuss this Question
33. Which of the following method Converts the collection into an array of documents?
- collection.toArray()
- collection.Array()
- doc.Array()
Answer: A) collection.toArray()
Explanation:
collection.toArray() method Converts the collection into an array of documents.
Discuss this Question
34. Can view and collection have the same name in the same database?
- Yes
- No
Answer: B) No
Explanation:
There cannot exist a view and a collection with the same name in the same database.
Discuss this Question
35. Are document keys case-sensitive?
- Yes
- No
Answer: A) Yes
Explanation:
Yes, document keys are case-sensitive.
Discuss this Question
36. ArangoDB's key component is the ____, which stores data and processes queries.
- ArangoDB handler
- ArangoDB storage
- ArangoDB server
- ArangoDB container
Answer: C) ArangoDB server
Explanation:
ArangoDB's key component is the ArangoDB server, which stores data and processes queries.
Discuss this Question
37. Does AQL support data-definition operations?
- Yes
- No
Answer: B) No
Explanation:
No, AQL does not support data-definition operations.
Discuss this Question
38. Does AQL support data control language (DCL)?
- Yes
- No
Answer: B) No
Explanation:
No, AQL does not support data control language (DCL), it is pure DML.
Discuss this Question
39. How many ways are there to upgrade the ArangoDB?
- 4
- 5
- 3
- 2
Answer: D) 2
Explanation:
There are two ways to upgrade the ArangoDB: in-place upgrade, and logical upgrade.
Discuss this Question
40. ArangoDB is deployed across numerous servers in a ____ arrangement.
- Single Instance setup
- Clustered Setup
Answer: B) Clustered Setup
Explanation:
ArangoDB is deployed across numerous servers in a clustered arrangement.
Discuss this Question