Courseiva

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 only steers the model probabilistically; it cannot guarantee harmful output is blocked, so it fails as a mitigation control. It is tempting because it requires no infrastructure change, making it suitable for shaping tone and format when outputs are already acceptable.

  • ✗

    Enable model invocation logging to review and block responses

    Why it's wrong here

    Invocation logging records requests and responses for later audit; it does not intercept or block harmful content in real time, so offensive responses still reach customers. It is tempting because it provides visibility, making it appropriate for compliance evidence and post-incident investigation rather than prevention.

  • ✗

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

    Why it's wrong here

    Fine-tuning adjusts model weights for domain style and task accuracy; it does not reliably eliminate harmful generations and is costly to repeat. It is tempting because it improves response quality, making it suitable when the model needs specialised terminology or consistent formatting, not safety enforcement.

  • ✓

    Configure Amazon Bedrock Guardrails with content filters

    Why this is correct

    Guardrails apply configurable content filters that evaluate both prompts and model responses, blocking harmful categories before they reach the user. This enforces safety at the Bedrock layer without retraining the foundation model, directly addressing the offensive-output constraint.

About these practice questions

This AIF-C01 question is part of Courseiva's 862-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.