AIF-C01 Practice Question: Security, Compliance, and Governance for AI Solutions
A security engineer is configuring logging for Amazon Bedrock model invocations. They need to capture both the input and output of all API calls for compliance audits. Which set of steps should they take?
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
✓
Enable Bedrock model invocation logging and specify an S3 bucket and optionally CloudWatch Logs as the destination
Bedrock model invocation logging captures inputs and outputs to S3 and/or CloudWatch Logs. CloudTrail records API calls but not the model inputs/outputs.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Enable Bedrock model invocation logging and specify an S3 bucket and optionally CloudWatch Logs as the destination
Why this is correct
Enabling model invocation logging in Bedrock and designating an S3 bucket (with optional CloudWatch Logs) captures both the request input and the model output for every API call, directly meeting the compliance audit requirement to record full invocation content.
- ✗
Enable CloudTrail for the Bedrock API and configure S3 event notifications
Why it's wrong here
CloudTrail records Bedrock control-plane API activity, not the request and response payloads containing prompts and completions, and S3 event notifications only fire on object changes. Model invocation logging is the correct mechanism; CloudTrail suits auditing who called which API, not capturing content.
- ✗
Use VPC Flow Logs to capture network traffic and reconstruct model inputs from packet data
Why it's wrong here
VPC Flow Logs record IP metadata such as addresses, ports and bytes, not request or response payloads, so prompts and completions cannot be reconstructed. It tempts as an existing network-visibility tool, and it would be right for auditing connectivity and traffic patterns rather than Bedrock invocation content.
- ✗
Enable AWS Config rules for Bedrock and stream logs to Amazon Kinesis
Why it's wrong here
AWS Config evaluates resource configuration compliance and does not capture Bedrock request or response bodies, so streaming it to Kinesis yields no invocation content. It tempts because Config and Kinesis are familiar audit pipelines, and it would be right for tracking configuration drift, not logging model inputs and outputs.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
One of 862 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.