AWS Certified AI Practitioner AIF-C01 Practice Question
A startup is integrating a generative-AI chatbot with Amazon Bedrock. The team must ensure that user prompts containing hateful or violent language are blocked before the request reaches the foundation model. Which Guardrails for Amazon Bedrock capability should they use to apply this safeguard to the input?
Add a custom word filter that redacts profanity from model responses only.
Enable a content filter on the user input for hate and violence categories.
Turn on PII redaction for all prompts submitted to the model.
Create a denied topics policy that lists hate and violence as restricted subjects.
Guardrails for Amazon Bedrock lets builders add safety controls to both user inputs and model outputs. Content filters are designed to detect and block or transform categories such as hate, harassment, sexual, or violent language. Because the requirement is to stop prompts with hateful or violent language before they reach the model, configuring a content filter on user inputs addresses the need.
Denied topics policies block requests about broad subject areas (for example, medical advice) but are not category-based language filters.
Word filters block specific custom terms rather than entire categories.
PII redaction masks personally identifiable information and does not target hateful or violent language.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are Guardrails in Amazon Bedrock?
Open an interactive chat with Bash
How do content filters in Amazon Bedrock work?
Open an interactive chat with Bash
What is the difference between a content filter and a denied topics policy in Bedrock?
Open an interactive chat with Bash
What are Guardrails for Amazon Bedrock?
Open an interactive chat with Bash
How do content filters in Amazon Bedrock work?
Open an interactive chat with Bash
What is the difference between a content filter and a denied topics policy in Amazon Bedrock?
Open an interactive chat with Bash
AWS Certified AI Practitioner AIF-C01
Guidelines for Responsible AI
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .