SQL Server Admin Final Review

0.0(0)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/132

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

133 Terms

1
New cards

Which is not a database property?

Rows in a table must have a particular order.

2
New cards

SQL Servers flavor of SQL is:

Transact SQL

3
New cards

What is DML?

Data Manipulation Language

4
New cards

SQL is:

Structured Query Language

5
New cards

What feature of virtualization software allows you to revert to a previous point in time in the event you make an unrecoverable error?

snapshots

6
New cards

What type of Windows Server should you NOT install SQL Server for security reasons?

domain controller

7
New cards

Mixed Mode allows for:

Windows and SQL users to log in

8
New cards

Which tool in Windows Server provides a one-stop management interface for querying server status and changing roles and features?

Server Manager

9
New cards

Which of the following ultimately determines which SQL Server edition is most suited for a particular application?

business requirements

10
New cards

SQL Server 2012 is only available in 64-bit versions.

False

11
New cards

What feature of SQL Server provides high end datacenter capabilities with fast performance, unlimited virtualization, and end to end business intelligence for a production environment?

Enterprise

12
New cards

Which of the following is NOT a recommended minimum requirement for running SQL Server 2019 Standard?

500 MHz processor

13
New cards

SQL Server 2019 can be installed on a 32 bit system.

False

14
New cards

Which of the following is an edition of SQL Server ?

Enterprise

15
New cards

Which of the following is the core component within a database that control data storage and access requests from client applications?

database engine

16
New cards

You can install SQL Server 2019 on

All the above (Windows, Linux, Mac)

17
New cards

A common reason that SQL Server installation might fail is because the Windows OS is not up to date with service packs or security updates.

True

18
New cards

What are the SQL Server Authentication modes?

Windows, Mixed mode

19
New cards

To which section of Server Manager would you go to view the event log or run device manager?

Diagnostics

20
New cards

Log files

should not be stored on the same disk as the data files

21
New cards

The primary purpose of a database is to organize and store data in a secure manner.

True

22
New cards

Which of the following is true about the Autogrowth setting?

you should configure it so that file growth occurs infrequently

23
New cards

The master system database stores a database template that is used as a blueprint when creating a new user database.

False

24
New cards

Which of the following is a way of organizing data, with defined rules for storing, manipulating, and retrieving data?

logical structure

25
New cards

Which system database is recreated each time SQL Server starts?

tempdb

26
New cards

Which of the following is true about the model database template?

new databases will inherit settings from it

27
New cards

The two main physical file types in an SQL Server database are data files and log files.

True

28
New cards

Data is stored in a _________.

Page

29
New cards

Since it is easy to make configuration changes after a database is created, it's best to get the database created and make changes as necessary afterward.

False

30
New cards

Which system database stores information related to jobs, schedules, and database backups?

msdb

31
New cards

Which of the following is true about log files?

they aid in database roll back

32
New cards

Which of the following is a file extension used in the physical structure of a SQL database?

.ldf

33
New cards

Which system database stores information on the structure of other databases and their components?

master

34
New cards

Which of the following is NOT a system database on a SQL Server system?

directory

35
New cards

Which tool allows you to create SQL queries to be executed against a database?

Query Editor

36
New cards

Data Discovery and Classification was introduced in:

SSMS 17.5

37
New cards

Which of the following is true about the physical file structure of a SQL Server database?

it must have at least one log and one data file

38
New cards

Always encrypted encrypts data at rest only.

False

39
New cards

Which of the following is NOT true about roles?

the scope of a role is confined to each table in a database

40
New cards

When is the Service Master Key created?

When the database engine is installed

41
New cards

Which term is best described as a way to group together users for the purposes of managing database permissions?

role

42
New cards

Which of the following is NOT a type of security principal that may request access to a SQL server instance?

Windows contact

43
New cards

Which of the following is an authentication mode supported by SQL Server ?

Mixed authentication mode

44
New cards

Which action does a user perform that requires the user to provide credentials?

system logon

45
New cards

Asymmetric keys__________?

Use both a public key and a private key to encrypt and decrypt data

46
New cards

Which default account is enabled when SQL Server authentication is enabled using mixed mode?

sa

47
New cards

Which predefined server-level role allows a user to create or alter any database?

dbcreator

48
New cards

Security principals can be either users or groups.

True

49
New cards

Encryption does not prevent data loss, but it can lessen the impact of data loss.

True

50
New cards

Which environments must use SQL Server authentication because Windows authentication cannot be used?

Non windows users

51
New cards

What should you reduce in order to limit the number of security vulnerabilities in a system?

surface area

52
New cards

Which of the following is Not involved in Encryption?

Instance Master Key

53
New cards

Which of the following is true about asymmetric encryption algorithms?

