🔥 3-day streak
AWS Certified DevOps Engineer - Professional69 / 204
Question 69 of 204

A company centralizes application logs from dozens of Lambda functions and ECS services into CloudWatch Logs. The compliance team requires that logs be retained for 7 years for audit purposes, but the finance team reports that CloudWatch Logs storage costs have grown significantly because most log groups use the default 'Never expire' retention setting. Engineers only actively query logs from the past 30 days. Which approach minimizes cost while meeting the 7-year retention requirement and preserving query capability for recent logs?

Reviewed for accuracy · Report an issueNext question