AWS Certified Database – Specialty — Question 272

A web-based application uses Amazon DocumentDB (with MongoDB compatibility) as its underlying data store. Sufficient access control is in place, but a database specialist wants to be able to review logs if the primary DocumentDB database is deleted.

Which combination of steps should the database specialist take to meet this requirement? (Choose two.)

Answer options

Correct answer: A, B

Explanation

To audit events in Amazon DocumentDB, you must first enable the audit_logs parameter in the cluster's parameter group. Exporting these logs to Amazon CloudWatch Logs ensures they are preserved and searchable even if the source DocumentDB cluster is deleted. Other options like Enhanced Monitoring, CloudTrail, or AWS Config do not capture or retain internal database engine audit logs.