- A
Fine-tune the model on de-identified data only
Why wrong: Fine-tuning is expensive and time-consuming; it does not guarantee the model will never output PII.
- B
Configure a guardrail in Amazon Bedrock to deny PII topics
Guardrails provide robust content filtering that can detect and block PII, making this the most effective approach.
- C
Use a prompt engineering technique to instruct the model to avoid PII
Why wrong: Prompt engineering may not be sufficient as models can ignore instructions or be manipulated.
- D
Post-process the output with a regex filter
Why wrong: Regex filters are prone to errors and can miss novel patterns of PII.
Quick Answer
The answer is to configure a guardrail in Amazon Bedrock to deny PII topics, as this is the most effective approach for preventing PII leakage. Bedrock Guardrails provide a dedicated, managed content filtering layer that can explicitly block categories of sensitive information, such as patient names, before the model generates output. This is more reliable than prompt engineering, which users can circumvent, and avoids the cost and uncertainty of fine-tuning on de-identified data or the brittleness of regex post-processing. On the AWS Certified AI Practitioner AIF-C01 exam, this scenario tests your understanding of when to use guardrails versus other mitigation techniques—a common trap is assuming prompt instructions alone are sufficient. Remember the mnemonic: Guardrails Guard the Gate, while prompts are just polite requests.
AIF-C01 Fundamentals of Generative AI Practice Question
This AIF-C01 practice question tests your understanding of fundamentals of generative ai. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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 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?
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
Option B is correct because Amazon Bedrock guardrails provide content filtering that can deny PII topics and block sensitive information. Option A (prompt engineering) can be bypassed. Option C (fine-tuning on de-identified data) is costly and not guaranteed. Option D (regex post-processing) is brittle and incomplete.
Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
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.
Related concept
Static NAT maps one inside address to one outside address.
- ✗
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.
Common exam traps
Common exam trap: NAT rules depend on direction and matching traffic
NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.
Trap categories for this question
Command / output trap
Fine-tuning is expensive and time-consuming; it does not guarantee the model will never output PII.
Detailed technical explanation
How to think about this question
NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.
KKey Concepts to Remember
- Static NAT maps one inside address to one outside address.
- PAT allows many inside hosts to share one public address using ports.
- Inside local and inside global describe the private and translated addresses.
- NAT ACLs identify traffic for translation, not always security filtering.
TExam Day Tips
- Identify inside and outside interfaces first.
- Check whether the scenario needs static NAT, dynamic NAT or PAT.
- Do not confuse NAT matching ACLs with normal packet-filtering intent.
Key takeaway
NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Real-world example
How this comes up in practice
A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.
What to study next
Got this wrong? Here's your next step.
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related AIF-C01 NAT questions on configuration and troubleshooting.
- →
Fundamentals of Generative AI — study guide chapter
Learn the concepts, then practise the questions
- →
Fundamentals of Generative AI 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?
Fundamentals of Generative AI — This question tests Fundamentals of Generative AI — Static NAT maps one inside address to one outside address..
What is the correct answer to this question?
The correct answer is: Configure a guardrail in Amazon Bedrock to deny PII topics — Option B is correct because Amazon Bedrock guardrails provide content filtering that can deny PII topics and block sensitive information. Option A (prompt engineering) can be bypassed. Option C (fine-tuning on de-identified data) is costly and not guaranteed. Option D (regex post-processing) is brittle and incomplete.
What should I do if I get this AIF-C01 question wrong?
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related AIF-C01 NAT questions on configuration and troubleshooting.
What is the key concept behind this question?
Static NAT maps one inside address to one outside address.
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 →
Same concept, more angles
2 more ways this is tested on AIF-C01
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company is using Amazon Bedrock to generate marketing copy. They want to ensure the output is safe and appropriate. Which TWO actions should they take? (Choose 2.)
medium- ✓ A.Enable content filtering with guardrails
- B.Set temperature to 0 for deterministic output
- C.Use model fine-tuning with unsafe examples
- D.Use a private endpoint for Bedrock
- ✓ E.Implement human review of all generated content
Why A: Options A and D are correct. Guardrails filter content in real time, and human review catches subtle issues. Option B (fine-tuning with unsafe examples) could introduce bias. Option C (low temperature) reduces creativity but does not ensure safety. Option E (private endpoint) addresses networking, not content safety.
Variation 2. A developer is using the Amazon Bedrock API to generate text. They notice that the model sometimes returns harmful content despite setting safety parameters. What is the BEST way to add an additional layer of content filtering?
medium- A.Fine-tune the model on a curated safe dataset
- ✓ B.Configure content filters in Amazon Bedrock Guardrails
- C.Improve prompt engineering with more specific instructions
- D.Use AWS WAF to filter API responses
Why B: Amazon Bedrock Guardrails provides a dedicated, configurable content filtering layer that can block harmful content at inference time, independent of the model's built-in safety parameters. This allows developers to enforce custom policies (e.g., hate speech, violence) without modifying the model itself, making it the best additional safeguard.
Last reviewed: Jun 23, 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.