AWS Certified DevOps Engineer – Professional — Question 76

A company manages an application that stores logs in Amazon CloudWatch Logs. The company wants to archive the logs in Amazon S3. Logs are rarely accessed after 90 days and must be retained for 10 years.

Which combination of steps should a DevOps engineer take to meet these requirements? (Choose two.)

Answer options

Correct answer: B, D

Explanation

Option B is correct because using Amazon Kinesis Data Firehose allows for real-time streaming of logs to S3, ensuring they are archived efficiently. Option D is also correct as it establishes a lifecycle policy that moves the logs to S3 Glacier for cost-effective long-term storage after 90 days and sets a retention period of 10 years. The other options either do not utilize appropriate services for log transfer or use incorrect lifecycle policies.