Skip to Content

AWS SAA-C03: Cost-Effective AWS Log Storage with S3 and Glacier Flexible Retrieval

Discover how to optimize costs while meeting log storage and retention requirements by leveraging Amazon S3 Standard-IA and Glacier Flexible Retrieval storage classes for your AWS log data.

Table of Contents

Question

A company wants to build a logging solution for its multiple AWS accounts. The company currently stores the logs from all accounts in a centralized account. The company has created an Amazon S3 bucket in the centralized account to store the VPC flow logs and AWS CloudTrail logs. All logs must be highly available for 30 days for frequent analysis, retained for an additional 60 days for backup purposes, and deleted 90 days after creation.

Which solution will meet these requirements MOST cost-effectively?

A. Transition objects to the S3 Standard storage class 30 days after creation. Write an expiration action that directs Amazon S3 to delete objects after 90 days.
B. Transition objects to the S3 Standard-Infrequent Access (S3 Standard-IA) storage class 30 days after creation. Move all objects to the S3 Glacier Flexible Retrieval storage class after 90 days. Write an expiration action that directs Amazon S3 to delete objects after 90 days.
C. Transition objects to the S3 Glacier Flexible Retrieval storage class 30 days after creation. Write an expiration action that directs Amazon S3 to delete objects after 90 days.
D. Transition objects to the S3 One Zone-Infrequent Access (S3 One Zone-IA) storage class 30 days after creation. Move all objects to the S3 Glacier Flexible Retrieval storage class after 90 days. Write an expiration action that directs Amazon S3 to delete objects after 90 days.

Answer

B. Transition objects to the S3 Standard-Infrequent Access (S3 Standard-IA) storage class 30 days after creation. Move all objects to the S3 Glacier Flexible Retrieval storage class after 90 days. Write an expiration action that directs Amazon S3 to delete objects after 90 days.

Explanation

This solution meets the company’s requirements for log storage and retention while optimizing costs by leveraging different Amazon S3 storage classes based on access patterns and retention periods.

  1. Transition objects to the S3 Standard-Infrequent Access (S3 Standard-IA) storage class 30 days after creation:
    • For the first 30 days, the logs are stored in the S3 Standard storage class, providing high availability and low-latency access for frequent analysis.
    • After 30 days, the objects are transitioned to the S3 Standard-IA storage class, which offers lower storage costs for data that is accessed less frequently.
  2. Move all objects to the S3 Glacier Flexible Retrieval storage class after 90 days:
    • After 90 days, the objects are moved to the S3 Glacier Flexible Retrieval storage class, which provides a cost-effective storage solution for archive data with retrieval times ranging from 1 to 5 hours.
    • This fulfills the requirement of retaining the logs for 90 days.
  3. Write an expiration action that directs Amazon S3 to delete objects after 90 days:
    • An expiration action is set to automatically delete objects from the S3 Glacier Flexible Retrieval storage class after 90 days, ensuring that logs older than 90 days are removed, meeting the retention requirement.

This solution optimizes costs by using the appropriate storage classes based on the access patterns and retention periods, while still meeting the high availability, backup, and retention requirements.

Other options:

A. Transitioning objects to the S3 Standard storage class after 30 days would not provide cost optimization, as the S3 Standard storage class is designed for frequently accessed data.

C. Transitioning objects to the S3 Glacier Flexible Retrieval storage class after 30 days would not meet the high availability requirement for the first 30 days, as Glacier has higher retrieval times compared to S3 Standard or S3 Standard-IA.

D. Transitioning objects to the S3 One Zone-Infrequent Access (S3 One Zone-IA) storage class after 30 days would not provide the desired high availability, as S3 One Zone-IA stores data in a single Availability Zone, making it more susceptible to data loss in case of an Availability Zone failure.

Amazon AWS Certified Solutions Architect – Associate SAA-C03 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Associate SAA-C03 exam and earn Amazon AWS Certified Solutions Architect – Associate SAA-C03 certification.