Question 450
A review of the governed data platform at Sandstone Publishing documents this problem: An analyst needs only the identifiers common to two source lists but uses a union that includes identifiers present in just one list. The team reports that the correction is complete. Which result BEST verifies that the specific issue was resolved?
Explanation
Correct Answer
The test returns only keys present in both input datasets. The observation provides evidence that the proposed fix (Use INTERSECT or an equivalent semijoin for the required common-element set.) addressed the reported issue (An analyst needs only the identifiers common to two source lists but uses a union that includes identifiers present in just one list.) for Sandstone Publishing and its editorial documents and partner applications. It verifies an observable outcome instead of relying only on a completed task ticket.
Incorrect Answers
The combined result has the expected unioned rows and documented duplicate semantics. This is suitable evidence for another condition (Two daily extracts have identical compatible schemas but are combined with a join, creating unrelated Cartesian-like results.) after a different response (Use UNION or UNION ALL as appropriate for vertically concatenating compatible rowsets.). For Sandstone Publishing, it does not prove the required result: The test returns only keys present in both input datasets.
The destination no longer contains the deleted key after applying the test change sequence. This is suitable evidence for another condition (A changed-data feed includes a delete operation but the transformation treats the deleted key as an active record.) after a different response (Handle the source delete operation in the keyed merge or other supported CDC processing logic.). For Sandstone Publishing, it does not prove the required result: The test returns only keys present in both input datasets.
The comparison identifies only unmatched source keys with no matched destination keys. This is suitable evidence for another condition (A data engineer wants records present in a source but missing from the target and uses a symmetric union instead of an exclusion operation.) after a different response (Use EXCEPT or an appropriate anti-join to obtain the source-only records.). For Sandstone Publishing, it does not prove the required result: The test returns only keys present in both input datasets.