AWS AI Practitioner AIF-C01 · Security, Compliance, and Governance for AI Solutions · medium
A regulated financial firm using Amazon Bedrock must capture the full prompt input text, generated response text, token counts, and IAM caller metadata for every foundation model invocation into an encrypted Amazon S3 bucket and Amazon CloudWatch Logs for compliance auditing. By default, AWS CloudTrail logs only control-plane management events (CreateGuardrail, etc.) and not the full prompt/response bodies. Which Bedrock feature must the administrator enable?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: D. Bedrock Model Invocation Logging to S3 and CloudWatch
Amazon Bedrock Model Invocation Logging is an opt-in setting, configured per account and Region, that delivers invocation records to Amazon S3, Amazon CloudWatch Logs, or both. Each record includes the input prompt, the generated output, token counts, the model ID, and the IAM identity that made the call. That matches the requirement exactly. AWS CloudTrail records Bedrock API activity as management events, such as creating a guardrail, but it does not capture the prompt and response bodies of model invocations. That gap is why the feature must be enabled separately. For an encrypted destination, the bucket and log group can use AWS KMS keys. The common trap is assuming CloudTrail alone provides full audit content. Another trap is choosing a service that logs something related, such as DNS, billing, or web access, instead of the Bedrock-native feature that records the model payloads.
Why the other options are wrong
- A. Amazon Route 53 Public Hosted Zone DNS query logging — Route 53 query logging records DNS lookups for domains in a hosted zone, such as the name queried, the type, and the response code. It has no visibility into Bedrock prompts, completions, or token counts, and Bedrock invocations are not DNS queries to your hosted zone.
- B. AWS Billing and Cost Management monthly CSV invoice reports — Billing and Cost Management reports summarize charges and aggregated usage for compliance and finance purposes. They do not contain the prompt text, response text, or per-invocation IAM caller details that an audit of model invocations requires.
- C. Amazon S3 Static Website Hosting HTTP access logs — S3 static website hosting access logs record HTTP requests made to a bucket serving a website, such as the requester IP and the object requested. They have no relationship to Bedrock model invocations and cannot capture prompts or generated responses.
More Security, Compliance, and Governance for AI Solutions questions
- A chief information security officer (CISO) asks whether proprietary source code and customer prompts sent to Amazon…
- A regulated healthcare company runs an application in a private VPC subnet (with no internet access) that invokes…
- A multi-tenant SaaS provider uses Amazon SageMaker AI and Amazon Bedrock across five product teams (Retail…
- A hospital deploys a clinical mortality-risk model on an Amazon SageMaker real-time endpoint. Six months later…
- An organization is preparing for an external ISO/IEC 42001 (AI Management System) and SOC 2 audit of its Amazon…
All Security, Compliance, and Governance for AI Solutions questions and the topic overview →
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.