Question 50
A pricing table admits negative unit prices despite a documented positive-price rule. Which acceptance check is MOST directly related to this scenario?
Explanation
Correct Answer
Direct SQL inserts with negative prices fail without affecting valid rows. This is the decisive observable evidence after implementing use a CHECK constraint expressing the supported business condition. It tests the underlying requirement: Application-layer validation alone can be bypassed by other writers.
Incorrect Answers
Orphan inserts fail and approved delete scenarios behave as specified. However, that result would not establish the required outcome: direct SQL inserts with negative prices fail without affecting valid rows.
Reconciled payment totals match control calculations to the cent. However, that result would not establish the required outcome: direct SQL inserts with negative prices fail without affecting valid rows.
A controlled report benchmark shows lower elapsed time and logical IO. However, that result would not establish the required outcome: direct SQL inserts with negative prices fail without affecting valid rows.