Google News
logo
OrientDB - Quiz(MCQ)

OrientDB : OrientDB is the first Multi-Model Open Source NoSQL DBMS that combines the power of graphs and the flexibility of documents into one scalable, high-performance operational database.

Gone are the days where your database only supports a single data model. As a direct response to polyglot persistence, multi-model databases acknowledge the need for multiple data models, combining them to reduce operational complexity and maintain data consistency. Though graph databases have grown in popularity, most NoSQL products are still used to provide scalability to applications sitting on a relational DBMS. Advanced 2nd generation NoSQL products like OrientDB are the future: providing more functionality and flexibility, while being powerful enough to replace your operational DBMS.

A)
A document database
B)
A NoSQL graph database
C)
A key-value store
D)
A relational database management system

Correct Answer :   A NoSQL graph database


Explanation : OrientDB is the first Multi-Model Open Source NoSQL DBMS that combines the power of graphs and the flexibility of documents into one scalable, high-performance operational database.

A)
SQL
B)
SPARQL
C)
Cypher
D)
Gremlin

Correct Answer :   SQL


Explanation : OrientDB supports an SQL-like query language called OrientSQL, which allows users to retrieve data from the database. However, it also supports other query languages such as Gremlin, Cypher, and SPARQL.

A)
Db2
B)
Tiny DB
C)
Orient DB
D)
Apache Derby

Correct Answer :   Orient DB


Explanation : Orient DB is the first Multi-Model Open Source NoSQL DBMS.

A)
C
B)
Java
C)
Ruby
D)
Erlang

Correct Answer :   Java


Explanation : Orient DB is written in Java.

A)
B-tree
B)
LSM-trie
C)
LSM-tree
D)
LSM-tree with tiered compaction

Correct Answer :   LSM-tree with tiered compaction


Explanation : OrientDB uses LSM-tree (Log-Structured Merge Tree) with tiered compaction as its storage engine. It is a highly optimized and scalable data structure that allows for efficient storage and retrieval of data.

A)
2
B)
3
C)
4
D)
5

Correct Answer :   2


Explanation : Orient DB is available in 2 editions :

* Community edition
* Enterprise edition

A)
Batch Mode
B)
Serial Mode
C)
Interactive Mode
D)
None of the above

Correct Answer :   Interactive Mode


Explanation : The default console mode in OrientDB is interactive.

A)
Date
B)
Float
C)
Integer
D)
Timestamp with time zone

Correct Answer :   Timestamp with time zone


Explanation : OrientDB does not support the data type “Timestamp with time zone”. However, it supports other data types such as Integer, Float, Date, and Time.

A)
Yes
B)
No
C)
Can Not Say
D)
None of the above

Correct Answer :   No


Explanation : No, classes are not the same.

A)
OrientDB driver
B)
OrientDB server
C)
OrientDB Client
D)
OrientDB connector

Correct Answer :   OrientDB driver


Explanation : The OrientDB driver is a software component that connects to and interacts with the OrientDB database.

A)
OrientDB driver
B)
OrientDB Client
C)
OrientDB server
D)
OrientDB connector

Correct Answer :   OrientDB Client


Explanation : The OrientDB client is a software component that connects to and interacts with the OrientDB server.

A)
OrientDB driver
B)
OrientDB server
C)
OrientDB Client
D)
OrientDB connector

Correct Answer :   OrientDB connector


Explanation : The OrientDB connector is a piece of software that allows other software to connect to and interact with the OrientDB database.

A)
Log
B)
Session
C)
Record
D)
None of the above

Correct Answer :   Record


Explanation : A Record is the smallest unit that may be loaded from and placed into the database.

A)
2
B)
3
C)
4
D)
5

Correct Answer :   4


Explanation : Records come in four types:

* Documents
* Blobs
* Vertices
* Edges

A)
1433
B)
1521
C)
1752
D)
2480

Correct Answer :   2480


Explanation : The default port used by OrientDB is 2480. However, it can be configured to use other ports as well.

A)
Sharding
B)
Replication
C)
ACID transactions
D)
All of the above

Correct Answer :   All of the above


Explanation : OrientDB supports ACID transactions, sharding, and replication, which makes it a highly scalable and reliable database system.

A)
To store data
B)
To optimize query performance
C)
To distribute data across multiple servers
D)
To manage user authentication

Correct Answer :   To distribute data across multiple servers


Explanation : A cluster in OrientDB is a group of servers that work together to distribute data across them. It helps to improve the scalability and availability of the database system.

A)
R-tree index
B)
Hash index
C)
B-tree index
D)
Full-text index

Correct Answer :   R-tree index


Explanation : OrientDB supports various index types such as Hash index, B-tree index, Full-text index, and Spatial index. However, it does not support R-tree index.

