AWS AI Practitioner AIF-C01 · Guidelines for Responsible AI · medium

A retail banking chatbot built on Amazon Bedrock must never provide personalized stock-picking advice or cryptocurrency price predictions, and if a customer types their Social Security Number (SSN) or credit card number into the chat, the sensitive number must be masked as {SSN} or {CREDIT_DEBIT_NUMBER} before being logged or returned. Which two Amazon Bedrock Guardrails policies should the team configure? (Select two.)

Published · Last updated · checked before publication — how we verify questions

Options

  • AContextual Grounding check with a 0.99 relevance threshold on empty context
  • BDenied Topics policy defining stock-picking and crypto investment adviceCorrect answer
  • CSensitive Information Filters configured to mask SSN and credit card PIICorrect answer
  • DProfanity word filter list containing four-letter swear words

Answers: B. Denied Topics policy defining stock-picking and crypto investment advice; C. Sensitive Information Filters configured to mask SSN and credit card PII

Denied Topics in Amazon Bedrock Guardrails allow administrators to define natural-language topic descriptions and example phrases (such as personalized stock-picking or crypto investment advice) that the guardrail blocks (B). Sensitive Information Filters (PII redaction/masking) detect and either block or mask PII entities such as SSNs, credit card numbers, emails, and phone numbers in prompts and responses (C).

Why the other options are wrong

  • A. Contextual Grounding check with a 0.99 relevance threshold on empty context — Contextual Grounding checks verify RAG source attribution, not prohibited subject topics or PII masking.
  • D. Profanity word filter list containing four-letter swear words — A static profanity word list does not mask dynamic 9-digit SSNs or block semantic investment advice.

All Guidelines for Responsible AI questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.