Which solution will meet these requirements?
Configure S3 Intelligent-Tiering on the S3 bucket.
Configure an S3 Lifecycle policy to transition image objects and video objects from S3 Standard to S3 Glacier Deep Archive after 30 days.
Replace Amazon S3 with an Amazon Elastic File System (Amazon EFS) file system that is mounted on Amazon EC2 instances.
Add a Cache-Control: max-age header to the S3 image objects and S3 video objects. Set the header to 30 days.
Explanations:
S3 Intelligent-Tiering automatically moves objects between two access tiers (frequent and infrequent) based on changing access patterns, making it cost-effective for data accessed infrequently after 30 days.
Transitioning to S3 Glacier Deep Archive would not maintain millisecond retrieval availability, as retrieval from Glacier can take several hours, which does not meet the requirement for quick access.
Replacing S3 with Amazon EFS would not be cost-effective for storing large amounts of data like photos and videos, and EFS is not optimized for infrequent access patterns.
Adding a Cache-Control header does not affect the storage cost or retrieval time for S3 objects; it simply controls the caching behavior of the content, but does not provide a storage cost optimization solution.