A)
True
B)
False
C)
Can Not Say
D)
None of the above

Correct Answer :   True


Explanation : Binary data may also be loaded and stored using OrientDB.

A)
Face
B)
Vertex
C)
Edge
D)
None of the above

Correct Answer :   Vertex


Explanation : The most fundamental unit of data in graph databases is the node, which is known as a vertex in OrientDB.

A)
Face
B)
Vertex
C)
Edge
D)
None of the above

Correct Answer :   Edge


Explanation : An arc is a link between two nodes in a graph database, which is called an edge in OrientDB.

A)
Novatec
B)
Cisco System
C)
LG electronics
D)
All of the above

Correct Answer :   All of the above


Explanation : The following organization uses OrientDB :

* Cisco System
* LG electronics
* Novatec

A)
Hot Backup
B)
Snapshot Backup
C)
Cold Backup
D)
Incremental Backup

Correct Answer :   Snapshot Backup


Explanation : A snapshot backup takes a snapshot of the database at a certain moment in time.

A)
Full Backup
B)
Cold Backup
C)
Snapshot Backup
D)
Incremental Backup

Correct Answer :   Full Backup


Explanation : A full backup is a backup of the whole OrientDB database, including data and metadata.

A)
Cold Backup
B)
Full Backup
C)
Hot Backup
D)
Incremental Backup

Correct Answer :   Hot Backup


Explanation : When the OrientDB database is online and in use, a hot backup is conducted.

A)
Hot Backup
B)
Cold Backup
C)
Full Backup
D)
Incremental Backup

Correct Answer :   Incremental Backup


Explanation : An incremental backup just saves the changes to the database that have occurred since the previous backup.

A)
Clustered Database
B)
Distributed Database
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Clustered Database


Explanation : In a clustered database, multiple servers work together to manage a single database.

A)
2
B)
3
C)
4
D)
5

Correct Answer :   2


Explanation : Edges can only link two vertices and are bidirectional.

A)
Schema Full
B)
Schema Less
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)


Explanation : Classes can be schema-less, schema-full, or a combination of the two.

A)
Yes
B)
No
C)
Can Not Say
D)
None of the above

Correct Answer :   Yes


Explanation : Yes, the Abstract class feature is available in OrientDB.

A)
LDAP
B)
OAuth
C)
Internal
D)
Kerberos

Correct Answer :   OAuth


Explanation : OrientDB supports various authentication methods such as Internal, LDAP, and Kerberos. However, it does not support OAuth authentication.

A)
Easier scalability
B)
Better performance
C)
Flexible data modeling
D)
All of the above

Correct Answer :   All of the above


Explanation : OrientDB provides a flexible data modeling approach, which allows users to model their data according to their requirements. It also offers better performance and easier scalability as compared to traditional relational databases.

A)
Serializable
B)
Repeatable read
C)
Read committed
D)
None of the above

Correct Answer :   Read committed


Explanation : The default isolation level used by OrientDB is Read committed. However, users can configure the isolation level according to their requirements.

A)
Query builder
B)
Data visualization
C)
Performance monitoring
D)
All of the above

Correct Answer :   All of the above


Explanation : OrientDB Studio is a web-based tool that provides various functionalities such as data visualization, query builder, performance monitoring, and many others.

A)
Higher cost
B)
Limited community support
C)
Steep learning curve
D)
All of the above

Correct Answer :   Steep learning curve


Explanation : OrientDB has a steeper learning curve as compared to traditional relational databases, which can make it difficult for new users to get started with it.

A)
To perform calculations on data
B)
To define the structure of data
C)
To manage the relationship between data
D)
None of the above

Correct Answer :   To define the structure of data


Explanation : A class in OrientDB is used to define the structure of data that is stored in the database. It defines the properties of data, its data types, and other attributes.

A)
CSV
B)
XML
C)
JSON
D)
YAML

Correct Answer :   YAML


Explanation : OrientDB supports various data formats such as JSON, XML, and CSV. However, it does not support YAML.

A)
To represent a data object
B)
To perform calculations on data
C)
To manage the relationship between data objects
D)
None of the above

Correct Answer :   To represent a data object


Explanation : A vertex in OrientDB is used to represent a data object in a graph structure. It can have properties and relationships with other vertices or edges.

A)
Groups
B)
Tables
C)
Clusters
D)
Chambers

Correct Answer :   Clusters


Explanation : Clusters give physical or in-memory space for OrientDB to store data.

A)
2
B)
3
C)
4
D)
5

Correct Answer :   2


Explanation : OrientDB allows for two types of relationships: referenced and embedded.

A)
Referenced
B)
Embedded
C)
Can Not Say
D)
None of the above

Correct Answer :   Embedded


