AWS Certified Solutions Architect – Professional (SAP-C02) — Question 79
An adventure company has launched a new feature on its mobile app. Users can use the feature to upload their hiking and rafting photos and videos anytime. The photos and videos are stored in Amazon S3 Standard storage in an S3 bucket and are served through Amazon CloudFront.
The company needs to optimize the cost of the storage. A solutions architect discovers that most of the uploaded photos and videos are accessed infrequently after 30 days. However, some of the uploaded photos and videos are accessed frequently after 30 days. The solutions architect needs to implement a solution that maintains millisecond retrieval availability of the photos and videos at the lowest possible cost.
Which solution will meet these requirements?
Answer options
- A. Configure S3 Intelligent-Tiering on the S3 bucket.
- B. Configure an S3 Lifecycle policy to transition image objects and video objects from S3 Standard to S3 Glacier Deep Archive after 30 days.
- C. Replace Amazon S3 with an Amazon Elastic File System (Amazon EFS) file system that is mounted on Amazon EC2 instances.
- D. Add a Cache-Control: max-age header to the S3 image objects and S3 video objects. Set the header to 30 days.
Correct answer: A
Explanation
The correct answer is A because S3 Intelligent-Tiering automatically moves objects between two access tiers when access patterns change, which is ideal for the scenario of infrequent access after 30 days. Option B would result in longer retrieval times with S3 Glacier Deep Archive, which does not meet the requirement for millisecond retrieval. Option C is inappropriate as EFS is generally more expensive and not ideal for this use case. Option D only affects caching behavior and does not solve the cost issue related to storage.