An assistant's monthly bill jumped, and some answers seem off-topic. Which two monitoring measures help catch these issues early? (Select TWO.)
- Exam domain
- Operational Efficiency and Optimization for GenAI Applications12% of the exam
- Difficulty
- Medium
- In this mock
- 12 questions on this domainPractise this domain
Why the exam asks this
Task 4.3: Implement monitoring systems for GenAI applications.
Objective in the exam guide: Skill 4.3.2: Implement comprehensive GenAI monitoring systems to proactively identify issues (for example, by using CloudWatch to track token usage, anomaly detection for token burst patterns and response drift, Amazon Bedrock Model Invocation Logs).
GenAI failures show up as cost spikes and quiet quality drift, which standard infrastructure monitoring misses. Catching them early saves money and trust.
Why D and E are the answers
A multiple-response question. Choose two. There is no credit for picking only some of them.
CloudWatch metrics and anomaly detection on token usage
Bedrock model invocation logs analyzed for response quality and drift
Token anomaly detection catches cost spikes, and invocation logs reveal quality drift in real responses.
Remember: Monitor GenAI-specific signals: tokens for cost, logged responses for quality.
How it works
Bedrock publishes metrics to CloudWatch, such as invocations and token counts, which can be alarmed on.
CloudWatch anomaly detection learns normal patterns and flags unusual spikes, such as a sudden jump in tokens.
Bedrock model invocation logs record requests and responses, which can be analyzed for off-topic answers and drift.
Clues in the question
The words that point to the answer, and what each one tells you.
- Bill jumped
- Track tokens and detect anomalies.
- Answers seem off-topic
- Analyze real responses for drift.
In detail
- GenAI monitoring tracks tokens, prompt effectiveness, hallucination rates and response quality, not just infrastructure.
- Cost anomaly detection flags unusual spending patterns.
Side by side with look-alikes
| Measure | Catches |
|---|---|
| Token anomaly detection | Cost spikes |
| Invocation log analysis | Quality drift |
| CPU only | Neither |
| Yearly review | Too late |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A yearly cost reviewWrong
A yearly review finds the problem months late.
B. Disabling logging to save storageWrong
Disabling logging removes the evidence.
C. Watching only CPU usageWrongMost tempting
CPU says little about token cost or answer quality.
Why it tempts: CPU is the classic health metric. But a managed model's cost and quality problems do not show up in your CPU graphs.
D. CloudWatch metrics and anomaly detection on token usageRight
Token anomaly detection catches cost spikes, and invocation logs reveal quality drift in real responses.
E. Bedrock model invocation logs analyzed for response quality and driftRight
Token anomaly detection catches cost spikes, and invocation logs reveal quality drift in real responses.
In practice
- Alarm on tokens per hour against a learned baseline.
- Sample logged responses daily and score them automatically.
Use case
An illustrative scenario, not a real incident.
An alarm on unusual token volume fires within an hour of a prompt bug that doubled context size.
See how it works
xychart-beta x-axis ["08:00", "09:00", "10:00", "11:00", "12:00", "13:00"] y-axis "Tokens per hour (thousands)" 0 --> 900 line [210, 230, 220, 640, 720, 700] line [240, 240, 240, 240, 240, 240]
How to read this chart
- The flat line is the normal level learned by anomaly detection.
- At 11:00 token use jumps far above it, for example after a bad prompt change.
- An alarm here catches the cost problem within the hour, not at month end.