AIF-C01 Fundamentals of Generative AI Practice Question
A company is building a generative AI application using Amazon Bedrock and needs to ensure that the model does not generate outputs containing personally identifiable information (PII). Which TWO actions should the company take? (Choose 2)
⚠ Common exam trap
The AIF-C01 exam often tests the distinction between network-level security controls (like VPCs) and content-level data protection mechanisms, leading candidates to mistakenly choose VPC isolation as a solution for PII redaction.
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
✓
Implement a custom AWS Lambda function to scan and redact PII from inputs and outputs.
A custom AWS Lambda function can be integrated into the application workflow to programmatically scan and redact PII from both inputs and outputs before they reach or leave the Bedrock model. This provides a flexible, code-driven approach to data sanitization, allowing the use of libraries like Amazon Comprehend or regex patterns to detect and mask PII entities such as names, addresses, and social security numbers.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Implement a custom AWS Lambda function to scan and redact PII from inputs and outputs.
Why this is correct
Lambda can use PII detection libraries to filter sensitive data.
- ✗
Use AWS Identity and Access Management (IAM) policies to restrict model access.
Why it's wrong here
IAM controls who can invoke the model, not what the model generates.
- ✗
Enable Amazon CloudWatch Logs to capture and audit model outputs.
Why it's wrong here
Logging helps audit but does not prevent PII from being generated.
- ✓
Configure Amazon Bedrock Guardrails to block or mask PII.
Why this is correct
Guardrails can detect and redact PII in both prompts and responses.
- ✗
Place the Bedrock model endpoint within a private VPC.
Why it's wrong here
VPC provides network security, not content filtering.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
About these practice questions
Courseiva writes every AIF-C01 question from scratch — 619 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 →
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.