🔥 3-day streak
AWS Certified Generative AI Developer - Professional2 / 166
Question 2 of 166

A developer is building a document summarization feature exposed through Amazon API Gateway (REST) backed by a Lambda function that calls Amazon Bedrock. Users upload large PDFs that are extracted to text, sometimes exceeding 8 MB of extracted content, and summarization occasionally takes 90 seconds. Clients report HTTP 500 errors and truncated responses on large documents. The team must deliver a reliable synchronous-feeling experience without changing the client's ability to poll for results. Which architecture change best addresses both the payload size and latency limits?

Reviewed for accuracy · Report an issueNext question