Courseiva

AIF-C01 Fundamentals of Generative AI Practice Question

A developer is creating a generative AI application using Amazon Bedrock and needs to ensure that responses do not include toxic or harmful content. Which feature should be enabled?

⚠ Common exam trap

Test-takers frequently confuse monitoring/logging services (CloudWatch) or security controls (VPC, IAM) with content safety features, not realizing that Bedrock Guardrails is the only option that directly filters toxic or harmful content at the application layer.

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

✓

Amazon Bedrock Guardrails.

Amazon Bedrock Guardrails is the correct feature because it is specifically designed to enforce content policies, filter toxic or harmful content, and block undesirable topics in generative AI responses. It provides configurable thresholds for hate, insults, sexual content, violence, and other harmful categories, ensuring compliance with safety requirements without modifying the underlying model.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Amazon CloudWatch Logs for prompt logging.

    Why it's wrong here

    CloudWatch Logs records prompts and responses for observability after the fact; it neither blocks nor alters harmful output before it is returned. It is the correct choice when the requirement is auditing, debugging or monitoring model invocation traffic, not preventing toxic content.

  • ✗

    Amazon Virtual Private Cloud (VPC) for network isolation.

    Why it's wrong here

    A VPC isolates network traffic between your resources and Bedrock endpoints; it has no visibility into the semantic content of model responses, so toxic text passes through unchanged. VPC endpoints are correct when the requirement is private connectivity that avoids the public internet.

  • ✓

    Amazon Bedrock Guardrails.

    Why this is correct

    Guardrails applies configurable content filters and denied-topic policies to both prompts and responses, blocking toxic or harmful output at inference time. This satisfies the requirement that responses never include harmful content, without retraining or prompt engineering.

  • ✗

    AWS Identity and Access Management (IAM) policies.

    Why it's wrong here

    IAM policies govern which principals may invoke Bedrock models and APIs; they do not inspect or filter generated text, so toxic output still reaches users. They are the right control for authentication and least-privilege access to Bedrock resources, which is a different requirement from content moderation.

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.