Question 470
During an overnight workload incident at Stonehaven Logistics, the data architect identifies a Databricks issue: An upsert workload appends updated customer records without reconciling business keys, leaving competing active versions. The team reports that the correction is complete. Which result BEST verifies that the specific issue was resolved?
Explanation
Correct Answer
Updated keys have the expected current value and new keys are inserted once. The observation provides evidence that the proposed fix (Use a keyed MERGE statement with explicit match and insert behavior appropriate to the change contract.) addressed the reported issue (An upsert workload appends updated customer records without reconciling business keys, leaving competing active versions.) for Stonehaven Logistics and its warehouse scheduling and shipping records. It verifies an observable outcome instead of relying only on a completed task ticket.
Incorrect Answers
Previously loaded history remains while the new accepted records are added. This is suitable evidence for another condition (A pipeline inserts new records into a target using full overwrite and deletes historical transactions unexpectedly.) after a different response (Use INSERT or append semantics for the insert-only part of the documented workload.). For Stonehaven Logistics, it does not prove the required result: Updated keys have the expected current value and new keys are inserted once.
A sample input with repeated reference keys does not multiply transaction amounts unexpectedly. This is suitable evidence for another condition (A join between transactions and customer details inflates counts because the customer reference table has repeated matching keys.) after a different response (Validate key uniqueness and choose an appropriate join strategy before enrichment.). For Stonehaven Logistics, it does not prove the required result: Updated keys have the expected current value and new keys are inserted once.
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 Stonehaven Logistics, it does not prove the required result: Updated keys have the expected current value and new keys are inserted once.