Courseiva
mediumMultiple Choice

AIF-C01 Practice Question: Building a generative AI application using Amazon…

A company is building a generative AI application using Amazon Bedrock. They need to ensure that the model does not generate responses containing personally identifiable information (PII) such as credit card numbers or social security numbers. Which Bedrock feature should they configure?

⚠ Common exam trap

The trap is that candidates may mistakenly believe that other Bedrock features like Knowledge Bases or Agents include built-in PII filtering, or that the Amazon Bedrock Studio interface provides such controls. However, only Bedrock Guardrails offers dedicated configurable safeguards for sensitive information filtering.

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 provides configurable safeguards to filter and block sensitive content, including PII like credit card numbers and social security numbers, from being generated in model responses. It allows you to define denied topics, content filters, and sensitive information filters that are applied at inference time, ensuring compliance with data privacy requirements without modifying the underlying foundation 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 Bedrock Knowledge Bases

    Why it's wrong here

    Knowledge Bases perform retrieval-augmented generation by grounding responses in supplied documents; they do not inspect or block PII in model output. It is tempting because they govern what information the model draws on, which suits scenarios requiring answers sourced from a curated internal corpus rather than open generation.

  • ✗

    Amazon Bedrock Agents

    Why it's wrong here

    Agents orchestrate API calls and multi-step tasks; they do not scan generated responses for PII, so credit card or social security numbers could still be emitted. It is tempting because agents extend model capability, which suits building task-automating assistants that invoke external systems rather than applying content guardrails.

  • ✓

    Amazon Bedrock Guardrails

    Why this is correct

    Guardrails applies configurable content filters and sensitive information filters that detect and block PII such as credit card and social security numbers in both prompts and model responses, directly satisfying the requirement to prevent PII leakage without altering the underlying foundation model.

  • ✗

    Amazon Bedrock batch inference

    Why it's wrong here

    Batch inference processes large volumes of prompts asynchronously for offline jobs; it applies no content filtering to generated text, so PII can still appear. It is tempting because it efficiently handles bulk workloads, making it the right pick when running many non-interactive inference requests rather than enforcing output safeguards.

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.