wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

20764 - SQL - Mod 5 and 6

Total questions: 18

Worksheet time: 10mins

Name
Class
Date
1.

What kind of database might be a good candidate for a full backup strategy?

a)

A big database that can be backed up quickly.

b)

A small database that can be backed up quickly.

c)

A medium database that can be backed up quickly.

d)

None of the them

2.

SQL Server has three database recovery models. Match the following recovery model with its characteristics - Simple recovery model

a)

This model requires log backups for manageability and can enhance the performance of bulk copy operations.

b)

This model requires log backups for manageability and avoids data loss due to a damaged or missing data file.

c)

This model does not permit or require log backups and automatically truncates the log to keep space requirements small.

3.

SQL Server has three database recovery models. Match the following recovery model with its characteristics - Full recovery model

a)

This model requires log backups for manageability and can enhance the performance of bulk copy operations.

b)

This model requires log backups for manageability and avoids data loss due to a damaged or missing data file.

c)

This model does not permit or require log backups and automatically truncates the log to keep space requirements small.

4.

SQL Server has three database recovery models. Match the following recovery model with its characteristics - Bulk-logged recovery model

a)

This model requires log backups for manageability and can enhance the performance of bulk copy operations.

b)

This model requires log backups for manageability and avoids data loss due to a damaged or missing data file.

c)

This model does not permit or require log backups and automatically truncates the log to keep space requirements small.

5.

_______________________ occur in the background to meet the upper time limit suggested by the recovery interval server configuration option.

a)

Automatic checkpoints

b)

Manual checkpoints

c)

Indirect checkpoints

d)

Internal checkpoints

6.

A full backup of a database includes the data files and the active part of the transaction log. The first step in the backup is that a CHECKPOINT operation is performed. True or false?

a)

True

b)

False

7.

A backup strategy that involves transaction log backups must be combined with a _____________ or a strategy that combines the use of full and differential database backups.

a)

Partial database strategy

b)

Differential database strategy

c)

Transaction log strategy

d)

Full database strategy

8.

What are the benefits of backing up to Microsoft Azure Blob?

(Choose TWO).

a)

Limited storage for your backups.

b)

Offsite backup storage with the need for tapes and transportation.

c)

No backup hardware to purchase or maintain.

d)

Offsite backups are available for restore instantly without the need for tape retrieval.

e)

Backup hardware to purchase or maintain.

9.

The most important aspect of creating a backup strategy is that it must not be designed in response to the business requirements and strategy.

a)

True

b)

False

10.

What are the unique features of transaction log restores?

a)

Point-in-time recovery.

b)

The ability to restore up to the point of failure if only data files are corrupt.

c)

Both of them.

d)

None of them.

11.

Which of the following are benefits of compressing backups? (Choose TWO).

a)

Reduces size of backup on device

b)

Decreases I/O requirements

c)

Reduces I/O requirements

d)

Decreases CPU usage

e)

Decreases speed of backup and restore

12.

A full database backup will back up all of the data pages in the database and also saves the active portion of the transaction log. True or false?

a)

True

b)

False

13.

A ____________ backs up only the primary filegroup and filegroups that are set to read-write.

a)

Partial backup

b)

File backup

c)

Filegroup backup

d)

All of the them

14.

Which of the following backup performs the following SQL command?

BACKUP DATABASE AdventureWorks

TO DISK = 'D:\Backups\AW_Copy.bak'

WITH COPY_ONLY, INIT;

a)

    Compressing backup

b)

Encrypting backup

c)

Decrypting backup

d)

Copy-only backup

15.

A single backup is called a backup set, and is written to a media set, which can contain up to ______ backup devices.

a)

32

b)

16

c)

64

d)

128

16.

You can find information about a specific media set by executing the RESTORE statement. Match the following: RESTORE LABELONLY

a)

Returns a list of data and log files contained in a backup set.

b)

Returns information about the backup media on a specified backup device.

c)

Returns all the backup header information for all backup sets on a particular backup device.

17.

You can find information about a specific media set by executing the RESTORE statement. Match the following: RESTORE HEADERONLY

a)

Returns a list of data and log files contained in a backup set.

b)

Returns information about the backup media on a specified backup device.

c)

Returns all the backup header information for all backup sets on a particular backup device.

18.

You can find information about a specific media set by executing the RESTORE statement. Match the following: RESTORE FILELISTONLY       

a)

Returns a list of data and log files contained in a backup set.

b)

Returns information about the backup media on a specified backup device.

c)

Returns all the backup header information for all backup sets on a particular backup device.