Courseiva
easyMultiple ChoiceObjective-mapped

AIF-C01 Practice Question: Using Amazon Bedrock to deploy a foundation model

A company is using Amazon Bedrock to deploy a foundation model. To comply with GDPR, they need to ensure that the model does not generate outputs containing personally identifiable information (PII). Which AWS service can best help detect and redact PII from the model's responses?

⚠ Common exam trap

The AIF-C01 exam often tests the distinction between security monitoring services (GuardDuty, WAF) and content analysis services (Comprehend), leading candidates to mistakenly choose a network-level security tool for a data content problem.

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 Comprehend

Amazon Comprehend is the correct service because it provides a built-in PII detection and redaction capability that can be integrated with Amazon Bedrock. Using the `DetectPiiEntities` API, you can scan model responses for PII such as names, addresses, and credit card numbers, and then redact or mask those entities before returning the output to the user. This directly addresses the GDPR requirement to prevent PII leakage from generative AI outputs.

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 Comprehend

    Why this is correct

    Amazon Comprehend has PII detection and redaction features.

  • Amazon GuardDuty

    Why it's wrong here

    GuardDuty is a threat detection service, not for PII.

  • Amazon Rekognition

    Why it's wrong here

    Rekognition is for image/video analysis, not text PII detection.

  • AWS WAF

    Why it's wrong here

    AWS WAF is a web application firewall, not for PII detection.

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.