AWS Certified Generative AI – Professional (AIP-C01) — Question 39

A company is developing a generative AI (GenAI) application that uses Amazon Bedrock foundation models (FMs). 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 metrics 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?

Answer options

Correct answer: C

Explanation

Option C is correct because it leverages Amazon CloudWatch Logs and metric filters to analyze tool-specific invocation patterns, while using anomaly detection to automatically adjust thresholds based on changing usage patterns. Option A does not adapt to changing traffic patterns due to its static thresholds, while Option B lacks real-time monitoring and automatic adjustments, and Option D requires manual updates, which is not efficient.