AIF-C01 Fundamentals of Generative AI Practice Question
A healthcare startup is using Amazon Bedrock to generate clinical notes. They must prevent the model from outputting any personally identifiable information (PII) such as patient names. What is the most effective approach?
⚠ Common exam trap
AWS often tests the misconception that prompt engineering or fine-tuning alone can provide reliable content safety, when in fact guardrails (or similar policy-based controls) are required for deterministic enforcement in production environments.
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 a guardrail in Amazon Bedrock to deny PII topics
Amazon Bedrock Guardrails provide a native, policy-based mechanism to deny the generation of PII topics at inference time, without requiring model retraining or external filtering. This approach directly intercepts and blocks prohibited content before it is returned, offering the most reliable and maintainable solution for compliance with healthcare privacy regulations like HIPAA.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Fine-tune the model on de-identified data only
Why it's wrong here
Fine-tuning is expensive and time-consuming; it does not guarantee the model will never output PII.
- ✓
Configure a guardrail in Amazon Bedrock to deny PII topics
Why this is correct
Guardrails provide robust content filtering that can detect and block PII, making this the most effective approach.
- ✗
Use a prompt engineering technique to instruct the model to avoid PII
Why it's wrong here
Prompt engineering may not be sufficient as models can ignore instructions or be manipulated.
- ✗
Post-process the output with a regex filter
Why it's wrong here
Regex filters are prone to errors and can miss novel patterns of PII.
Go deeper
Related to this question
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 →
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.