- A
Amazon Comprehend
Amazon Comprehend has PII detection and redaction features.
- B
Amazon GuardDuty
Why wrong: GuardDuty is a threat detection service, not for PII.
- C
Amazon Rekognition
Why wrong: Rekognition is for image/video analysis, not text PII detection.
- D
AWS WAF
Why wrong: AWS WAF is a web application firewall, not for PII detection.
AIF-C01 Practice Question: Security, Compliance and Governance for AI Solutions
This AIF-C01 practice question tests your understanding of security, compliance and governance for ai solutions. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
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?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"best"Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
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.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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.
Clue confirmation
The clue word "best" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
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.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Cisco 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.
Detailed technical explanation
How to think about this question
Under the hood, Amazon Comprehend uses a combination of machine learning models and pattern-based rules to identify PII entities across multiple categories (e.g., NAME, ADDRESS, SSN, CREDIT_DEBIT_NUMBER). When integrated with Bedrock, you can implement a middleware layer that calls Comprehend's `DetectPiiEntities` on the model's response, then uses the returned `Score` and `Type` fields to redact or mask the sensitive text. A subtle behavior is that Comprehend's PII detection is not 100% accurate, so for GDPR compliance you may need to combine it with additional validation or a confidence threshold to avoid false negatives.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Security, Compliance and Governance for AI Solutions — study guide chapter
Learn the concepts, then practise the questions
- →
Security, Compliance and Governance for AI Solutions practice questions
Targeted practice on this topic area only
- →
All AIF-C01 questions
500 questions across all exam domains
- →
AWS Certified AI Practitioner AIF-C01 study guide
Full concept coverage aligned to exam objectives
- →
AIF-C01 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AIF-C01 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Applications of Foundation Models practice questions
Practise AIF-C01 questions linked to Applications of Foundation Models.
Fundamentals of AI and ML practice questions
Practise AIF-C01 questions linked to Fundamentals of AI and ML.
Fundamentals of Generative AI practice questions
Practise AIF-C01 questions linked to Fundamentals of Generative AI.
Guidelines for Responsible AI practice questions
Practise AIF-C01 questions linked to Guidelines for Responsible AI.
Security, Compliance and Governance for AI Solutions practice questions
Practise AIF-C01 questions linked to Security, Compliance and Governance for AI Solutions.
AIF-C01 fundamentals practice questions
Practise AIF-C01 questions linked to AIF-C01 fundamentals.
AIF-C01 scenario practice questions
Practise AIF-C01 questions linked to AIF-C01 scenario.
AIF-C01 troubleshooting practice questions
Practise AIF-C01 questions linked to AIF-C01 troubleshooting.
Practice this exam
Start a free AIF-C01 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AIF-C01 question test?
Security, Compliance and Governance for AI Solutions — This question tests Security, Compliance and Governance for AI Solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: 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.
What should I do if I get this AIF-C01 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "best". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 25, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.