AIP-C01 Practice Question: Foundation Model Integration Data And Compliance
A company is integrating Amazon Bedrock with a private knowledge base. They need to ensure that PII is masked before the retrieved documents are passed to the Foundation Model. Which approach is most effective?
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 an AWS Lambda function with Amazon Comprehend to redact PII during the ingestion process into the Knowledge Base.
Amazon Comprehend can be integrated into the data ingestion pipeline to detect and redact PII before documents are indexed into the Amazon OpenSearch Serverless vector store.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configure the Bedrock Knowledge Base to use a custom encryption key for PII filtering.
Why it's wrong here
Encryption keys protect data at rest but do not provide logical redaction or masking of PII.
- ✗
Enable Amazon Macie on the S3 bucket and configure Bedrock to ignore flagged objects.
Why it's wrong here
Macie identifies PII but does not perform redaction as part of an automated ingestion pipeline.
- ✓
Implement an AWS Lambda function with Amazon Comprehend to redact PII during the ingestion process into the Knowledge Base.
Why this is correct
Pre-processing data using AWS Lambda and Amazon Comprehend before ingestion ensures sensitive data never reaches the vector index.
- ✗
Use Amazon Bedrock Guardrails to mask PII during the inference request.
Why it's wrong here
Guardrails filter content post-generation or pre-processing but do not redact PII from the vector database ingestion pipeline.
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 |
About these practice questions
This AIP-C01 question is part of Courseiva's 181-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Amazon Web Services exam blueprint
This AIP-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 AIP-C01 exam.