Medium1 markMultiple Choice
AWS SAA-C03 · Question 65 · Domain 4.1: Storage Cost Optimization
A company has a fleet of EC2 instances that generate log files. The logs are sent to Amazon CloudWatch Logs. The company needs to retain these logs for 5 years for compliance, but they are rarely queried after 30 days. What is the MOST cost-effective way to store these logs long-term?
A company has a fleet of EC2 instances that generate log files. The logs are sent to Amazon CloudWatch Logs. The company needs to retain these logs for 5 years for compliance, but they are rarely queried after 30 days. What is the MOST cost-effective way to store these logs long-term?
Answer options:
A.
Keep the logs in CloudWatch Logs and set the retention period to 5 years.
B.
Export the logs from CloudWatch to Amazon S3, and use a lifecycle policy to transition them to S3 Glacier Deep Archive.
C.
Stream the logs to Amazon OpenSearch Service and retain them there.
D.
Use AWS Backup to backup the CloudWatch Logs to AWS Storage Gateway.
How to approach this question
Identify the need for 5-year retention of rarely accessed data. S3 Glacier Deep Archive is always the cheapest option for this.
Full Answer
B.Export the logs from CloudWatch to Amazon S3, and use a lifecycle policy to transition them to S3 Glacier Deep Archive.✓ Correct
Export the logs from CloudWatch to Amazon S3, and use a lifecycle policy to transition them to S3 Glacier Deep Archive.
CloudWatch Logs storage is more expensive than S3. Exporting logs to S3 and transitioning them to Glacier Deep Archive provides the lowest possible cost for long-term compliance archiving.
Common mistakes
Leaving logs in CloudWatch indefinitely, which incurs unnecessary storage costs.
Practice the full AWS SAA-C03 Practice Exam 7
65 questions · hints · full answers · grading
More questions from this exam
Q01A company has multiple AWS accounts in an AWS Organizations organization. The security team needs...MediumQ02An application runs on Amazon EC2 instances and needs to access an Amazon S3 bucket. What is the ...EasyQ03A company wants to implement federated access to the AWS Management Console for its employees usi...MediumQ04A company is building a mobile application that requires users to sign in using their social medi...EasyQ05A security team wants to enforce MFA for all IAM users before they can terminate EC2 instances. H...Medium
Expert