
Answer-first summary for fast verification
Answer: Configure a CloudWatch Logs subscription filter to use Amazon Kinesis Data Firehose to stream all logs to an S3 bucket., Configure the S3 bucket lifecycle policy to transition logs to S3 Glacier after 90 days and to expire logs after 3.650 days.
The correct options are B and D. Option B is correct because Configuring a CloudWatch Logs subscription filter to use Amazon Kinesis Data Firehose allows streaming logs to an S3 bucket efficiently. Option D is also correct because configuring the S3 bucket lifecycle policy to transition logs to S3 Glacier after 90 days and to expire logs after 3,650 days (10 years) meets the requirements for both minimal access after 90 days and retention for 10 years. Option C is incorrect because subscription filters do not support direct streaming to an S3 bucket. Option A is incorrect because it involves using AWS Glue, which is more complex for this use case. Option E is incorrect because Reduced Redundancy storage is not appropriate for long-term archiving.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company requires archiving logs from Amazon CloudWatch Logs to an Amazon S3 bucket, with minimal access after 90 days and a retention period of 10 years. What are the appropriate steps for a DevOps engineer to implement this?
A
Configure a CloudWatch Logs subscription filter to use AWS Glue to transfer all logs to an S3 bucket.
B
Configure a CloudWatch Logs subscription filter to use Amazon Kinesis Data Firehose to stream all logs to an S3 bucket.
C
Configure a CloudWatch Logs subscription filter to stream all logs to an S3 bucket.
D
Configure the S3 bucket lifecycle policy to transition logs to S3 Glacier after 90 days and to expire logs after 3.650 days.
E
Configure the S3 bucket lifecycle policy to transition logs to Reduced Redundancy after 90 days and to expire logs after 3.650 days.
No comments yet.