the performance is slower than with symmetric algorithms

54
New cards

Which type of encryption uses public and private keys?

asymmetric

55
New cards

Which of the following is another term for the layered security model?

defense-in-depth

56
New cards

Which of the following is true about database access control?

to access a database the SQL Server login must be mapped to a database user

57
New cards

All server-level principals have access to the SQL databases.

False

58
New cards

Which of the following is true about database permissions?

permissions can be granted on a schema

59
New cards

Which of the following is NOT an action against a database object that requires a permission?

logging in to SQL Server

60
New cards

Two methods of data encryption are Transparent Data Encryption and Always Encrypted.

True

61
New cards

What SQL function encrypts data using a key that has been registered with the database?

EncryptByKey

62
New cards

Which of the following is a reason that Windows authentication is considered more secure than combining Windows and SQL Server authentication.

multiple sets of credentials are not required

63
New cards

The AwlaysOn capabilities of SQL Server effectively replace the need to perform traditional backups.

False

64
New cards

How are full and differential database backups used?

differential backups are usually performed more often than full backups

65
New cards

Which category of risk has the highest probability of occurrence?

user error

66
New cards

Which of the following is NOT a commonly used type of backup plan?

Single transaction log backup plus simple recovery model

67
New cards

Transaction logs are required in the event that a database needs to be restored back to a specific point in time.

True

68
New cards

Which of the following is true about the recovery point objective?

the recovery point objective is expressed as a time frame

69
New cards

Which of the following is true about backup sets?

a backup device references a physical location where backup sets are stored

70
New cards

Which backup scheme reduces the amount of downtime to perform a restore but creates additional IT management and physical resource overhead?

Full database backup plus differential database backup plus multiple transaction log backups

71
New cards

The four Recover Models are: Full, Bulk-logged, BCP logged, and Simple.

False

72
New cards

Which recovery model causes all operations to be written to the transaction log?

full recovery model

73
New cards

Which of the following is true about log shipping?

Allows you to have a warm standby Server

74
New cards

Which two ways can you back up and restore a database?

Using Transact SQL, SSMS

75
New cards

Which of the following is true about the factors that should be considered when evaluating database business requirements and the associated risk assessments?

databases that have a high change rate require more frequent backups

76
New cards

Which of the following is a reason that transaction logs must be backed up frequently?

when the log is backed up, it is truncated

77
New cards

What SQL command do you use when restoring transaction logs if you want to do a point-in-time restore?

STOPAT

78
New cards

If you experience database corruption, what should you do before performing a restore operation?

backup the transaction log tail

79
New cards

Which of the following is NOT among the three primary factors that should be considered for each risk scenario identified?

personnel involved in the scenario

80
New cards

A Backup device is a logical storage device that references a physical location.

True

81
New cards

Data loss caused by environmental events has the greatest possibility of occurrence.

False

82
New cards

Which of the following SQL commands should you perform in a database recovery operation when you have recovered the last transaction log?

RESTORE DATABASE WITH RECOVERY;

83
New cards

Which command changes the database context?

USE [Database Name];

84
New cards

Which command selects all columns in a table?

SELECT *

85
New cards

Which syntax should you use to sort the result set in reverse alphabetic order.

ORDER BY [Column Name] DESC

86
New cards

Which type of merge statement only combines rows that exist in two result sets?

INTERSECT

87
New cards

The database schema is defined by the DDL components in the SQL programming language.

True

88
New cards

Which clause do you use with a join operation to specify which columns from each table should be used as the matching key?

ON

89
New cards

Transact-SQL is the variant of SQL developed by Microsoft and Sybase.

True

90
New cards

Which of the following represents correct syntax for a SELECT statement?

SELECT [Column Name] FROM [Table Name]

91
New cards

What keyword can you include in a SELECT statement to create a column alias for the column returned in the result set?

AS

92
New cards

Which type of join returns all columns from both tables and only returns rows where the join column values are equal?

inner

93
New cards

Which of the following is true about the SQL language?

the semicolon is a statement terminator

94
New cards

If Col1 contains the string "Hello" and Col2 is Null, what is the result of SELECT Col1 + Col2?

Null

95
New cards

If you want to compare a value in a column against a list of values, which syntax would you use?

WHERE [Column Name] IN ([Value1], [Value2], [Value3])

96
New cards

What are the keywords CHECK, UNIQUE, and NOT NULL referred to as?

constraints

97
New cards

What type of functions are used to summarize data in a grouped column or for all records in a table?

Aggregate functions

98
New cards

SQL is an imperative programming language.

False

99
New cards

Which of the following best describes the IntelliSense feature in Query Editor?

it is a text AutoComplete feature

100
New cards

If you want to remove duplicates from a result set, which command should you use?

SELECT DISTINCT