easyMultiple Select
AIF-C01 Practice Question: Using Amazon Bedrock to generate content for a…
A company is using Amazon Bedrock to generate content for a marketing application. The company wants to ensure that the model does not generate content that violates the company's brand guidelines, which prohibit certain keywords and tones. Which TWO features should the company use to enforce these guidelines? (Choose two.)
⚠ Common exam trap
Watch out — candidates often confuse IAM policies with content moderation, mistakenly believing that IAM can restrict model output vocabulary, when in fact IAM only governs API-level permissions and has no awareness of the semantic content of model responses.
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
✓
Create a prompt template that instructs the model to adhere to brand guidelines and avoid prohibited keywords.
Prompt engineering allows the company to embed brand guidelines directly into the instruction given to the model, effectively steering the output away from prohibited keywords and tones. Option C is correct because Amazon Bedrock Guardrails provides a managed, policy-based mechanism to define custom deny topics and content filters that can block or mask unwanted content at inference time, enforcing brand guidelines without manual intervention.
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 Amazon CloudWatch Logs to capture model output and manually review.
Why it's wrong here
CloudWatch Logs records invocations and outputs after generation, enabling retrospective review rather than preventing non-compliant content. Tempting because logging underpins auditing and monitoring, and it would be correct for observability or post-hoc investigation, not for blocking prohibited keywords and tones before the response reaches the application.
- ✓
Create a prompt template that instructs the model to adhere to brand guidelines and avoid prohibited keywords.
Why this is correct
A prompt template shapes model output through instruction, embedding brand rules and prohibited keywords directly in the request. It satisfies the guideline requirement by steering generation at inference time, though it relies on the model's compliance rather than hard enforcement.
- ✓
Configure Amazon Bedrock Guardrails with custom deny topics and content filters.
Why this is correct
Guardrails apply configurable deny topics and content filters that evaluate prompts and responses, blocking prohibited keywords and tones regardless of model behaviour. This satisfies the enforcement requirement because filtering happens outside the model, giving deterministic control over brand compliance.
- ✗
Use AWS IAM policies to restrict the model's output to only approved words.
Why it's wrong here
IAM policies govern which AWS principals may call Bedrock APIs and which models or regions they can invoke; they cannot inspect or filter generated token content. Tempting because IAM is the standard access-control mechanism, and it would be correct for restricting who can invoke a model, not what the model outputs.
- ✗
Encrypt the model responses using AWS KMS to prevent unauthorized viewing.
Why it's wrong here
KMS encryption protects model responses at rest or in transit from unauthorised viewing; it does not evaluate wording or tone against brand rules. Tempting because encryption is a common compliance control, and it would be correct where the requirement is protecting response confidentiality, not enforcing prohibited keywords.
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.