Courseiva
Fundamentals of Generative AImediumMultiple ChoiceObjective-mapped

AIF-C01 Fundamentals of Generative AI Practice Question

A developer is using the Amazon Bedrock API to generate text. They notice that the model sometimes returns harmful content despite setting safety parameters. What is the BEST way to add an additional layer of content filtering?

⚠ Common exam trap

The AIF-C01 exam often tests the misconception that fine-tuning or prompt engineering alone can fully prevent harmful outputs, when in fact a separate, configurable guardrail layer is the recommended approach for production-grade content filtering in Amazon Bedrock.

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 content filters in Amazon Bedrock Guardrails

Amazon Bedrock Guardrails provides a dedicated, configurable content filtering layer that can block harmful content at inference time, independent of the model's built-in safety parameters. This allows developers to enforce custom policies (e.g., hate speech, violence) without modifying the model itself, making it the best additional safeguard.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Fine-tune the model on a curated safe dataset

    Why it's wrong here

    Fine-tuning may reduce but not eliminate harmful outputs and is resource-intensive.

  • Configure content filters in Amazon Bedrock Guardrails

    Why this is correct

    Guardrails provide configurable content filters to block harmful content.

  • Improve prompt engineering with more specific instructions

    Why it's wrong here

    Prompt engineering can help but is not a guaranteed safety layer.

  • Use AWS WAF to filter API responses

    Why it's wrong here

    WAF is for web traffic, not for model response content.

About these practice questions

One of 619 original AIF-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.