A marketing company is using Amazon DocumentDB and requires that database audit logs be enabled. A Database Specialist needs to configure monitoring so that all data definition language (statements performed are visible to the Administrator. The Database Specialist has set the audit_logs parameter to enabled in the cluster parameter group. What should the Database Specialist do to automatically collect the database logs for the Administrator?
A.Enable DocumentDB to export the logs to Amazon CloudWatch Logs.
B.Enable DocumentDB to export the logs to AWS CloudTrail.
C.Enable DocumentDB Events to export the logs to Amazon CloudWatch Logs.
D.Configure an AWS Lambda function to download the logs using the download-db-log-file-portion operation and store the logs in Amazon S3.
Answer:A
A marketing company is using Amazon DocumentDB and requires that database audit logs be enabled. A Database Specialist needs to configure monitoring so that all data definition language (statements performed are visible to the Administrator. The Database Specialist has set the audit_logs parameter to enabled in the cluster parameter group. What should the Database Specialist do to automatically collect the database logs for the Administrator?
A.Enable DocumentDB to export the logs to Amazon CloudWatch Logs. B.Enable DocumentDB to export the logs to AWS CloudTrail. C.Enable DocumentDB Events to export the logs to Amazon CloudWatch Logs. D.Configure an AWS Lambda function to download the logs using the download-db-log-file-portion operation and store the logs in Amazon S3.
Explanation: https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html