Home > Mechanical Engineering > 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. Point out the wrong statement.
2. Point out the wrong statement.
3. Which of the following code snippet demonstrates ALTER statement with STATISTICS_NORECOMPUTE in ONLINE state?
4. Use to bind an integer variable to the first parameter marker in an SQL statement.
5. ___________ displays the profile information for a statement.
6. ROLLBACK WORK always rolls back to the outermost BEGIN TRANSACTION statement for ___________ transactions.
7. Specifying the order in which key values are stored in an index is useful when queries referencing the table have _____________
8. Which is the most restrictive isolation level in transaction?
9. The conditions that invalidate a plan include which of the following?
10. Which of the following option is immediately applied to the index by using the SET clause in the ALTER INDEX statement?
11. Use _________ data compression to compress columnstore data with archival compression.
12. ______________ allow concurrent transactions to read (SELECT) a resource.
13. Which of the following query cannot be parameterized according to the rules of forced parameterization?
14. What is the purpose of schema name in the following code syntax?
sp_estimate_data_compression_savings [;]
15. _____________ section lists all the resources that were involved in the deadlock.
16. _________ permissions default to any valid user.
17. Which of the following query deletes a job candidate?
18. SQL Server 2008 provides enhanced partitioning information for __________ execution plans.
19. Which of the following partitioned attribute can appear in the following physical and logical operators?
20. Which of the following syntax is valid?
21. ____________ is the preferred statement for indicating errors in the transaction.
22. What is the syntax for DBCC FREEPROCCACHE with all the optional parameters in T-SQL?
23. Which of the following best practice should be carried out concerning data types?
24. Which of the following mode has exclusive range and exclusive resource lock?
25. Which of the following lock is incompatible with all lock modes?