Data Operations and Support
An auditor needs last month's application logs from a CloudWatch Logs log group delivered to Amazon S3. What should a data engineer do to create this one-time audit copy?
Show the answer
Correct answerD. Create a CloudWatch Logs export task for the required time range.
AWhy not this: A metric filter produces metric data from matching events, not an audit copy of the original logs.
BWhy not this: CloudTrail records AWS API activity; it does not copy existing application logs from a CloudWatch Logs log group.
CWhy not this: A subscription filter forwards incoming events and does not backfill last month's logs.
DWhy this is right: An export task delivers existing log events for a specified time range to an S3 bucket.
A CloudWatch Logs export task copies existing log events from a specified time range to S3. A subscription filter streams incoming events rather than exporting historical logs.