70-465 · Question #159
70-465 Question #159: Real Exam Question with Answer & Explanation
The correct answer is G: REBUILD. For XML columns queried based on a specific element like 'grade', the optimal indexing strategy is to create a Primary XML Index on the XML column first (required as a prerequisite), then create a Secondary XML Index using the PATH type specifically on the grade field. The PATH s
Question
Drag and Drop Question You define a table by using the following statement. The Teachers table contains one million records. A sample record of the XML data output is as follows: You plan to create queries against the table based on grade. You need to recommend which indexes should be applied to the XML fields. The solution must meet the following requirements: - Reduce the amount of time required to query the table based on grade. - Minimize the size of the index. What should you recommend? To answer, drag the appropriate index types to the correct fields. Each index type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. Answer:
Options
- A1
- BBLOCKERS
- CFILLFACTOR
- DOFF
- EON
- FONLINE
- GREBUILD
- HREORGANIZE
Explanation
For XML columns queried based on a specific element like 'grade', the optimal indexing strategy is to create a Primary XML Index on the XML column first (required as a prerequisite), then create a Secondary XML Index using the PATH type specifically on the grade field. The PATH secondary XML index is designed to optimize queries that specify a particular XML path/element, minimizing index size compared to VALUE or PROPERTY indexes while maximizing query performance for path-based lookups on a specific element like grade.
Topics
Community Discussion
No community discussion yet for this question.