hardMultiple Select
AIF-C01 Practice Question: Deploying a chatbot using Amazon Bedrock and…
A company is deploying a chatbot using Amazon Bedrock and wants to ensure that the model does not generate offensive or inappropriate content. Which THREE measures can they apply?
⚠ Common exam trap
AWS often tests the misconception that increasing temperature or fine-tuning on safe data alone can prevent harmful outputs, when in reality these methods do not provide runtime content filtering and can even increase risk or be impractical for rapid deployment.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use a system prompt to define ethical guidelines and constraints
Option A is correct because a system prompt sets the model's behavioral boundaries and can explicitly instruct it to refuse or avoid offensive, harmful, or inappropriate content, making it a first-line control for responsible generation. Option B is correct because a human-in-the-loop review process catches flagged or borderline responses that automated filters miss, providing an additional safety layer before content reaches users. Option D is correct because Amazon Bedrock Guardrails (and built-in content filters) apply configurable policies such as denied topics, content filters for hate/violence/sexual/insults, and PII redaction to block or mask inappropriate model outputs at inference time. Option C is not appropriate because raising temperature increases randomness and creativity, which generally makes offensive or unpredictable output more likely, not less. Option E is not a reliable standalone measure because fine-tuning on safe conversations does not guarantee the model will never generate offensive content and does not provide runtime enforcement, unlike guardrails or review processes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use a system prompt to define ethical guidelines and constraints
Why this is correct
A system prompt sets persistent instructions that steer the model's tone and refusals across every turn, so offensive outputs are discouraged at generation time. It complements, rather than replaces, output filtering, satisfying the requirement to constrain inappropriate content.
- ✓
Implement a human-in-the-loop review process for flagged responses
Why this is correct
Human reviewers inspect responses flagged by automated filters before they reach users, catching context-dependent offensiveness that classifiers miss. This satisfies the requirement by adding a verification layer after generation, when automated detection alone is unreliable.
- ✗
Increase the temperature to make outputs more creative and less likely to repeat offensive phrases
Why it's wrong here
Raising temperature increases sampling randomness, which widens the output distribution and makes offensive tokens more likely, not less. It is tempting because temperature tuning genuinely controls creativity and diversity, and would suit brainstorming or copywriting tasks where varied phrasing is wanted.
- ✓
Enable content filtering via Bedrock's guardrails or built-in filters
Why this is correct
Bedrock guardrails apply configurable content filters that evaluate both prompts and completions against categories such as hate, violence and sexual content, blocking offending output before it reaches users. This directly satisfies the requirement to prevent offensive or inappropriate generation, and counts as one of the three required measures.
- ✗
Fine-tune the model on a dataset of safe conversations only
Why it's wrong here
Fine-tuning on safe conversations teaches style and tone but does not block harmful outputs at inference; a determined prompt can still elicit them. It is tempting because fine-tuning genuinely aligns a model's behaviour to a domain, and would be right when adapting tone or format for a specific use case.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AIF-C01 question from scratch — 862 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.