AIP-C01 practice question 4 of 15
A global healthcare company is deploying a GenAI application on Amazon Bedrock to produce treatment recommendations. Regulations vary for each…
Full set: 127 questionsThis solution comprehensively addresses all requirements using purpose-built AWS services. Amazon Bedrock's model invocation logging feature can be configured to send detailed logs, including prompts and responses, to Amazon CloudWatch Logs. These logs can then be archived to Amazon S3 to meet the 2-year retention requirement. Amazon Bedrock Prompt Management is designed for creating, managing, and versioning prompts. Using parameterized prompts allows for consistent terminology while variables adapt to local patient demographics. The versioning feature, combined with an organizational process, directly supports the need for an approval workflow before deploying prompt changes, ensuring governance and control.
A. AWS CloudTrail logs API management events (e.g., CreatePrompt), not the actual content of prompts and responses, failing the comprehensive logging requirement.
C. Using AWS Lambda for prompt generation and SQS for an approval workflow is overly complex and less manageable than the dedicated Bedrock Prompt Management service.
D. This approach uses services inappropriately. S3 Object Lock is for WORM compliance, not for managing prompt versions, and Bedrock Prompt Management is the superior, purpose-built tool.
1. Model Invocation Logging: The Amazon Bedrock User Guide explains how to log model invocations, including prompts and responses, to either Amazon CloudWatch Logs or Amazon S3. This directly supports the logging, auditing, and retention requirements.
Source: AWS Documentation, Amazon Bedrock User Guide, section "Monitor Amazon Bedrock," subsection "Log model invocations."
2. Prompt Management and Versioning: The Amazon Bedrock User Guide details the use of prompt libraries for managing and reusing prompts. It describes creating placeholders (variables) for dynamic content and managing different versions of a prompt, which is essential for the approval workflow and adapting to demographics.
Source: AWS Documentation, Amazon Bedrock User Guide, section "Prompts," subsection "Manage prompts in a library."
3. Long-term Log Retention: The Amazon CloudWatch Logs User Guide describes the process of exporting log data to Amazon S3. This is a standard pattern for cost-effective, long-term retention and archival, fulfilling the 2-year requirement.
Source: AWS Documentation, Amazon CloudWatch Logs User Guide, section "Working with log groups and log streams," subsection "Export log data to Amazon S3."
Keep practicing
Take the free AIP-C01 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AIP-C01 practice questions
- Question 1A company is designing a canary deployment strategy for a payment processing API. The sys…
- Question 2A company is developing a customer communication platform that uses an AI assistant power…
- Question 3An ecommerce company is developing a generative AI application that uses Amazon Bedrock w…
- Question 5A medical company is creating a generative AI (GenAI) system by using Amazon Bedrock. The…
- Question 6A company is developing three specialized NLP models that support a customer service appl…
- Question 7A financial services company is developing a customer service AI assistant by using Amazo…
