Question 127:
You use DynamoDB to store the customer banking data. You need to create an audit log of all changes to the data. It’s important not to lose any information. What is an elegant way to accomplish this?
Answer options:
A.Use a DynamoDB Stream and stream all changes to AWS Lambda. Log the changes to AWS CloudWatch Logs, removing sensitive information before logging. B.Before writing to DynamoDB, do a pre-write acknowledgment to disk on the application server, removing sensitive information before logging. Periodically rotate these log files into S3. C.Use a DynamoDB Stream and periodically flush to an EC2 instance store, removing sensitive information before putting the objects. Periodically flush these logs to S3. D.Before writing to DynamoDB, do a pre-write acknowledgment to disk on the application server, removing sensitive information before logging. Periodically pipe these files into CloudWatch Logs.