API tests for a building-permit service need known rows in the test DynamoDB table before each run. How should that data be prepared?
Select an answer to reveal the explanation.
Short Explanation
Set the chessboard the same way before every match. A seeding script with anonymized fixtures makes API tests repeatable. Cloning prod PII or typing rows by hand is messy and unsafe.
Full Explanation
Automating test-data preparation is part of environment testing. Versioned seeding scripts that load anonymized fixtures create a known baseline for API tests without exposing production personal data. Empty tables, production clones, and manual console entry produce flaky or non-compliant test runs.