Quick Revision

GK One-Line Question & Answer

15541+ short questions with short answers, covering every category and sub-category on the site — no long articles to scroll through. Good for a fast recap before an exam, or a few minutes of daily practice.

DBMS → Relational Model 3

Which is a duplicate copy of a file program that is stored on a different storage media than the original location:
backup
click to copy
Which of the following are introduced to reduce the overheads caused by the log- based recovery?
checkpoints
click to copy
The                      requires that each transaction Ti executes in two or three different phases in its lifetime, depending on whether it is a read-only or an update transaction.
validation protocol
click to copy

DBMS → Normalization 3

Which is the duplication of computer operations and routine backups to combat any unforeseen problems:
recovery
click to copy
Which of the following protocols ensures conflict serializability and safety from deadlocks?
time-stamp ordering protocol
click to copy
                         denotes the largest timestamp of any transaction that executed write(Q) successfully.
w-timestamp(q)
click to copy

DBMS → Functional Dependency 3

Optimization basically related to the Rewrite module is termed as               
semantic query optimization
click to copy
Which refers to a property of computer to run several operation simultaneously and possible as computers await response of each other
concurrency
click to copy
The most recent version of standard SQL prescribed by the American National Standards Institute is
sql 2016
click to copy

DBMS → SQL Basics 3

Database security helps organizations to protect data from            
external users
click to copy
The          lock allows concurrent transactions to access the same row as long as they require the use of different fields within that row.
field-level
click to copy
ANSI-standard SQL allows the use of special operators in conjunction with the WHERE clause. A special operator used to check whether an attribute value is null is
is null
click to copy

DBMS → DDL Commands 2

Copying files to secondary or specific devices is known as              
backup
click to copy
Which of the following is a procedure for acquiring the necessary locks for a transaction where all necessary locks are acquired before any are released?
two phase lock
click to copy

DBMS → DML Commands 2

Which are types of recovery control techniques:
all of the mentioned
click to copy
A system is in a              state if there exists a set of transactions such that every transaction in the set is waiting for another transaction in the set.
deadlock
click to copy

DBMS → Joins 2

Which server can join the indexes when only multiple indexes combined can cover the query:
sql
click to copy
The deadlock state can be changed back to stable state by using                             statement.
rollback
click to copy

DBMS → Views 2

In concurrency control policy the lock is obtained on
entire database
click to copy
What are the ways of dealing with deadlock?
all of the mentioned
click to copy

DBMS → Indexes 2

A concurrency-control policy such as this one leads to              performance since it forces transactions to wait for preceding transactions to finish before they can start.
poor
click to copy
When transaction Ti requests a data item currently held by Tj, Ti is allowed to wait only if it has a timestamp smaller than that of Tj (that is, Ti is older than Tj). Otherwise, Ti is rolled back (dies). This is
wait-die
click to copy

DBMS → Transactions 2

                     are used to ensure that transactions access each data item in order of the transactions’          if their accesses conflict.
timestamps
click to copy
When transaction Ti requests a data item currently held by Tj, Ti is allowed to wait only if it has a timestamp larger than that of Tj (that is, Ti is younger than Tj ). Otherwise, Tj is rolled back (Tj is wounded by Ti). This is
wound-wait
click to copy

DBMS → Concurrency Control 2

In which scenario would you use the ROLLUP operator for expression or columns within a GROUP BY clause?
to create a grouping for expressions or columns specified within a group by clause in one direction, from right to left for calculating the subtotals
click to copy
The situation where the lock waits only for a specified amount of time for another lock to be released is
lock timeout
click to copy

DBMS → Deadlock 2

Which statement is true regarding external tables?
the create table as select statement can be used to unload data into regular table in the database from an external table
click to copy
The deadlock in a set of a transaction can be determined by
read-only graph
click to copy

DBMS → Database Security 2

SNAPSHOT is used for (DBA)
dynamic data replication
click to copy
A deadlock exists in the system if and only if the wait-for graph contains a                        
cycle
click to copy

DBMS → PL/SQL 2

Isolation of the transactions is ensured by
concurrency control
click to copy
                     rollback requires the system to maintain additional information about the state of all the running transactions.
partial
click to copy

DBMS → Introduction to DBMS 2

Which of the following statements is/are not true for SQL profiler?
check the performance of a stored procedure
click to copy
If a node is locked in an intention mode, explicit locking is done at a lower level of the tree. This is called
intention lock modes
click to copy

DBMS → Database Architecture 2

Which of the following is the original purpose of SQL?
all of the mentioned
click to copy
If a node is locked in                      explicit locking is being done at a lower level of the tree, but with only shared-mode locks.
intention lock modes
click to copy

DBMS → Data Models 2

SQL can be used to:
all of the mentioned
click to copy
If a node is locked in                          then explicit locking is being done at a lower level, with exclusive-mode or shared-mode locks.
intention-exclusive (ix) mode
click to copy

DBMS → ER Model 2

A lock that allows concurrent transactions to access different rows of the same table is known as a
row-level lock
click to copy
If a node is locked in                              the subtree rooted by that node is locked explicitly in shared mode, and that explicit locking is being done at a lower level with exclusive-mode locks.
shared and intention-exclusive (six) mode
click to copy