Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MS SQL SERVER - Day 9

Total questions: 13

Worksheet time: 7mins

Name
Class
Date
1.

________ is a set of operations performed so all operations are guaranteed to succeed or fail as one unit.

a)

Query

b)

Table

c)

Transaction

d)

Database

2.

A transaction can either _____

a)

Be fully completed

b)

Not completed

c)

partialy completed

d)

All of the above

3.

When you use transactions, you put locks on data that is

pending for _____change to the database.

a)

Temporary

b)

Permanent

c)

Nullifying

d)

All of the above

4.

You could lock anything from a single row up to the entire

database.

a)

TRUE

b)

FALSE

5.

A transaction is characterized by four properties,

they are

a)

Isolation

b)

Consistency

c)

Durability

d)

Atomicity

e)

Commit

6.

A transaction is ______ if it's regarded as a single action rather than a collection of separate operations.

a)

Isolation

b)

Consistency

c)

Durability

d)

Atomicity

7.

The transaction should leave the database in a

_____ state, whether or not it completed successfully.

a)

Isolation

b)

Consistency

c)

Durability

d)

Atomicity

8.

Data modifications that occur within a successful transaction are kept permanently within the system regardless of what else occurs. Transaction logs are maintained so that should a failure occur the database can be restored to its original state before the failure

a)

Isolation

b)

Consistency

c)

Durability

d)

Atomicity

9.

Every transaction has a well-defined boundary; that is, it is isolated from another transaction. One transaction shouldn't affect other transactions running at the same time.

a)

Isolation

b)

Consistency

c)

Durability

d)

Atomicity

10.

Identify Transact-SQL statements

a)

BEGIN TRANSACTION

b)

ROLLBACK WORK

c)

SET IMPLICIT_TRANSACTIONS

d)

All of the above

11.

_____________those in which you explicitly control

when the transaction begins and when it ends.

a)

Implicit Transaction

b)

Explicit Transaction

c)

Autocommit

d)

None of the above

12.

When you connect to a database using SQL Server

Management Studio and execute a DML query, the changes are automatically saved. This is known as____

a)

Implicit Transaction

b)

Explicit Transaction

c)

Autocommit

d)

None of the above

13.

_________mode is the default transaction management

mode of SQL Server.

a)

Implicit Transaction

b)

Explicit Transaction

c)

Autocommit

d)

None of the above