Authorize and approve consequential AI actions
Test content safeguards, scoped tool access and a durable human decision on the proposed action.
Task 2.5 · Authorize and approve consequential AI actions
An assistant edits an approved settlement
A claims assistant may draft settlements. An adjuster approved $900, but a later message changes the proposal to $9,000. The text is allowed under the content policy. Can the tool execute, and what should the audit trail show?
Compare your design with the worked answer
Reject execution of the revised proposal under the old approval. Reauthorize the claimant and adjuster scopes, bind a new approval to the amount, destination, version and expiry, and execute once using the approved operation ID. Record guardrail version, reviewer and final disposition while minimizing sensitive payloads.
Re-run with prohibited text but valid tool permissions, then with allowed content but a revoked user grant. These exercise two different controls; neither outcome can substitute for the other.
2.5.1 · Evaluate guardrails against policy examples
Configure Bedrock Guardrails for the required content categories, denied topics or sensitive-information handling. Apply them to the supported model path and test approved, prohibited and borderline examples in both directions. Record false blocks, missed blocks and guardrail version. A content filter cannot authorize a tool operation.
2.5.2 · Keep delegated authorization attached to the user
AgentCore Identity can support workload identities and scoped outbound authorization to tools or third-party services. Decide when a tool acts on behalf of a user and when it acts as the application. Bind consent, token scope, tenant and resource checks to the operation. Do not substitute a shared broad token for per-user entitlement.
2.5.3 · Approve the specific state change
Persist a proposed action with immutable parameters, requester, expiry and operation ID. An authorized reviewer approves that exact version. After callback, recheck validity and execute idempotently. Record refusal and expiry. Material changes to target, amount or scope require a new decision.
Apply the video example
The recording briefly explores model selection and text generation. Extend that example with the SAP-C03 requirements for Guardrails, AgentCore Identity and human approval before an external action. The worked settlement uses those current controls.
freeCodeCamp · 46:12:00 in AWS ML Managed Services
Official SAP-C03 task 2.5 · Bedrock Guardrails · AgentCore Identity
Authorize and approve consequential AI actions quiz
Answer 5 questions. Check each answer for an explanation.