/  DBMS Miscellaneous – Quiz

This Quiz contains totally 25 Questions each carry 1 point for you.

1.What is the primary goal of Concurrency Control in a DBMS?
Improve Database Security
Minimize Disk Space
Manage Multiple Users Simultaneously
Maintain Database Integrity

Correct!

Wrong!

2.In the context of a DBMS, what is a lock-based protocol?
A mechanism for backup and recovery
A mechanism for controlling concurrent transactions
A mechanism for creating a database schema
A mechanism for searching a database

Correct!

Wrong!

3.How does a timestamp-based protocol prevent concurrency-related issues?
By locking data items
By assigning a timestamp to each transaction
By validating transactions in a queue
By creating multiple versions of data items

Correct!

Wrong!

4.In a validation-based protocol, what step happens after the 'read and execution' phase?
Locking phase
Validation phase
Write phase
Commit phase

Correct!

Wrong!

5.Sequential file organization in DBMS organizes files based on which of the following?
Search Key
Record Key
Hash Key
Primary Key

Correct!

Wrong!

6.What type of file organization allows the storage of records in no particular order?
Sequential File Organization
Heap File Organization
Hash File Organization
B+ File Organization

Correct!

Wrong!

7.In Hash File Organization, how are records stored in the file?
Sequentially
Randomly
Based on a hashing function
In hierarchical manner

Correct!

Wrong!

8.What does ISAM stand for in DBMS?
Independent Sequential Access Method
Integrated Sequential Access Method
Indexed Sequential Access Method
Internal Sequential Access Method

Correct!

Wrong!

9.The B+ tree file organization in DBMS is useful in which situation?
When data retrieval times need to be minimized
When data storage space needs to be minimized
When database transactions need to be minimized
When database security needs to be improved

Correct!

Wrong!

10.Cluster File Organization groups together records that have a(n) _______ value for certain columns.
Different
Same
Null
Non-Null

Correct!

Wrong!

11.What is the main benefit of data replication in a DBMS?
It reduces storage requirements
It reduces the cost of hardware
It improves data availability
It improves data security

Correct!

Wrong!

12.Indexing in a DBMS primarily helps to:
Secure data
Increase storage space
Decrease retrieval time
Increase processing time

Correct!

Wrong!

13.What is a deadlock in the context of a DBMS?
A situation where two or more transactions are waiting indefinitely for each other to release resources
A situation where a transaction cannot proceed because the system has run out of storage space
A situation where a transaction is repeatedly rolled back because it can't acquire the necessary locks
A situation where a transaction is unable to execute because the system has crashed

Correct!

Wrong!

14.In which file organization does the order of records not affect the performance?
Sequential File Organization
Heap File Organization
Hash File Organization
B+ File Organization

Correct!

Wrong!

15.What type of data replication involves the system maintaining multiple identical replicas of data?
Partial Replication
Full Replication
Asynchronous Replication
Synchronous Replication

Correct!

Wrong!

16.What is the purpose of a lock manager in a lock-based protocol?
It manages the allocation and deallocation of locks
It manages the distribution of data
It manages the validation of transactions
It manages the timestamping of transactions

Correct!

Wrong!

17.What type of index is created automatically when the database table is created?
Secondary Index
Clustered Index
Primary Index
Hash Index

Correct!

Wrong!

18.In ISAM, the data is stored in two parts - the data file and the ________.
Hash file
Index file
Lock file
Control file

Correct!

Wrong!

19.What is a validation-based protocol also known as?
Lock-based protocol
Optimistic concurrency control
Pessimistic concurrency control
Timestamp-based protocol

Correct!

Wrong!

20.What is a disadvantage of sequential file organization?
It is slow for read operations
It is slow for insert operations
It does not support indexing
It requires a large amount of storage

Correct!

Wrong!

21.What is the primary use of a B+ tree in a DBMS?
To optimize data replication
To optimize transaction control
To optimize data search and retrieval
To optimize data encryption

Correct!

Wrong!

22.What are the two phases of the two-phase locking protocol?
Read phase and Write phase
Validation phase and Commit phase
Growing phase and Shrinking phase
Preparation phase and Execution phase

Correct!

Wrong!

23.In which file organization are data blocks stored in a B+ tree structure for efficient searching?
Sequential File Organization
Heap File Organization
Hash File Organization
B+ Tree File Organization

Correct!

Wrong!

24.What type of file organization uses a hash function to map records to their storage locations?
Sequential File Organization
Heap File Organization
Hash File Organization
B+ Tree File Organization

Correct!

Wrong!

25.What is the key benefit of using data replication in a DBMS?
Improved data consistency
Reduced data redundancy
Improved data reliability and availability
Reduced data storage requirements

Correct!

Wrong!

Share the quiz to show your results !

Subscribe to see your results

Ignore & go to results

DBMS Miscellaneous – Quiz

You got %%score%% of %%total%% right

%%description%%

%%description%%

Loading...