AIP-C01 practice question: Audit logging and source traceability (invocation logging, CloudTrail, Data Catalog)
AI Safety, Security, and Governance A free question from our original AIP-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.
A credit union uses Amazon Bedrock models in three applications: a card dispute assistant, a branch advisor tool and a collections email drafter. A member has complained about something they were told, and the compliance team must find exactly what the model received and returned.
Regulators require the credit union to keep each prompt and each response for seven years, encrypted, and to search them by member account. The team wants the complete content of every model call, including calls from applications it has not yet built.
The records must be inexpensive to keep for seven years and queryable with standard SQL when a complaint arrives. The team should not need to change every application.
Which solution meets these requirements at the LOWEST long-term cost?
Choose one answer.
AA. Turn on AWS CloudTrail for the account, keep its records for seven years in an encrypted S3 bucket, and query the logs with Amazon Athena whenever a complaint is received.
BB. Turn on model invocation logging for Amazon Bedrock with text data delivered to an encrypted S3 bucket that has a seven-year lifecycle rule, and query the stored records with Amazon Athena.
CC. Write each prompt and response from the three applications to Amazon CloudWatch Logs with a three-day retention setting, and export the logs to a data warehouse once a month for the compliance team.
DD. Use AWS Config to record every configuration change to the Bedrock resources, and keep that configuration history for seven years in an encrypted S3 bucket for the compliance team.
C. Wrong: A three-day retention setting deletes records long before the seven-year requirement, and each application would need changes to write them. A monthly export also leaves recent calls out of the record.
D. Wrong: AWS Config records the configuration of resources such as guardrails and endpoints, not the content of each model call. The credit union needs the prompts and responses themselves, which this history does not contain.
Explanation
Model invocation logging is an account-level setting that stores the text of each prompt and response, so applications need no changes. An encrypted S3 bucket with a seven-year lifecycle rule keeps storage inexpensive, and Athena queries the records with SQL. CloudTrail and AWS Config record calls and configuration rather than content, and short log retention loses the records.
Want more on Audit logging and source traceability (invocation logging, CloudTrail, Data Catalog)? The 5 full-length practice sets have 5 more Audit logging and source traceability (invocation logging, CloudTrail, Data Catalog) questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →