2.5.6 · Lesson 25 of 25
Troubleshooting FM Applications
Production AI applications require observability.
Overview
Production AI applications require observability.
Three important tools/concepts in this outline:
CloudWatch
+
X-Ray
+
Amazon Q DeveloperCloudWatch Logs Insights
Useful for analyzing logs.
Example:
Request ↓ Lambda ↓ Bedrock ↓ Error ↓ CloudWatch Logs ↓ Logs Insights
You can investigate patterns such as:
- failures
- latency
- request behavior
- application errors
- model interaction logs
X-Ray
Use X-Ray to trace service interactions.
API Gateway
↓
Lambda
↓
Bedrock
↓
Other ServiceX-Ray helps determine where the request spent time or failed.
Amazon Q Developer
Can assist with understanding and recognizing development/error patterns.
Conceptually:
Error / Logs
↓
Developer
↓
Q Developer
↓
Diagnosis / Suggested FixKey points
- failures
- latency
- request behavior
- application errors
- model interaction logs
- CloudWatch Logs Insights
- X-Ray
- Amazon Q Developer
Exam focus
Know when and how to apply Troubleshooting FM Applications in production GenAI implementations.