Skip to content
AWS Certified AI Practitioner (AIF-C01) Exam Prep

Lesson 28 of 34 · 7 min

x
28/34

Features of Responsible AI and Bedrock Guardrails

Video lesson: AIF-C01 28/34: Features of Responsible AI and Bedrock Guardrails

AWS's dimensions of responsible AI (verified, AWS responsible AI page)

DimensionAWS definition
FairnessConsidering impacts on different groups of stakeholders
ExplainabilityUnderstanding and evaluating system outputs
Privacy and securityAppropriately obtaining, using and protecting data and models
SafetyPreventing harmful system output and misuse
ControllabilityHaving mechanisms to monitor and steer AI system behavior
Veracity and robustnessAchieving correct system outputs, even with unexpected or adversarial inputs
GovernanceIncorporating best practices into the AI supply chain, including providers and deployers
TransparencyEnabling stakeholders to make informed choices about their engagement with an AI system

The exam guide's list: bias, fairness, inclusivity, robustness, safety, veracity.

Amazon Bedrock Guardrails

Configurable safeguards that evaluate both user inputs and model responses:

PolicyDoes
Content filtersDetect harmful text or images in categories Hate, Insults, Sexual, Violence, Misconduct and Prompt Attack, with adjustable strength
Denied topicsBlock topics you define (e.g. investment advice in a banking app)
Word filtersBlock custom words or phrases (e.g. profanity, competitor names)
Sensitive information filtersBlock or mask PII (e.g. SSN, date of birth, address) and custom regex patterns
Contextual grounding checksDetect responses not grounded in the source or irrelevant to the query (hallucinations in RAG)
Automated Reasoning checksValidate responses against logical rules; detect hallucinations, suggest corrections
  • A blocked input returns a configured blocked message and the model isn't called (no model charge).
  • Works with any text or chat FM on Bedrock, with Agents and Knowledge Bases, and standalone through the ApplyGuardrail API.
  • Not supported for embedding, reranking or image generation models.

Related tools AWS names for responsible AI: Bedrock model evaluation, SageMaker Clarify (bias and explainability), SageMaker Ground Truth (human labelling and review; now closed to new customers), fmeval (open-source FM evaluation library), ML governance from SageMaker (verified).

Responsible model selection (objective 4.1.3; design guidance)

  • Environmental considerations and sustainability: a smaller or distilled model that meets the bar uses less compute and energy; avoid unnecessary re-training; prefer managed, shared infrastructure.
  • Check the model's documented intended use, limitations and licence.

Exam traps

  • Guardrails only check prompts. They check inputs and outputs.
  • Writing "be polite and safe" in the system prompt instead of Guardrails when the question asks for enforced filtering.
  • Masking PII with a denied topic. Use the sensitive information filter.

References

  1. AWS responsible AI — checked Oct 19, 2026
  2. Bedrock Guardrails — checked Oct 19, 2026
  3. How Guardrails works — checked Oct 19, 2026

Check your understanding

  • A call-centre summariser must hide customers' phone numbers. Guardrails policy?Show answer

    Answer

    Sensitive information filter (mask).
  • A RAG bot sometimes adds facts not in the documents. Policy?Show answer

    Answer

    Contextual grounding check.
  • Stop a banking bot from giving investment advice?Show answer

    Answer

    A denied topic.
Previous

Progress is saved in this browser.

Next Lesson