AIP-C01

Introduction to Monitoring GenAI Applications

Collecting Amazon Bedrock metrics and model invocation logs, monitoring token usage, quality, hallucination and drift with anomaly detection, and building dashboards, business metrics and forensic traceability.

  • 3 lessons
  • Module quiz

Monitoring a generative AI application involves more than checking that it is available. An application can respond quickly with no errors while its answers become less accurate, its token usage doubles or its users stop trusting it. Monitoring must therefore track quality and cost as well as the usual operational signals.

Amazon Bedrock publishes operational metrics to CloudWatch in the AWS/Bedrock namespace, such as invocations, latency, errors, throttles and token counts. Model invocation logging, which is off by default, records full prompts and responses for debugging, quality analysis and audit. On top of these, teams define generative AI key performance indicators, such as grounding failures and user ratings, and use CloudWatch anomaly detection for unusual token bursts and AWS Cost Anomaly Detection for unexpected spending. Dashboards serve operators, product owners and executives, and forensic traceability links every record of a request by a shared ID.

What the exam expects

Questions test which source answers which question: metrics for counts and latency, invocation logs for prompt and response content, and AWS CloudTrail for who called or changed what, without prompt content. A recurring point is that operational metrics cannot detect drift in quality, so quality metrics must be added.

How this module is organised

Monitoring Bedrock with CloudWatch Metrics and Invocation Logging explains the built-in metrics and logs. Monitoring Token Usage, Quality and Behavioral Drift explains generative AI KPIs, anomaly detection and drift. Building Dashboards and Forensic Traceability for Generative AI explains dashboards for each audience and how requests are traced end to end.

  1. Monitoring Bedrock with CloudWatch Metrics and Invocation Logging Lesson 1
  2. Monitoring Token Usage, Quality and Behavioral Drift Lesson 2
  3. Building Dashboards and Forensic Traceability for Generative AI Lesson 3
  4. Practise and review
  5. Checkpoint Practice activities across the module
  6. Test your knowledge 3 questions