Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
An IoT application sends data to a RESTful API via AWS Lambda. It must handle variable request volumes and potential retries without data inconsistencies. Which service and approach best ensures idempotency for API requests?
A
Utilize Amazon RDS for MySQL, storing request identifiers in a table and checking them in Lambda before processing.
B
Use Amazon DynamoDB, storing identifiers and verifying them in Lambda to prevent duplicate processing.
C
Implement Amazon DynamoDB, but return client errors for duplicate requests without additional checks in Lambda.
D
Leverage Amazon ElastiCache for Memcached to cache identifiers, with Lambda checking the cache before processing.