Explanation : Embedded relationships are stronger than referenced ones.

42 .
Which console mode accepts commands as command-line arguments or as a text file and executes the commands in that file in sequence?
A)
 Serial Mode
B)
Interactive Mode
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)


Explaination : 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.

A)
Class
B)
Classes
C)
Browse Class
D)
Browse Classes

Correct Answer :   Classes


Explanation : This shows all classes that have been specified in the current database.

A)
Clustered Database
B)
Distributed Database
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Distributed Database


Explanation : In a distributed database, data is spread across multiple servers, and each server manages a portion of the data.

A)
Query
B)
Cluster
C)
Record
D)
None of the above

Correct Answer :   Query


Explanation : In OrientDB, a query is a command that fetches data from the database depending on predefined criteria.

A)
Property
B)
User-defined function
C)
stored procedure
D)
None of the above

Correct Answer :   stored procedure


Explanation : In OrientDB, a stored procedure is a piece of code that may be performed as a single unit.

A)
Global Index
B)
Local Index
C)
Can Not Say
D)
None of the above

Correct Answer :   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.

A)
Status
B)
Cluster Status
C)
Browse Cluster status
D)
None of the above

Correct Answer :   Cluster Status


Explanation : The status of the cluster in distributed configuration is displayed by the Cluster status command.

A)
Exit
B)
End
C)
Close
D)
Disconnect

Correct Answer :   Disconnect


Explanation : The disconnect command, Closes the database that is presently open.

50 .
Which of the following statements is true in OrientDB?
A)
ACID transactions are not supported by MongoDB but are supported by OrientDB.
B)
ACID transactions are supported by MongoDB but are not supported by OrientDB.
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   ACID transactions are not supported by MongoDB but are supported by OrientDB.

51 .
Which of the following command is used to create a database in OrientDB?
A)
Create db<databasename>
B)
Create new db<databasename>
C)
Create database<databasename>
D)
Create new database<databasename>

Correct Answer :   Create database<databasename>


Explaination : Create database<databasename> command is used to create a database in OrientDB.

A)
Caching
B)
Sharding
C)
Clustering
D)
None of the above

Correct Answer :   Sharding


Explanation : Sharding is the process of splitting a database into smaller, more manageable components known as shards in OrientDB.

A)
Full Backup
B)
Hot Backup
C)
Cold Backup
D)
Incremental Backup

Correct Answer :   Cold Backup


Explanation : While the OrientDB database is offline or not in use, a cold backup is conducted.

A)
3
B)
4
C)
5
D)
6

Correct Answer :   3


Explanation : OrientDB provides three default users by default when you create a new database:

* Admin
* Writer
* Reader

A)
Encrypted
B)
not encrypted
C)
Can Not Say
D)
None of the above

Correct Answer :   not encrypted


Explanation : OrientDB databases are not encrypted by default.

56 .
In OrientDB, an ____ is a data structure that enables quick lookups of records based on a certain field or combination of fields.
A)
Set
B)
List
C)
Map
D)
Index

Correct Answer :   Index


Explaination : In OrientDB, an index is a data structure that enables quick lookups of records based on a certain field or combination of fields.

A)
Unique
B)
non-unique
C)
Spatial indexes
D)
All of the above

Correct Answer :   All of the above


Explanation : Indexes supported by OrientDB include unique, non-unique, full-text, and spatial indexes.

58 .
____ in OrientDB refers to the database's capacity to manage rising volumes of data and traffic by adding more resources.
A)
Scaling
B)
Sharding
C)
Expansion
D)
None of the above

Correct Answer :   Scaling


Explaination : Scaling in OrientDB refers to the database's capacity to manage rising volumes of data and traffic by adding more resources.

A)
Directed
B)
Weighted
C)
Undirected
D)
Bi-directional

Correct Answer :   Undirected


Explanation : OrientDB supports various edge types such as Directed, Bi-directional, and Weighted. However, it does not support Undirected edges.

A)
Improved scalability
B)
Improved performance
C)
Improved fault tolerance
D)
All of the above

Correct Answer :   All of the above


Explanation : OrientDB is designed to work in a distributed environment, which offers several benefits such as improved scalability, fault tolerance, and performance.

A)
Improved query performance
B)
Improved data security
C)
Improved data retrieval speed
D)
All of the above

Correct Answer :   Improved query performance


Explanation : OrientDB’s indexing feature improves query performance by reducing the time required to search for data in the database.

A)
Improved query performance
B)
Faster application development
C)
Easy integration with existing systems
D)
All of the above

Correct Answer :   All of the above


Explanation : OrientDB’s SQL support allows users to easily integrate with existing systems, faster application development, and improved query performance.

A)
To perform calculations on data
B)
To manage the relationship between data
C)
To perform actions on data before or after an operation
D)
None of the above

