Ultimate access to all questions.
As the new project lead for a web application responsible for processing customer orders, you want to implement an event-driven architecture. This architecture should trigger certain actions whenever data is modified or deleted within the system. You aim to adopt a serverless approach utilizing AWS Lambda functions to handle stream events efficiently.
Given these requirements, which of the following databases would be the most suitable choice for your project?
Explanation:
DynamoDB
A DynamoDB stream is an ordered flow of information about changes to items in a DynamoDB table. When you enable a stream on a table, DynamoDB Streams captures a time-ordered sequence of item-level modifications in any DynamoDB table, and stores this information in a log for up to 24 hours. Applications can access this log and view the data items as they appeared before and after they were modified, in near real-time.
Whenever an application creates, updates, or deletes items in the table, DynamoDB Streams writes a stream record with the primary key attributes of the items that were modified.