Question 1 · choose 1
A company's CRM emits a "case created" event for every new support case, up to 3,000 a minute after outages. A GenAI service must summarize each case and write the summary back through the CRM API. The CRM must never wait for the model, summaries may arrive a few minutes late, the model's quota allows about 200 concurrent requests, and failed cases must be kept for later analysis. Which integration meets these requirements?
- AHave the CRM call an Amazon API Gateway endpoint backed by a Lambda function that invokes the model and returns the summary in its response
- BRoute events through Amazon EventBridge to an SQS queue with a dead-letter queue, read by Lambda with maximum concurrency set
- CSend the events directly to a Lambda function that invokes the model, and raise the account concurrency limit for the burst
- DStart an AWS Step Functions Express workflow for each event that calls the model and retries until it succeeds
Show the answer and why
AHave the CRM call an Amazon API Gateway endpoint backed by a Lambda function that invokes the model and returns the summary in its response
Incorrect
This makes the CRM wait for every model call, and bursts of 3,000 requests a minute would hit the model quota directly.
BRoute events through Amazon EventBridge to an SQS queue with a dead-letter queue, read by Lambda with maximum concurrency set
Correct
EventBridge decouples the CRM, the queue absorbs bursts, the event source mapping's maximum concurrency caps parallel model calls below the quota, and the dead-letter queue keeps cases that keep failing.
CSend the events directly to a Lambda function that invokes the model, and raise the account concurrency limit for the burst
Incorrect
More Lambda concurrency increases parallel model calls during bursts, which causes throttling instead of smoothing the load.
DStart an AWS Step Functions Express workflow for each event that calls the model and retries until it succeeds
Incorrect
Thousands of parallel executions still call the model at the burst rate, and unlimited retries amplify throttling during an outage.
Loose coupling for GenAI means the producer never waits and the consumer controls the pace. A queue between EventBridge and the worker absorbs bursts, maximum concurrency keeps calls within the model quota, and a dead-letter queue isolates failures.
AWS documentation