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?

  1. 2
  2. 3
  3. 4
  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?

  1. Yes
  2. No

Answer: A) Yes

Explanation:

Yes, ArangoDB is open-source.

Discuss this Question


3. ____ are storage containers for documents or key-value pairs?

  1. Graphs
  2. Documents
  3. 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

  1. Graphs
  2. Collections
  3. Nodes
  4. 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?

  1. Graphs
  2. Nodes
  3. Collections
  4. 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?

  1. HQL
  2. SQL
  3. AQL
  4. ASQL
  5. None

Answer: C) AQL

Explanation:

AQL is the query language used in ArangoDB.

Discuss this Question


7. ArangoDB is written in which programming language?

  1. Python
  2. C
  3. C++
  4. Java

Answer: C) C++

Explanation:

ArangoDB is written in C++ programming language.

Discuss this Question


8. ArangoDB's microservices framework is called ____?

  1. Retin
  2. Karma
  3. 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.

  1. Graph
  2. Document
  3. 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 ____?

  1. Schema independent
  2. Schema dependent

Answer: A) Schema independent

Explanation:

ArangoDB is schema-free.

Discuss this Question


11. You can use ArangoDB on ____?

  1. On-premises
  2. On cloud
  3. 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 ____.

  1. Horizontally
  2. Vertically
  3. 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 ____?

  1. Documents, Database
  2. 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.

  1. Array
  2. List
  3. CSV objects
  4. 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 ____.

  1. Index
  2. VelocyPack
  3. 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 ____?

  1. Documents
  2. Databases
  3. 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 ____.

  1. _systemdefault
  2. default_system.
  3. _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 ____.

  1. _from and _where
  2. _from and _to.
  3. _where and _to.
  4. _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 ____?

  1. Directed
  2. 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?

  1. Indexes
  2. Views
  3. 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?

  1. db._name_of_db()
  2. db._name()
  3. 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?

  1. db._databases()
  2. db._databaseslist()
  3. db._list()
  4. 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?

  1. db._drop(name)
  2. db._dropDb(name)
  3. 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?

  1. Yes
  2. 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?

  1. Yes
  2. 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.

  1. db. Create
  2. db. Createcollection
  3. db. Newcollection
  4. db. collection

Answer: A) db. Create

Explanation:

A "db. create" call creates a collection.

Discuss this Question


27. The default replication factor is ____?

  1. 0
  2. More than 10
  3. Less than 10
  4. 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?

  1. Delete
  2. Drop
  3. 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.

  1. Document handle
  2. Document key
  3. 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?

  1. Document handle
  2. Document key
  3. 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 ____?

  1. Immutable
  2. 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?

  1. Doc.all()
  2. document.all()
  3. collection.document()
  4. 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?

  1. collection.toArray()
  2. collection.Array()
  3. 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?

  1. Yes
  2. 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?

  1. Yes
  2. 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.

  1. ArangoDB handler
  2. ArangoDB storage
  3. ArangoDB server
  4. 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?

  1. Yes
  2. No

Answer: B) No

Explanation:

No, AQL does not support data-definition operations.

Discuss this Question


38. Does AQL support data control language (DCL)?

  1. Yes
  2. 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?

  1. 4
  2. 5
  3. 3
  4. 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.

  1. Single Instance setup
  2. Clustered Setup

Answer: B) Clustered Setup

Explanation:

ArangoDB is deployed across numerous servers in a clustered arrangement.

Discuss this Question





Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.