MCQ King
75 – Query Optimizer Hints MCQ
1 / 25
1. What are optimizer hints in SQL Server primarily used for?
2 / 25
2. Why might you want to use optimizer hints in SQL Server?
3 / 25
3. What is the main purpose of using optimizer hints in SQL Server?
4 / 25
4. In SQL Server, which statement is true regarding optimizer hints?
5 / 25
5. What is the primary advantage of using optimizer hints in SQL Server?
6 / 25
6. In SQL Server, what is a query hint?
7 / 25
7. Which of the following is NOT a reason for using optimizer hints in SQL Server?
8 / 25
8. In SQL Server, what is a query plan hint?
9 / 25
9. Which of the following is a valid type of optimizer hint in SQL Server?
10 / 25
10. What is the purpose of the OPTION (RECOMPILE) hint in SQL Server?
11 / 25
11. In SQL Server, what is the purpose of the OPTION (OPTIMIZE FOR) hint?
12 / 25
12. What is the main goal of using the OPTION (HASH JOIN) hint in SQL Server?
13 / 25
13. Which optimizer hint is used to specify a specific plan guide for a query?
14 / 25
14. What is the purpose of the OPTION (MAXDOP) hint in SQL Server?
15 / 25
15. In SQL Server, what is the purpose of the OPTION (FAST) hint?
16 / 25
16. Which optimizer hint is used to specify a specific plan for a query using a query plan guide?
17 / 25
17. What is the primary purpose of the OPTION (MERGE JOIN) hint in SQL Server?
18 / 25
18. In SQL Server, what is the primary goal of the OPTION (FORCESCAN) hint?
19 / 25
19. Which optimizer hint in SQL Server is used to specify that a table should be read with a table scan?
20 / 25
20. What is the primary purpose of the OPTION (LOOP JOIN) hint in SQL Server?
21 / 25
21. In SQL Server, what is the primary function of the OPTION (USE PLAN) hint?
22 / 25
22. Which optimizer hint is used to suggest the use of a specific index in SQL Server?
23 / 25
23. In SQL Server, what is the primary purpose of the OPTION (FORCE ORDER) hint?
24 / 25
24. Which optimizer hint is used to specify the number of rows to be processed before returning results in SQL Server?
25 / 25
25. What is the primary function of the OPTION (OPTIMIZE FOR UNKNOWN) hint in SQL Server?
Your score is
Restart quiz