Question types

Start with

Question limit

of 270 available terms

Print test

270 Multiple choice questions

  1. Used to lock the table.
  2. A ____ that has a unique clustered index is an ____.
  3. Secondary XML index useful for when the path to the value is known.
  4. Tells the number of lock requests per second that timed out, not including NOWAIT locks.
  5. The available types of recovery models.
  6. Captures the data that has changed since the last full backup.
  7. Use to insert a defined value into the column whenever there is not value specified. Can be used with INSERT to explicitly insert a default value.
  8. ____ requires that all multi-valued dependencies be removed.
  9. Option that specified that a table-level lock is used for the duration of the entire bulk-import operation.
  10. A workspace for holding temporary objects and result sets.
  11. Displays information for those active user connections made to the server
  12. ____ date types such as ntext, varchar(max), xml and image ____ be used as the key columns for an index.
  13. An index that has a logical order of key values which determines the physical order of the corresponding rows. Each table or view can have only one.
  14. Has event classes produced when a SQL Server error or warning is raised.
  15. The ____ percentage is used only at the time of ____.
  16. The view must reference ____ tables in the ____ as the view.
  17. If you ____ a ____ view it will be disabled, and the associated nonclustered indexes with get automatically deleted until index is dropped and rebuilt.
  18. Very limited values
  19. To move a system database data or log file to a new instance you:
    1. Run ____
    2. Then ____ (NAME = logical name, FILENAME = 'path')
    3. ____
    4. ____
  20. Shows deadlock information by processes and then by resources.
  21. The result set produced by a ____ is not stored ____.
  22. You can adjust the ____ of the database via ____.
  23. You can ____ index fragmentation through ____ or reorganizing an index.
  24. Shows information about sessions that are opened in the Advisor.
  25. When size is not supplied, the size of the ____ will be set to the size of the file in the ____.
  26. Max number of files and filegroups each for each database
  27. An object that provides counters for monitoring internal SQL Server resource locks.
  28. ____, worker threads, memory, parallel query execution-related resources and Multiple Active Results Sets resources can all cause ____.
  29. Reveals /O information for the database data and log files
  30. Used for preventing phantom reads.
  31. Used when compiling and executing queries.
  32. The SET SHOWPLAN statements ____ be used inside a ____ since they must be the only statement in a batch.
  33. Event class that populates the TextData data column of the trace with data on process and objects involved in the deadlock.
  34. Takes place when SQL Server needs to scan the index pages to find the records
  35. Designed for returning information used by the SQL Server Database Engine.
  36. To use a secondary data file you need to ____, ____, and then ____.
  37. Back up Database
    Check Database Integrity
    Execute SQL Server Agent Job
    Execute T-SQL Statement
    History Cleanup
    Maintenance Cleanup
    Notify Operator
    Rebuild Index
    Reorganize Index
    Shrink Database
    Update Statistics
  38. If a view is ____ referenced, you should create a ____ index on the view so the result can be stored like a table.
  39. Set single user with T-SQL using ____ and then ____.
  40. Has event classes used to monitor locking activity in an instance
  41. A table can have a maximum of ____ indexes.
  42. Maintained across all the active sessions and it's name should always be prefixed with ##. Dropped automatically when session that created the table is ended.
  43. If OFF, shared locks will be used to prevent other transactions from modifying rows while the current transaction is reading, and block the statement from reading row modified until completed. If ON, row versioning will be used to present each statement with a consistent snapshot of the data.
  44. ____ should be in separate file groups.
  45. Has event classes dealing with the scanning of tables and indexes
  46. You ____ keep compressed and ____ backups in the same ____.
  47. You should supplement a ____ database back up with a series of ____ database backups.
  48. Use to not allow two rows in a table to have the same value for the columns.
  49. SQL Server ____'s contained database feature only supports a ____ contained state.
  50. Maintained only in the current session and it's name should always be prefixed with a #. Dropped automatically at the end of the current session.
  51. You should ____ tuning time to stop during periods of ____ server workload.
  52. ____ can be performed against the master, model, msdb, ReportServer, ReportServerTempDB, and tempdb databases.
  53. Used to specify the file that is for collecting rows that have formatting errors.
  54. The specified temporary table name should not exceed ____.
  55. ____ should be on ____.
  56. ____ and ____ should be placed in a different file group on a different physical drive since they are I/O heavy.
  57. A mechanism that synchronizes access by users to the same data at the same time.
  58. The ____ server role is required to initialize it. After the initialization users who are members of the ____ fixed role can use it to tune the databases they own.
  59. Used to configure the isolation level
  60. When size is not supplied for the ____ or ____ the default will be 1 MB.
  61. When on, each executed query will return a regular result set and then an additional result set that details the profile of the query execution.
  62. Has the backup contents added to the media set by backup process.
  63. A set of T-SQL statements that execute against a database using trace files, trace tables, and/or T-SQL scripts.
  64. ____ are factors that can affect SQL Server performance.
  65. ____ requires that you remove all those columns that are not dependent on the primary key.
  66. SQL Server will return the execution information for each statement without actually executing it.
  67. The options that can be used with the CREATE DATABASE statement.
  68. Used to evaluate filter expressions that are intended to match a prefix set of columns. Always put the most selective columns leftmost in the key.
  69. To attach a database make sure all MDF and NDF files are available and use the ____ with the ____ close.
  70. ____ can never join any filegroup.
  71. Queries that have few ____ or joins would not be suitable for indexed view, and ____ intensive transactions would not be appropriate.
  72. A constraint linked to a primary key in another table. Can also use columns that use UNIQUE.
  73. Backups created on a single non-mirrored device or a set of mirrored devices within a media set.
  74. With the ____ option ____ does not make use of T-SQL at all.
  75. Has event classes dealing with the execution of stored procedures.
  76. Online Transaction Processing, requires fast write, fast update
  77. A ____ can only be a member of a ____.
  78. Design that requires the construction of a model of information that can be mapped into the various SQL Server objects.
  79. Process that involves deploying methods to separate data into multiple related tables.
  81. ____ means breaking a table into multiple smaller ones
  82. The deadlock XML file extension
  83. Indicated on a result set. Means the query optimizer determined the statistic needs to be updated.
  84. Provides the wait state information
  85. Recovery model that requires log backups and there will be no data loss. Possible to restore to a specific point in time.
  86. Constructing a data model for dealing with a real world issue without giving any physical considerations.
  87. The template for all databases created on the instance.
  88. You should have the master database backed up whenever a ____ is created, changed or dropped.
  89. Overrides SQL Server's locking scheme by forcing locks on a table.
  90. The process of producing a detailed database specific data model to meet end user requirements.
  91. Used to have locks placed on all data used in a query
  92. Before setting SINGLE_USER mode you must ensure that ____ option is ____.
  93. Used to define how the integrity of your database can be enforced automatically.
  94. A database that allows some but not all features that cross the database boundary.
  95. Used to single an intent to place locks at lower level. They can be intent shared, intent exclusive, or shared intent exclusive.
  96. Used during DDL operation.
  97. Tab in Profiler to review the events to be monitored with your trace.
  98. Used to create Integration Services package to be run by an SQL Server Agent job. Must be in the sysadmin role to create or manage.
  99. Tells the number of lock requests per second that resulted in deadlock.
  100. ____ and ____ files can be detached and attached to another instance. This makes a database easier to move.
  101. A non-clustered index optimized with a filter predicate to index only a portion of rows in a table.
  102. Rebuilds a clustered index but does not rebuild the associated nonclustered indexes unless you use the keyword ALL.
  103. Used when you are bulk copying data into a table while the TABLOCK hint is there.
  104. ADD FILE
  105. The ____ execution plan is the same as using the SET ____ statement.
  106. Supposed to have the greatest selectivity since only one row can match.
  107. If two or more transactions are trying to convert to ____ locks, a ____ will occur.
  108. Partition the table by group rows based on a particular criteria
  109. Allows concurrent transactions to SELECT a resource under pessimistic concurrency control. During an update a transaction will attempt to change to an exclusive lock.
  110. How SQL Server attempts to determine the best way to execute a submitted query.
  111. ____ view is good for views with data that is ____ updated (read intensive).
  112. To create a ____ maintenance plan there must be one ____ server with one or more target servers and it must be created and maintained on the master server.
  113. Used to NOT issue any shared locks or recognize exclusive locks. Use only with the SELECT statement.
  114. Tell the number of latch request that were not granted immediately.
  115. ____ is the ____ value for DATAFILETYPE.
  116. Used to evaluate the selectivity of an index. Shows the current distribution statistic for a particular table and index, or for all tables and indexes.
  117. Has event classes produced by executing T-SQL statements in an instance.
  118. Creates a partition function and specifies the number of partitions, partition column and the range of partition column values for each partition.
  119. You can adjust the file sizing by using ____ and then ____ T-SQL statements.
  120. Takes place when SQL Server needs to scan the data to find the records.
  121. ____ monitors activities in real time.
  122. Records events as they occur. Through a trace you can look at the commands that have been executed against the database.
  123. Online Analytical Processing, requires fast read and computation on the fly.
  124. ____ is what the command prompt utility for Database Engine Tuning is known as.
  125. A value between 5% and ____ is when you should use ____ to reorganize the index
  126. Used to specify the non-key columns to be added to the leaf level of a nonclustered index.
  127. The uniqueness of data values contained in a column
  128. Tells the total latch wait time for latch requests in the last second.
  129. ____ is optimized for adhoc result aggregation and summarization of large amounts of data.
  130. The ____ is for recording system-level information for an instance.
  131. PAGLOCK
  132. A database level permission that is required on all databases referenced in order to execute SHOWPLAN statements.
  133. Gathers information of each T-SQL statement for recreating the same activity in the future.
  134. Tell the number of lock requests per second that timed out including NOWAIT locks.
  135. A value above ____ is when you should rebuild the index entirely using ____ WITH(ONLINE = ON)*.
  136. An index build on the same partition scheme as its corresponding table.
  137. Applications seldom request locks directly as locks are managed by the ____.
  138. The default for index ____ is ____.
  139. Same as HOLDLOCK: Used to hold a shared lock until the transaction is completed.
  140. Has event classes produced when clients connect to and disconnect from an instance
  141. Has event classes useful for auditing server activity.
  142. The ratio of qualifying rows to total rows. When low the index is highly selected.
  143. The process of making room for new records.
  144. Backups created by recent version of SQL Server ____ be restored to an ____ version.
  145. Identified the most expensive queries
  146. An ordered collection of backup media, tapes or disk files
  147. A file, device or a tape used for backups.
  148. When using physical disk drives you should create multiple physical files per file group and ____ if possible.
  149. Used to produce more in-depth details.
  150. Recovery model that requires log backups. Permits high-performance bulk copy operations. It is not possible to restore to a specific point in time.
  151. The maximum size of a log file.
  152. Values are very uncommon, uniqueness more likely
  153. Uses an index to pinpoint a record. Faster than scan.
  154. Contained databases can be accessed by ____ with passwords authenticated by the database, and authorized ____ and Windows groups who connect directly to the database without logins in the master database.
  155. Toll that can examine how queries are processed and then recommend how you may improve the query processing performance.
  156. ____ databases can ____ be attached.
  157. All temporary tables will be automatically dropped when the ____ is finished or via the ____ command.
  158. You can base a ____ on a ____.
  159. Used to use update locks instead of shared locks when you read a table, and then hold the locks until the end of the transaction.
  160. You should use ____ when bulk exporting data to a text file, or bulk importing data from a text file generated by a ____.
  161. The ____ and the ____ cannot be backed up.
  162. Exists when your indexes have pages in which the logical ordering does not match the physical ordering inside the physical file.
  163. The Management Studio GUI lets you see the Query Execution Plan by selecting either the Display ____ Plan or ____ Execution Plan.
  164. When you have ____ and Foreign key constraints SQL Server will ____ create indexes for them.
  165. The maximum size of a data file.
  166. The views related to databases and files are ____.
  167. When all the files in a filegroup are full, the ____ will automatically ____ at a time.
  168. The whole database is made offline for the duration and all data is recovered to a point where no uncommitted transactions exist.
  169. Secondary XML index useful for performing value-based queries when the full path is not known.
  170. These determine how much data loss is considered acceptable after a failure and what types of related functions are allowed.
  171. Same as NOLOCK: Used to NOT issue any shared locks or recognize exclusive locks.
  172. No other transactions can change data and read operations can carry on only with the presence of a NOLOCK hint or read uncommitted isolation level.
  173. To create an indexed view ____ and ____ options must be ON when you run CREATE VIEW using WITH SCHEMABINDING.
  174. When enabled the percentage of free space that is specified by the fill factor is applied to the intermediate level pages of an index. It represents the same thing as fill factor for non-leaf levels.
  175. Entity Relationship Diagram
  176. In the ____ options box you can define the ____ for recommendations or by the physical design structures.
  177. A database that is isolated from other databases and the instance of SQL Server that hosts it.
  178. System function used to detect index fragmentation.
  179. ____ is optimized for handling transactions
  180. ____ require that you eliminate duplicative columns from the same table and create separate tables for each group of related data, and identify a primary key
  181. A server-level configuration option that is set to off by default. Works to compress the backups.
  182. CHECK constraints work at the ____ to ____values that evaluate to FALSE.
  183. To change the fill factor you should be a member of the ____ fixed server role, or the ____ and ____ fixed database roles.
  184. Tells the average latch wait time for latch requests that had to wait.
  185. Used to hold a shared lock until the transaction is completed.
  186. Database mode that allows for only a single user to be connected. All other users will be cut off without warning when set.
  187. If you create a ____, a unique clustered index on the column will be ____ created.
  188. Max columns per index file has a ____ value of ____.
  189. The categories for hints.
  190. Only one transaction can obtain this to a resource at any point in time.
  191. Describes the percentage of logical fragmentation.
  192. ____ and ____ options of ALTER DATABASE allows you to take the instance offline or bring it back online.
  193. A value that can be char, native, widechar, widenative
  194. Used to have those rows locked by other processes skipped.
  195. Has event classes produced when data or log files grow or shrink.
  196. Used to produce readable output that is to be used by Win32 command prompt applications.
  197. Suitable when a query is optimized to get the first row of the result set.
  198. If no value is specified, the Advisor will assume a space limit of ____ the current raw data size, OR the ____ space on all the attached drives in addition to raw data size.
  199. Used to specify that a column does not take NULL values (which are unknown or undefined).
  200. Used by the SQL Server Agent to schedule alerts and jobs.
  201. Recovery model that does not have log backups. Log space is reclaimed to keep requirements small. Can only recover to the end of a backup.
  202. Used to use an exclusive lock on all the involved resources until the transaction is ended.
  203. You may have a maximum of ____ hint from each ____ at the same time.
  204. A ____ file group should be created for ____.
  206. ____ requires data redundancy by can reduce the number of joins to be use during query
  207. Used to enforce domain integrity. Use when you want to limit the values that can be entered into a column.
  208. Used to detach a database currently not in use from an instance.
  209. Statement used to make a full backup.
  210. Creates a partition scheme and maps the partitions to a set of filegroups.
  211. You can have a maximum of ____ per table.
  212. During upgrades the Database Engine will automatically disable an index, but to use T-SQL statements you would use ____ with the ____ option.
  213. Used to lock data at a row level
  214. Broken down into categories, they provide different monitoring abilities in the traces.
  215. Creates a secondary XML index.
  216. Detaching a ____ will cause you to lose information about the differential bases of your differential backups.
  217. ____ columns are stored as binary large objects and ____ be given an index. Use ____ to produce a primary XML index.
  218. Table is portioned based on the frequency of access of columns
  219. Since DBCC DBREINDEX is an ____ operation, when a nonclustered index is being rebuilt a ____ will be held on the table preventing modifications. When a clustered index is being rebuilt an ____ lock will be held, preventing table access entirely.
  220. ____ should be backed up whenever it is ____.
  221. Tells the total wait time for locks in the last second.
  222. Serves as the default group when database is created. Should only be used to keep system objects, and not as the default file group.
  223. Shows deadlock information formatted by each node involved.
  224. The arguments of the partition function must have the same ____, define the same number of ____ and use the same ____ values.
  225. It's behavior depends on the value of READ_COMMITTED_SNAPSHOT.
  226. Used to allow SQL Server to execute the T-SQL statements while generating in-depth information on how the statements were executed.
  227. Developing a visual representation of the real world problem as an ERD and have the details modeled in terms of entities, attributes and relations.
  228. Used to enforce uniqueness but they do not allow for NULL
  229. A ____ can be used only by a single ____.
  230. You ____ add or remove files when ____ is running.
  231. Showplan XML
    Showplan ALL
    Showplan Text
    Showplan XML Statistics Profile
    Showplan Statistics Profile
  232. You can use SQL Server ____ to identify the cause by tracing ____.
  233. BCP data files ____ include any ____ or ____ information.
  234. Create only ____ database backups of the ____ as required since it rarely changes.
  235. Tells the average amount of wait time for each lock request.
  236. According to MS using constraints is perfered over ____, rules and ____.
  237. Used to specify the percentage of space on each leaf-level page for data when rebuilding or creating an index. Server-wide default value is 0.
  238. Used to import a data file into a table or view.
  239. A feature that uses a proportional fill mechanism across all the files within each filegroup.
  240. Used to select and create an optimal set of indexes, indexed views, and partitions.
  241. Collects general information on SQL Server connections, stored procedures and T-SQL Statements.
  242. An index where the physical order of the rows is totally independent of their indexed order. Can be unique or non-unique.
  243. ____ requires that you remove all subsets of data that apply to multiple rows of a table and relocate them in other separate tables, and create foreign keys
  244. The ____ backup is useful when a subset of data is ____ more often then the rest of the database.
  245. An index which is partitioned independently from it's corresponding table.
  246. Secondary XML index useful for the .exist() methods
  247. Has event classes produced when DML operators are running.
  248. Used to create a relational index on a specified table or view.
  249. Rows
    Pages (collection of rows)
    Extents (collection of pages)
  250. You should ____ create a clustered index prior to creating any ____.
  251. Special backup that captures the log records that have not been backed up in other ways. Is needed to recover SQL Server to the latest point in time.
  252. Stored procedure that allows you to estimate the size required for a full backup.
  253. Tool to help with importing and exporting data.
  254. Put the queries in a _____ and SQL Server can usually come up with an ____ execution plan.
  255. SET STATISTICS PROFILE is useful for ____ queries, ____ and ____.
  256. Means the file can grown until the disk is full (or reaches it's maximum size)
  257. The ____ created on a view must be a ____ clustered one.
  258. When you have ____ indexes, ____ queries will run faster, but INSERT, UPDATE, and DELETE will run slower.
  259. Use ____ with the ____ option to have an index rebuild using the same columns, index type, uniqueness attribute and sort order.
  260. Data values are uncommon and never unique
  261. The ____ execution plan is the same as using the ____ XML.
  262. The values that represents the percentage to fill the data page files on index creation at the index leaf-layer.
  263. Means it will be a unique index. Cannot be created on columns with duplicate values.
  264. An object that provides information about SQL Server locks on resources that prevent concurrent use by different transactions.
  265. Collects information relevant for tuning SQL Server's performance.
  266. To restore, the ____ must be running and the ____ must be accessible and partly or full usable.
  267. Used to bulk copy data between an instance and a data file in a separate user-specified format.
  268. Use for holding system objects that are included with SQL Server and is read only.
  269. Used to read only data from those already-committed transactions.
  270. When a ____ constraint references columns in tables in the same database or table, the table becomes a ____ table.