Soru

Zorluk: KolayCost-Optimized Storage Tiering and Lifecycle Management

A smart home energy management company runs an analytical application on Amazon EC2 instances in a private subnet. The application downloads hourly aggregated consumption logs (average size 15 MB15\text{ MB} per file) from an Amazon S3 Standard bucket. The logs are analyzed frequently during the first 3535 days. After 3535 days, the logs are rarely accessed, but must be available for immediate retrieval during compliance audits for another 6060 days. After a total of 9595 days, the logs are no longer needed and can be deleted.

Which TWO actions should a solutions architect take to optimize storage and data transfer costs for this workload? (Select TWO.)

  1. Configure an S3 Lifecycle rule to transition the log files to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) 3535 days after creation.Cevap
  2. Create a Gateway VPC Endpoint for Amazon S3 in the VPC and associate it with the route tables of the private subnet.Cevap
  3. C
    Configure an S3 Lifecycle rule to transition the log files to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) 8080 days after creation.
  4. D
    Configure the private subnet's route table to route S3 traffic through a NAT Gateway.
  5. E
    Configure an S3 Lifecycle rule to transition the log files to Amazon S3 Glacier Flexible Retrieval 3535 days after creation.

Cevap

Configure an S3 Lifecycle rule to transition the log files to Amazon S3 Standard-IA 3535 days after creation, and create a Gateway VPC Endpoint for Amazon S3 in the VPC associated with the private subnet's route tables.
The correct options are configuring the S3 Standard-IA transition at 3535 days and creating a Gateway VPC Endpoint. Standard-IA is ideal because the logs are rarely accessed after 3535 days, require immediate (millisecond) retrieval, and are stored in Standard-IA for 6060 days (which exceeds the 3030-day minimum). A Gateway VPC Endpoint is free and avoids the data processing fees of a NAT Gateway.

Adım Adım Çözüm

1
Analyze storage access pattern, duration requirements, and file sizes.
The files are 15 MB15\text{ MB} (above the 128 KB128\text{ KB} S3 Standard-IA threshold), frequently accessed for 3535 days, then rarely accessed but require immediate retrieval for another 6060 days, and are deleted after 9595 days.
This determines that S3 Standard-IA is the correct target tier starting from day 3535 because it supports millisecond access and the files remain there for 6060 days, which is above the 3030-day minimum storage duration.
2
Evaluate network access path for private EC2 instances downloading from S3.
Data transfers from S3 through a NAT Gateway incur data processing fees, whereas a Gateway VPC Endpoint provides free, private connectivity.
This establishes that a Gateway VPC Endpoint is required to optimize data transfer costs.

Anahtar Kavram

Amazon S3 Standard-IA storage tiering constraints and Gateway VPC Endpoints for S3 traffic optimization.
Bu soruyu puanla