🔥 3-day streak
AWS Certified Generative AI Developer - Professional10 / 166
Question 10 of 166
A developer builds a Bedrock Agent whose action group invokes a Lambda function that queries an internal inventory database. During testing, some queries return large result sets and the agent fails intermittently with errors, while smaller queries succeed. CloudWatch logs show the Lambda executes successfully and returns a JSON body, but the agent orchestration step errors out before generating a final response. What is the MOST likely cause and the appropriate fix?
Reviewed for accuracy · Report an issueNext question