D5: Safety Frameworks, Guardrails & HITL
Google Cloud Professional Agentic Architect exam practice questions · 10 flashcards
Question
What is a guardrail?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Safety Frameworks, Guardrails & HITL practice questions and answers
- What is a guardrail?A control that keeps agent behavior within safe, intended limits.
- Layers of agent guardrails?Input screening, instructions, tool restrictions, callbacks/hooks, output screening, gateway policies and monitoring.
- What is human-in-the-loop (HITL)?Requiring a person to approve or review agent actions or outputs.
- When require HITL?High-impact, irreversible, financial or sensitive actions.
- How does ADK support HITL?Tool confirmation and long-running tools that pause for approval.
- Why are deterministic guardrails important?Prompt instructions alone are not guaranteed.
- Example deterministic guardrail?A callback blocking refunds above a threshold.
- How does Agent Gateway act as a guardrail?Blocks unapproved destinations and enforces access policy.
- What is defense in depth for agents?Multiple independent safety layers so one failure isn't catastrophic.
- Why limit autonomy for new agents?Build trust gradually and reduce risk.