easyMultiple Choice
AIF-C01 Practice Question: Using Amazon Bedrock to deploy a generative AI…
A company is using Amazon Bedrock to deploy a generative AI application. They want to implement guardrails to prevent the model from generating harmful or offensive content. Which feature of Bedrock Guardrails should they configure?
⚠ Common exam trap
AIF-C01 often tests the misconception that prompt engineering or logging can enforce safety, when only Guardrails provide deterministic, configurable content filtering and topic denial.
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
✓
Configure denied topics and content filters
Amazon Bedrock Guardrails provides configurable safeguards including content filters and denied topics. Content filters block harmful categories (hate, violence, sexual, insults, misconduct) based on configurable strength, while denied topics let you define specific subjects the model must refuse to discuss. Together they directly prevent harmful or offensive output at inference time.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable data privacy settings in the model invocation
Why it's wrong here
Data privacy settings govern how inputs and outputs are handled and retained, not whether content is harmful; they cannot block offensive output. They are tempting because they are configured at invocation, but content filtering requires a guardrail with denied topics and content filters attached to the model.
- ✗
Use prompt engineering to instruct the model to be safe
Why it's wrong here
Prompt engineering only influences model behaviour probabilistically; it cannot enforce a deterministic block on harmful output. It is tempting because instructions are quick to add, but Bedrock Guardrails applies configurable content filters and denied topics that intercept offending responses regardless of prompt wording.
- ✗
Set up invocation logging to review all outputs
Why it's wrong here
Invocation logging records prompts and responses for audit and troubleshooting after generation; it does not intercept or block harmful content. It is tempting because logs support review, but prevention needs a guardrail policy that filters content before the response reaches the user.
- ✓
Configure denied topics and content filters
Why this is correct
Denied topics define subject areas the model must refuse, while content filters block harmful or offensive categories such as hate, violence and sexual content, together satisfying the requirement to prevent harmful output. Both are configured as guardrail policies applied to the model invocation.
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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint
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.