AWS Certified Database – Specialty — Question 297

An ecommerce company uses Amazon DynamoDB as the backend for its payments system. A new regulation requires the company to log all data access requests for financial audits. For this purpose, the company plans to use AWS logging and save logs to Amazon S3
How can a database specialist activate logging on the database?

Answer options

Correct answer: D

Explanation

AWS CloudTrail natively supports logging both control-plane (management) and data-plane (data events like GetItem or PutItem) operations for Amazon DynamoDB directly to an Amazon S3 bucket. Option D is the most straightforward and efficient solution because it avoids the unnecessary architectural complexity of using DynamoDB Streams, Amazon Kinesis Data Streams, or multiple CloudTrail trails as suggested in the other options.