NEW
Font size
WorksheetsUnit-IV
Total questions: 60
Worksheet time: 43mins
The scenario in which one failure leads to a set of transaction rollbacks is called as
Partial schedule
Complete schedule
Dependent schedule
State true or false: Every cascadeless schedule is also irrecoverable
True
False
Which of the following are the disadvantages of transaction concurrency?
Decreased throughput
Consistency
Decreased utilization
Which of the following is a transaction isolation?
Repeatable read
Serializable
Read committed
The conditions for view serializability
Initial read
Updated read
All the above
When is a timestamp created for a transaction?
When execution is completed
When execution begins
When execution is taking place
In ___________each transaction gets its copy version of the database
Snapshot
Lock based
Timestamp
What is the advantage of locking?
control concurrency
Is not atomic
Is not durable
A transaction has __________ lock, it can read but cannot write on the item
Exclusive mode
Read only mode
Shared mode
A transaction has ________ lock, it can both read and write on the item
Shared mode
Exclusive mode
Read only mode
The common technique for identifying database modification is
List
Queue
Log
A ________ in log record describes a single database write
Update
Insert
Delete
A transaction modifies the database only when it has committed uses a _______ modification
technique
Deferred
Immediate
None of the mentioned
X and Y are _________ if they are operations by different transactions on the same data item,
and at least one of them is a write operation.
Overwriting
Conflicting
Isolated
A schedule X is __________ if it is conflict equivalent to a serial schedule X.
Conflict serializable
Conflicting
Non serializable
Which of the following is the most cheap method?
Timestamping
Plain locking
Twophase locking
If a transaction can be granted a lock on an item even in the presence of another lock, then
the two locks are said to be ________
Concurrent
Compatible
Executable
The __________ indicates when a transaction can lock and unlock data items
Unlocking protocol
Locking protocol
Granting protocol
If a transaction never makes progress, then the transaction is said to be ____________
Overloaded
Starved
Committed
A transaction obtained locks but did not release any locks in
Shrinking phase
Growing phase
Deadlock phase
Deadlock phase
Atomicity
Isomorphic
Durability
Which of the following systems is responsible for ensuring availability?
Recovery system
Atomic system
Concurrency control system
A transaction that has been completed successfully is called as _______
Active transaction
Partially committed transaction
Committed transaction
A system is not in a _______ state if there exists a set of transactions in which every
transaction executes
Deadlock
Isolated
Starved
Which of the following is a method in deadlock handling?
Deadlock prevention
Deadlock detection
All
Find the minimum number of keys in leaf nodes of B+ tree if it contains maximum 9 nodes
9
4
7
In which tree disk access is much slower than memory access
B
hash
B+
Find the maximum number of keys in B+ tree with orber 2 and height is 3
2
6
7
In ........ tree both leave node and internal node have same value used to locate the individual
record
B+ tree
hash tree
b tree
In multilevel indexes, the primary index is in
zero level
first level
third level
choose the correct option about indexing
indexes enhance the performance even if the table is updated frequently
it makes harder for sql server engines to work to work on index which have large keys
it doesn’t make harder for sql server engines to work to work on index which have large
keys
....... time is to find an item and delete it as well as update the index structure.
deletion
access
insertion
which method is used to organize a file in multiple ways
key
hash
index
secondary index is also named as
ternary index
Nonclustering index
hash index
A relation with more than one record with unique search key is a
Non unique search key
Unique search key
secondary key
------ is good for dynamic databases where data grows and shrinks frequently
dynamic hashing
static hashing
open hashing
Choose the various methods for collision resolution
linear hashing and chaining
open addressing, multiple hashing and chaining
open addressing and chaining
If an index is _________________ the metadata and statistics continue to exists
deleting
dropping
disabling
The Classification of security levels
Secret, Confidential
Top secret, secret, confidential, unclassified
Confidential, unclassified
Personal medical records should not be made public is
Legal issue
System-related issue
Policy issue
A security function handled at DBMS level is
System-related issue
Policy issue
Legal issue
This database security mechanism grants privileges to users
Discretionary access control
Mandatory Access control
Token based access control
The faculty and student role are given for a DBMS system by
Role based access control
Token based access control
Mandatory Access control
Which element secures data from modification?
Confidentiality
Integrity
Accountability
Which element secures data from disclosure to unauthorized access?
Confidentiality
Integrity
Availability
Which element secures data from denial of service attack?
Integrity
Confidentiality
Availability
Which of the following are data base security mechanism?
Inference control, Access control, Flow control
Inference control, Access control, Flow control, Encryption
Access control, Inference control
The user account creation in database system is done by
Database Administrator
Datawarehouse keeper
Database Administrator
The granting and revocation of privileges in database system is done by
Data Analyst
Database Administrator
Data module coordinator
Database audit examines
Logs
Reviews
Traces
The CDATA stands for
Concurrent Data
Character Data
Connectivity Data
XML files are processed by
Compiler
Interpreter
Parser
The prevention of individual's data from retrieval is supported by
Statistical database
Distributed systems
Centralized systems
Symmetric algorithms are
Public key algorithm
Private key algorithm
None of the above
Asymmetric algorithms are
Public key algorithm
Private key algorithm
None of the above
Conversion of plaintext into cipher text is
Encryption
Decryption
Stegnography
The three main aspects of security
Confidentiality, Integrity, Availability
Confidentiality, Integrity, Authorization
Confidentiality, Integrity, Accountability
The disadvantage of distributed database is
Backup
Data integrity
Fault tolerance
Hiding an image into plain text is
Encoding
Encryption
Stegnography
The use of classification attribute is
Mutli level security
Single level security
Privilege granting
