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 per file) from an Amazon S3 Standard bucket. The logs are analyzed frequently during the first days. After days, the logs are rarely accessed, but must be available for immediate retrieval during compliance audits for another days. After a total of 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.)
- Configure an S3 Lifecycle rule to transition the log files to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) days after creation.Cevap
- Create a Gateway VPC Endpoint for Amazon S3 in the VPC and associate it with the route tables of the private subnet.Cevap
- CConfigure an S3 Lifecycle rule to transition the log files to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) days after creation.
- DConfigure the private subnet's route table to route S3 traffic through a NAT Gateway.
- EConfigure an S3 Lifecycle rule to transition the log files to Amazon S3 Glacier Flexible Retrieval days after creation.
Cevap
Configure an S3 Lifecycle rule to transition the log files to Amazon S3 Standard-IA 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 days and creating a Gateway VPC Endpoint. Standard-IA is ideal because the logs are rarely accessed after days, require immediate (millisecond) retrieval, and are stored in Standard-IA for days (which exceeds the -day minimum). A Gateway VPC Endpoint is free and avoids the data processing fees of a NAT Gateway.
Adım Adım Çözüm
Anahtar Kavram
Amazon S3 Standard-IA storage tiering constraints and Gateway VPC Endpoints for S3 traffic optimization.