A company is developing a new event-driven registration system that experiences highly unpredictable, short spikes in traffic during marketing campaigns, with long periods of complete inactivity. The system needs to execute lightweight backend logic to process registration requests, maintain strict processing sequence for order transactions, and store the registration details. The company wants to minimize costs during idle periods. Which two AWS service configurations should a solutions architect recommend to meet these requirements? (Select TWO.)
- AWS Lambda to execute the short-lived backend logic.Answer
- Amazon DynamoDB in on-demand capacity mode to store registration details.Answer
- CAn AWS Lambda function configured with a continuous loop to poll for incoming orders 24/7.
- DAmazon DynamoDB with provisioned capacity mode set to the maximum expected peak load.
- EA standard Amazon SQS queue to buffer requests that require strict sequential processing.
Answer
The correct options are the use of AWS Lambda for short-lived backend logic, and Amazon DynamoDB in on-demand capacity mode for storing registration details.
AWS Lambda and Amazon DynamoDB in on-demand capacity mode together form a fully serverless backend. Both services automatically scale to zero when there is no traffic, ensuring no compute or write/read database capacity charges are incurred during inactive periods, and scale instantly to handle spikes.
Step-by-Step Solution
Key Concept
Serverless architectures dynamically scale compute and database resources to match demand, minimizing idle costs for spiky, unpredictable workloads.