AWS Certified Security – Specialty — Question 357

A company recently began using Amazon Route 53 as its DNS provider. The company must log public DNS queries that Route 53 receives. The company has activated Route 53 public DNS query logging. The queries must be stored in a highly durable storage solution that deletes logs that are older than 1 year.

Which solution will meet these requirements MOST cost-effectively?

Answer options

Correct answer: A

Explanation

Amazon S3 provides highly durable and extremely cost-effective storage compared to Amazon CloudWatch Logs, making it the ideal choice for long-term archiving. Utilizing an S3 Lifecycle policy to delete objects older than 1 year is a native, automated, and zero-cost mechanism, unlike custom AWS Lambda functions which incur extra execution costs. CloudWatch Logs solutions are more expensive overall, and CloudWatch Logs Insights does not support deleting individual log entries.