Home »
MCQs
OrientDB Multiple-Choice Questions (MCQs)
OrientDB is an open-source NoSQL database management system, which is written in Java programming language. OrientDB supports multi-model database, supporting graph, document, key/value, and object models. (Read more Wikipedia)
OrientDB MCQs: This section contains multiple-choice questions and answers on the various topics of OrientDB. Practice these MCQs to test and enhance your skills on OrientDB.
List of OrientDB MCQs
1. Which of the following is the first Multi-Model Open Source NoSQL DBMS?
- Apache Derby
- Orient DB
- Tiny DB
- Db2
Answer: B) Orient DB
Explanation:
Orient DB is the first Multi-Model Open Source NoSQL DBMS.
Discuss this Question
2. Orient DB is written in which of the following programming languages?
- Java
- Python
- Ruby
- Erlang
- C++
Answer: A) Java
Explanation:
Orient DB is written in Java.
Discuss this Question
3. Orient DB is available in how many editions?
- 3
- 4
- 5
- 2
Answer: D) 2
Explanation:
Orient DB is available in 2 editions:
- Community edition
- Enterprise edition
Discuss this Question
4. Are Classes the same as Tables in an OrientDB?
- Yes
- No
Answer: B) No
Explanation:
No, classes are not the same.
Discuss this Question
5. Which of the following is the default console mode in OrientDB?
- Interactive Mode
- Batch Mode
- Serial Mode
Answer: A) Interactive Mode
Explanation:
The default console mode in OrientDB is interactive.
Discuss this Question
6. A ____ is the smallest unit that may be loaded from and placed into the database.
- Log
- Record
- Session
Answer: B) Record
Explanation:
A Record is the smallest unit that may be loaded from and placed into the database.
Discuss this Question
7. In how many types of records are gathered?
- 2
- 3
- 5
- 4
Answer: D) 4
Explanation:
Records come in four types:
- Documents
- Blobs
- Vertices
- Edges
Discuss this Question
8. Binary data may also be loaded and stored using OrientDB.
- True
- False
Answer: A) True
Explanation:
Binary data may also be loaded and stored using OrientDB.
Discuss this Question
9. The most fundamental unit of data in graph databases is the node, which is known as a ____ in OrientDB.
- Edge
- Face
- Vertex
Answer: C) Vertex
Explanation:
The most fundamental unit of data in graph databases is the node, which is known as a vertex in OrientDB.
Discuss this Question
10. An arc is a link between two nodes in a graph database, which is called an ____ in OrientDB.
- Edge
- Face
- Vertex
Answer: A) Edge
Explanation:
An arc is a link between two nodes in a graph database, which is called an edge in OrientDB.
Discuss this Question
11. How many vertices can the edge link?
- 3
- 2
- 4
- 5
Answer: B) 2
Explanation:
Edges can only link two vertices and are bidirectional.
Discuss this Question
12. Classes can be ____?
- Schema Less
- Schema Full
- Mix
- Both
Answer: D) Both
Explanation:
Classes can be schema-less, schema-full, or a combination of the two.
Discuss this Question
13. Is the Abstract Class feature available in Orient DB?
- Yes
- No
Answer: A) Yes
Explanation:
Yes, the Abstract class feature is available in OrientDB.
Discuss this Question
14. ____ give physical or in-memory space for OrientDB to store data?
- Groups
- Clusters
- Chambers
- Tables
Answer: B) Clusters
Explanation:
Clusters give physical or in-memory space for OrientDB to store data.
Discuss this Question
15. OrientDB allows how many types of relationships?
- 4
- 3
- 2
- 5
Answer: C) 2
Explanation:
OrientDB allows for two types of relationships: referenced and embedded.
Discuss this Question
16. Which relationship is stronger?
- Referenced
- Embedded
Answer: B) Embedded
Explanation:
Embedded relationships are stronger than referenced ones.
Discuss this Question
17. Which console mode accepts commands as command-line arguments or as a text file and executes the commands in that file in sequence?
- Interactive Mode
- Batch Mode
- Serial Mode
Answer: B) Batch Mode
Explanation:
In batch mode, it accepts commands as command-line arguments or as a text file and executes the commands in that file in the sequence.
Discuss this Question
18. Which of the following command, Shows all classes that have been specified in the current database?
- Browse Class
- Browse Classes
- Class
- Classes
Answer: D) Classes
Explanation:
This shows all classes that have been specified in the current database.
Discuss this Question
19. The status of the cluster in distributed configuration is displayed, with which of the following command?
- Browse Cluster status
- Status
- Cluster Status
Answer: C) Cluster Status
Explanation:
The status of the cluster in distributed configuration is displayed by the Cluster status command.
Discuss this Question
20. Which of the following command Closes the database that is presently open?
- Disconnect
- End
- Exit
- Close
Answer: A) Disconnect
Explanation:
The disconnect command, Closes the database that is presently open.
Discuss this Question
21. Which of the following statements is true?
- ACID transactions are not supported by MongoDB but are supported by OrientDB.
- ACID transactions are supported by MongoDB but are not supported by OrientDB.
Answer: A) ACID transactions are not supported by MongoDB but are supported by OrientDB.
Explanation:
Statement 1 is correct; ACID transactions are not supported by MongoDB but are supported by OrientDB.
Discuss this Question
22. Which of the following command is used to create a database in OrientDB?
- Create new database<databasename>
- Create database<databasename>
- Create new db<databasename>
- Create db<databasename>
Answer: B) Create database<databasename>
Explanation:
Create database<databasename> command is used to create a database in OrientDB.
Discuss this Question
23. ____ is the process of splitting a database into smaller, more manageable components known as shards in OrientDB?
- Caching
- Sharding
- Clustering
Answer: B) Sharding
Explanation:
Sharding is the process of splitting a database into smaller, more manageable components known as shards in OrientDB.
Discuss this Question
24. In OrientDB, an ____ is a data structure that enables quick lookups of records based on a certain field or combination of fields.
- Set
- List
- Map
- Index
Answer: D) Index
Explanation:
In OrientDB, an index is a data structure that enables quick lookups of records based on a certain field or combination of fields.
Discuss this Question
25. Which of the following indexes does OrientDB supports?
- Unique
- non-unique
- full-text
- Spatial indexes
- All of the above
Answer: E) All of the above
Explanation:
Indexes supported by OrientDB include unique, non-unique, full-text, and spatial indexes.
Discuss this Question
26. ____ in OrientDB refers to the database's capacity to manage rising volumes of data and traffic by adding more resources.
- Expansion
- Scaling
- Sharding
Answer: B) Scaling
Explanation:
Scaling in OrientDB refers to the database's capacity to manage rising volumes of data and traffic by adding more resources.
Discuss this Question
27. How many types of Scaling does OrientDB support?
- Horizontal Scaling
- vertical scaling
- Both
Answer: C) Both
Explanation:
Horizontal and vertical scaling are supported by OrientDB.
Discuss this Question
28. In OrientDB, a ____ is an index that allows for efficient searching of text-based data.
- Full-time index
- Unique Index
- Real Index
Answer: A) Full-time index
Explanation:
In OrientDB, a full-text index is an index that allows for efficient searching of text-based data.
Discuss this Question
29. ____ refers to the process of completing a transaction by storing all changes in the database.
- Commit
- Savepoint
- RollBack
Answer: A) Commit
Explanation:
Commit refers to the process of completing a transaction by storing all changes to the database.
Discuss this Question
30. ____ refers to restoring the database state to the point when the transaction was initiated.
- Commit
- Savepoint
- RollBack
Answer: C) RollBack
Explanation:
Rollback refers to restoring the database state to the point when the transaction was initiated.
Discuss this Question
31. The ____ command deletes the values of a specific record.
- Delete Record
- Truncate Record
- Del Record
Answer: B) Truncate Record
Explanation:
The Truncate Record command deletes the values of a specific record.
Discuss this Question
32. Binary protocol drivers utilize the default binary protocol port ____?
- 8000
- 2424
- 8182
- 2030
Answer: B) 2424
Explanation:
Binary protocol drivers utilize the default binary protocol port 2424.
Discuss this Question
33. OrientDB databases are ____ by default?
- not encrypted
- Encrypted
Answer: A) not encrypted
Explanation:
OrientDB databases are not encrypted by default.
Discuss this Question
34. OrientDB provides ____ default users by default when you create a new database.
- 3
- 4
- 5
- 6
Answer: A) 3
Explanation:
OrientDB provides three default users by default when you create a new database:
Discuss this Question
35. While the OrientDB database is offline or not in use, a ____ is conducted.
- Hot Backup
- Incremental Backup
- Full Backup
- Cold Backup
Answer: D) Cold Backup
Explanation:
While the OrientDB database is offline or not in use, a cold backup is conducted.
Discuss this Question
36. Among the Local index and Global index which of the following index is created on Multiple nodes?
- Global Index
- Local Index
Answer: A) Global Index
Explanation:
Among the Local index and Global index, the Global index is created on Multiple nodes, whereas the local index is a distributed database index that is produced on a single node.
Discuss this Question
37. In OrientDB, a ____ is a piece of code that may be performed as a single unit.
- Property
- User-defined function
- stored procedure
Answer: C) stored procedure
Explanation:
In OrientDB, a stored procedure is a piece of code that may be performed as a single unit.
Discuss this Question
38. In OrientDB, a ____ is a command that fetches data from the database depending on predefined criteria.
- Cluster
- Record
- Query
Answer: C) Query
Explanation:
In OrientDB, a query is a command that fetches data from the database depending on predefined criteria.
Discuss this Question
39. In a ____ database, data is spread across multiple servers, and each server manages a portion of the data.
- Clustered Database
- Distributed Database
Answer: B) Distributed Database
Explanation:
In a distributed database, data is spread across multiple servers, and each server manages a portion of the data.
Discuss this Question
40. In a ____ database, multiple servers work together to manage a single database.
- Clustered Database
- Distributed Database
Answer: A) Clustered Database
Explanation:
In a clustered database, multiple servers work together to manage a single database.
Discuss this Question
41. An ____ just saves the changes to the database that have occurred since the previous backup.
- Hot Backup
- Incremental Backup
- Full Backup
- Cold Backup
Answer: B) Incremental Backup
Explanation:
An incremental backup just saves the changes to the database that have occurred since the previous backup.
Discuss this Question
42. When the OrientDB database is online and in use, a ____ is conducted.
- Hot Backup
- Incremental Backup
- Full Backup
- Cold Backup
Answer: A) Hot Backup
Explanation:
When the OrientDB database is online and in use, a hot backup is conducted.
Discuss this Question
43. A ____ is a backup of the whole OrientDB database, including data and metadata.
- Hot Backup
- Incremental Backup
- Full Backup
- Cold Backup
- Snapshot Backup
Answer: C) Full Backup
Explanation:
A full backup is a backup of the whole OrientDB database, including data and metadata.
Discuss this Question
44. A ____ takes a snapshot of the database at a certain moment in time.
- Hot Backup
- Incremental Backup
- Full Backup
- Cold Backup
- Snapshot Backup
Answer: E) Snapshot Backup
Explanation:
A snapshot backup takes a snapshot of the database at a certain moment in time.
Discuss this Question
45. Is the document and record both are same?
- Yes
- No
Answer: B) No
Explanation:
In OrientDB, a document is a data structure containing one or more records, whereas a record is a single unit of data saved in a cluster.
Discuss this Question
46. Which of the following statement is true?
- MongoDB uses Document-oriented data model whereas OrientDB uses Multi-model.
- MongoDB uses multi-model data model whereas OrientDB uses Document-oriented data model
Answer: A) MongoDB uses Document-oriented data model whereas OrientDB uses Multi-model.
Explanation:
MongoDB uses Document-oriented data model whereas OrientDB uses Multi-model.
Discuss this Question
47. Which of the following organization uses OrientDB?
- Cisco System
- LG electronics
- Novatec
- All of the above
Answer: D) All of the above
Explanation:
The following organization uses OrientDB:
- Cisco System
- LG electronics
- Novatec
Discuss this Question
48. The ____ is a piece of software that allows other software to connect to and interact with the OrientDB database.
- OrientDB driver
- OrientDB Client
- OrientDB server
- OrientDB connector
Answer: D) OrientDB connector
Explanation:
The OrientDB connector is a piece of software that allows other software to connect to and interact with the OrientDB database.
Discuss this Question
49. The ____ is a software component that connects to and interacts with the OrientDB server.
- OrientDB driver
- OrientDB Client
- OrientDB server
- OrientDB connector
Answer: B) OrientDB Client
Explanation:
The OrientDB client is a software component that connects to and interacts with the OrientDB server.
Discuss this Question
50. The ____ is a software component that connects to and interacts with the OrientDB database.
- OrientDB driver
- OrientDB Client
- OrientDB server
- OrientDB connector
Answer: A) OrientDB driver
Explanation:
The OrientDB driver is a software component that connects to and interacts with the OrientDB database.
Discuss this Question