Question 170
Queries filter millions of product rows by a JSON property and repeatedly scan payloads. Which test result BEST demonstrates that the intended solution is working?
Explanation
Correct Answer
The execution plan uses the chosen path access strategy and returns matching products. This is the decisive observable evidence after implementing evaluate supported JSON index or indexed computed-column path for that SQL platform and version. It tests the underlying requirement: Unindexed JSON path predicates can incur expensive row-by-row parsing.
Incorrect Answers
A test payload creates the expected number of items with correct types. However, that result would not establish the required outcome: the execution plan uses the chosen path access strategy and returns matching products.
A test reserves the requested count and avoids collisions. However, that result would not establish the required outcome: the execution plan uses the chosen path access strategy and returns matching products.
A maintenance rehearsal successfully switches a partition with required constraints. However, that result would not establish the required outcome: the execution plan uses the chosen path access strategy and returns matching products.