
Explanation:
Option C is the correct answer because it meets all the requirements:
Option A: Uses static CloudWatch alarms with fixed thresholds, which doesn't meet the requirement for automatic threshold adjustment as traffic patterns change.
Option B: Uses batch processing with AWS Glue and Amazon Athena, which is good for historical analysis but not for real-time monitoring and automatic threshold adjustment.
Option D: Requires manual threshold updates, which doesn't meet the requirement for automatic threshold adjustment and adds operational overhead.
This solution provides real-time monitoring, adaptive thresholds, and minimal operational overhead while meeting all specified requirements.
Ultimate access to all questions.
No comments yet.
A company is developing a generative AI (GenAI) application that uses Amazon Bedrock foundation models. The application has several custom tool integrations. The application has experienced unexpected token consumption surges despite consistent user traffic.
The company needs a solution that uses Amazon Bedrock model invocation logging to monitor InputTokenCount and OutputTokenCount metrics. The solution must detect unusual patterns in tool usage and identify which specific tool integrations cause abnormal token consumption. The solution must also automatically adjust thresholds as traffic patterns change.
Which solution will meet these requirements?
A
Use Amazon CloudWatch Logs to capture model invocation logs. Create CloudWatch dashboards for token metrics. Configure static CloudWatch alarms with fixed thresholds for each tool integration.
B
Store model invocation logs in Amazon S3. Use AWS Glue and Amazon Athena to analyze token usage trends.
C
Use Amazon CloudWatch Logs to capture model invocation logs. Create CloudWatch metric filters to extract tool-specific invocation patterns. Apply CloudWatch anomaly detection alarms that automatically adjust baselines for each tool's token metrics.
D
Store model invocation logs in an Amazon S3 bucket. Use AWS Lambda to process logs in real time. Manually update CloudWatch alarm thresholds based on trends identified by the Lambda function.