Home > General Studies (Hindi) > Quizzes > SQL Server Practice Test: Performance Tuning and Optimization
SQL Server Practice Test: Performance Tuning and Optimization
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 21% Most missed: “Use to bind an integer variable to the first parameter marker in an SQL statemen…”
SQL Server performance tuning is a set of processes and procedures that help optimize relational database queries. The goal is to make queries run as efficiently as possible.  Here are some tips for SQL query optimization: Consider usage: Consider the number of tables, size, and execution plan of a query. Understand performance metrics: Consider statistics, resource allocation, and other performance metrics. Improve indexes: Indexes allow the database to retrieve specific data without scanning the entire table. When used properly, indexes can improve query response time. Use the TempDB... Show more
SQL Server Practice Test: Performance Tuning and Optimization
Time left 00:00
25 Questions

1. Which of the following query disables all the indexes on Employee table?
2. Which of the following query is used to enable a disabled index using CREATE INDEX?
3. The way that a statement can be physically executed is called _____________
4. Which of the following syntax is valid?
5. __________ locks allow processes to bulk copy data concurrently into the same table.
6. ___________ is a deadlock between a statement that is reading and a statement that is performing some form of data modification.
7. By default, indexes are stored in the ______ filegroup as the base table on which the index is created.
8. If @@TRANCOUNT is 1 ________ makes all data modifications performed since the start of the transaction a permanent part of the database.
9. Which of the following condition will ignore the request to enable delayed durability?
10. Which of the following locking hint is similar to NOLOCK?
11. Which of the following query enables the IX_Employee_OrganizationLevel_OrganizationNode index on the Employee table?
12. The SORT_IN_TEMPDB option cannot be set for ________ statements.
13. Point out the correct statement.
14. With a larger number of partitions, ______ commands could take longer to execute as the number of partitions increases.
15. Point out the correct statement.
16. ______________ allow concurrent transactions to read (SELECT) a resource.
17. To produce execution plan output by using most Showplan Transact-SQL SET options, users must have _________
18. Use to bind an integer variable to the first parameter marker in an SQL statement.
19. _________ uniquely identifies a query plan for a batch that has executed and whose plan resides in the plan cache.
20. Which of the following checkpoint has ‘recovery interval’ less than zero?
21. An XML deadlock graph has ______ main sections.
22. Point out the wrong statement.
23. Which of the following best practice should be carried out concerning data types?
24. ROLLBACK WORK always rolls back to the outermost BEGIN TRANSACTION statement for ___________ transactions.
25. Which of the following lock is incompatible with all lock modes?