D2: Structured Reasoning & Safeguarded Workflows
AWS Certified Generative AI Developer – Professional exam practice questions · 10 flashcards
Question
ReAct with Step Functions?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Structured Reasoning & Safeguarded Workflows practice questions and answers
- ReAct with Step Functions?Loop of model reasoning step, tool execution state, observation fed back until stop condition.
- Chain-of-thought orchestration?Break reasoning into explicit steps/states for transparency.
- Stopping conditions?Max iterations, goal reached, budget/time limits in Step Functions.
- Lambda timeouts as safeguards?Bound tool execution time.
- IAM resource boundaries for agents?Least-privilege roles/permissions boundaries limiting what tools can touch.
- Circuit breakers for agents?Stop calling failing tools/models after threshold errors.
- Infinite loop prevention?Iteration caps, duplicate action detection, token budgets.
- AgentCore Policy?Deterministic rules (Cedar) controlling which tools/actions agents may invoke.
- Guardrails for agents?Bedrock Guardrails on inputs/outputs of agent steps.
- Scenario: agent can issue refunds; must never exceed $500 without approval. Safeguard?Policy/condition check in tool + human approval step for higher amounts.