Courseiva

AIF-C01 Fundamentals of Generative AI Practice Question

A developer is using Amazon Bedrock to create a chatbot. They want to ensure the bot does not generate toxic or offensive content. Which feature should they enable?

⚠ Common exam trap

A common misconception is that prompt engineering alone is sufficient for safety, when in fact Bedrock's content filtering is the explicit, managed feature designed to enforce content policies at runtime.

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

✓

Enable content filtering on the Bedrock model.

Amazon Bedrock provides built-in content filtering capabilities that can be enabled at the model invocation level to automatically detect and block toxic or offensive content in both input prompts and generated responses. This feature uses predefined safety filters (e.g., hate, insults, sexual content, violence) and is the most direct and managed way to prevent harmful outputs without requiring custom development.

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 careful prompt engineering to avoid toxic responses.

    Why it's wrong here

    Prompt engineering shapes input context but provides no deterministic enforcement against toxic output; a model can still emit offensive content regardless of instructions. It suits rapid prototyping of tone or format, not a compliance control. Bedrock Guardrails applies configurable content filters at inference.

  • ✗

    Fine-tune the model on a dataset of safe responses.

    Why it's wrong here

    Fine-tuning alters model weights toward safer outputs but cannot guarantee suppression of toxic generations at inference time; it is a training-time adaptation for domain or style alignment, not a runtime guardrail. The scenario requires an enableable Bedrock feature that filters content, which is Guardrails.

  • ✓

    Enable content filtering on the Bedrock model.

    Why this is correct

    Content filtering applies configurable thresholds that block or mask harmful categories such as hate, violence and sexual content in both prompts and responses. Enabling it on the Bedrock model directly satisfies the requirement to prevent toxic output from the chatbot.

  • ✗

    Implement external response validation using a third-party API.

    Why it's wrong here

    A third-party validation API adds latency, cost and an external dependency, and is not a Bedrock feature the developer can simply enable. It suits bespoke moderation pipelines outside AWS. Bedrock Guardrails provides native, configurable content filtering within the service.

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 →

How Courseiva writes practice questions · Editorial policy

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.