Correct Answer :   To perform actions on data before or after an operation


Explanation : A trigger in OrientDB is used to perform actions on data before or after an operation such as insert, update, or delete.

A)
Improved data privacy
B)
Improved data security
C)
Improved access control
D)
All of the above

Correct Answer :   All of the above


Explanation : OrientDB’s security features offer several benefits such as improved data security, privacy, and access control.

A)
Java
B)
Python
C)
JavaScript
D)
None of the above

Correct Answer :   None of the above


Explanation : OrientDB’s Gremlin query language supports various programming languages such as Java, Python, and JavaScript.

A)
Real Index
B)
Unique Index
C)
Full-time index
D)
None of the above

Correct Answer :   Full-time index


Explanation : In OrientDB, a full-text index is an index that allows for efficient searching of text-based data.

A)
RollBack
B)
Commit
C)
Savepoint
D)
None of the above

Correct Answer :   Commit


Explanation : Commit refers to the process of completing a transaction by storing all changes to the database.

A)
RollBack
B)
Commit
C)
Savepoint
D)
None of the above

Correct Answer :   RollBack


Explanation : Rollback refers to restoring the database state to the point when the transaction was initiated.

A)
2030
B)
2424
C)
8000
D)
8182

Correct Answer :   2424


Explanation : Binary protocol drivers utilize the default binary protocol port 2424.

A)
Del Record
B)
Delete Record
C)
Truncate Record
D)
None of the above

Correct Answer :   Truncate Record


Explanation : The Truncate Record command deletes the values of a specific record.

A)
Date
B)
String
C)
Binary
D)
Currency

Correct Answer :   Currency


Explanation : OrientDB supports various property types such as String, Date, and Binary. However, it does not support the Currency property type.

A)
Improved query performance
B)
Faster application development
C)
Easy integration with existing systems
D)
None of the above

Correct Answer :   Easy integration with existing systems


Explanation : OrientDB’s RESTful API allows users to easily integrate with existing systems and services.

A)
Higher cost
B)
Higher complexity
C)
Lower fault tolerance
D)
All of the above

Correct Answer :   Higher complexity


Explanation : Using OrientDB’s graph database feature can be more complex as compared to using its other features.

A)
Improved data modeling
B)
Improved query performance
C)
Improved data retrieval speed
D)
All of the above

Correct Answer :   Improved data retrieval speed


Explanation : OrientDB’s spatial indexing feature allows users to improve data retrieval speed by creating indexes on spatial data.

A)
Traversal
B)
Pattern matching
C)
Vertex-centric indexing
D)
Distributed transactions

Correct Answer :   Distributed transactions


Explanation : OrientDB supports various graph database features such as Vertex-centric indexing, Pattern matching, and Traversal. However, it does not support Distributed transactions feature in its graph database.

A)
Higher cost
B)
Higher complexity
C)
Lower fault tolerance
D)
All of the above

Correct Answer :   Higher complexity


Explanation : Using OrientDB’s distributed architecture can be more complex as compared to using its other features.

A)
Network
B)
Disk
C)
Memory
D)
Distributed

Correct Answer :   Network


Explanation : OrientDB supports various storage types such as Memory, Disk, and Distributed. However, it does not support Network storage type.

A)
Linear
B)
Synchronous
C)
Asynchronous
D)
Semi-synchronous

Correct Answer :   Linear


Explanation : OrientDB supports various replication modes such as Synchronous, Asynchronous, and Semi-synchronous. However, it does not support Linear replication mode.

A)
Hash
B)
Linear
C)
Random
D)
Round-robin

Correct Answer :   Linear


Explanation : OrientDB supports various sharding algorithms such as Round-robin, Hash, and Random. However, it does not support the Linear sharding algorithm.

A)
Inner join
B)
Left outer join
C)
Full outer join
D)
Right outer join

Correct Answer :   Full outer join


Explanation : OrientDB’s SQL-like query language supports various join types such as Inner join, Left outer join, and Right outer join. However, it does not support Full outer join.

A)
Unique
B)
Not null
C)
Primary key
D)
Foreign key

Correct Answer :   Foreign key


Explanation : OrientDB supports various constraint types such as Unique, Not null, and Primary key. However, it does not support Foreign key constraints.

A)
Higher cost
B)
Higher complexity
C)
Lower fault tolerance
D)
All of the above

Correct Answer :   Higher complexity


Explanation : Using OrientDB’s indexing feature can be more complex as compared to using its other features.

A)
Improved scalability
B)
Improved fault tolerance
C)
Improved query performance
D)
All of the above

Correct Answer :   All of the above


Explanation : OrientDB’s sharding feature offers several benefits such as improved scalability, fault tolerance, and query performance.