Testing and Deployment
A custom CodePipeline action uses Amazon Bedrock to recommend production approval from test reports. Policy requires passing security tests for the exact revision, but the model recommends approval when that report is missing; what should the developer implement?
Show the answer
Correct answerB. Enforce required evidence checks before accepting the recommendation
AWhy not this: Model confidence does not prove that mandatory security tests ran for the deployed revision.
BWhy this is right: Required evidence checks enforce release policy independently of the model's recommendation.
CWhy not this: A branch's latest successful report might describe a different revision.
DWhy not this: Agreement between models does not supply the missing revision-specific test evidence.
Deterministic checks must enforce required evidence and revision matching before an AI recommendation can authorize progression. Model confidence or agreement cannot establish that a missing security test passed.