Courseiva
Applications of Foundation ModelsmediumMultiple ChoiceObjective-mapped

AIF-C01 Applications of Foundation Models Practice Question

A company is using a foundation model on Amazon Bedrock to generate customer support responses. They notice that the model sometimes produces harmful or offensive content. Which approach is MOST effective to mitigate this issue?

⚠ Common exam trap

The AIF-C01 exam often tests the misconception that prompt engineering or fine-tuning alone is sufficient for safety, when in fact a dedicated guardrail mechanism is required for reliable, policy-based content filtering at inference time.

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

Amazon Bedrock Guardrails provides configurable content filters that can block harmful, offensive, or inappropriate content in both user inputs and model outputs. This is the most effective approach because it operates at the inference layer, applying safety policies consistently across all requests without requiring model retraining or manual review. Prompt engineering alone is unreliable, and fine-tuning may not generalize to all harmful content patterns.

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 prompt engineering to instruct the model to avoid harmful content

    Why it's wrong here

    Prompt engineering can be bypassed by adversarial inputs.

  • Enable model invocation logging to review and block responses

    Why it's wrong here

    Logging does not prevent harmful outputs; it only records them.

  • Fine-tune the model on a curated dataset of safe responses

    Why it's wrong here

    Fine-tuning reduces but does not eliminate harmful outputs; guardrails are more robust.

  • Configure Amazon Bedrock Guardrails with content filters

    Why this is correct

    Guardrails provide configurable filters that block harmful content at inference time.

About these practice questions

This AIF-C01 question is part of Courseiva's 619-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.