SAP-C02 practice question 35 of 35

An adventure company has launched a new feature on its mobile app. Users can use the feature to upload their hiking and ratting photos and videos…

Full set: 689 questions

Domain Continuous Improvement for Existing Solutions

An adventure company has launched a new feature on its mobile app. Users can use the feature to upload their hiking and ratting 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. Correct answer
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. Configure S3 Intelligent-Tiering on the S3 bucket.
Explanation

The S3 Intelligent-Tiering storage class is specifically designed for data with unknown, changing, or unpredictable access patterns. It automatically optimizes storage costs by moving objects between two access tiers—a frequent access tier and an infrequent access tier—based on monitoring access patterns. This process occurs without any performance impact, operational overhead, or retrieval fees, ensuring the required millisecond retrieval availability is maintained. This solution perfectly fits the scenario where most objects become infrequently accessed after 30 days, while some remain frequently accessed, providing the lowest possible cost for this mixed usage pattern.

Why Incorrect

B. S3 Glacier Deep Archive is designed for long-term archiving, and standard retrieval takes up to 12 hours, which violates the millisecond retrieval availability requirement.
C. Amazon EFS is a file storage service for EC2 instances and is generally more expensive than Amazon S3 for storing and serving static objects, making it unsuitable for cost optimization here.
D. The Cache-Control header is used to manage caching behavior in clients and CDNs like CloudFront. It optimizes data transfer costs and latency, but it does not affect the storage cost of objects in the S3 bucket. ---

References

1. Amazon S3 Intelligent-Tiering: According to the official AWS Documentation

"The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective access tier

without performance impact or operational overhead." It further states that it delivers "the same low latency and high throughput performance of S3 Standard."

Source: AWS Documentation

Amazon S3 User Guide

"Using Amazon S3 storage classes

" section "S3 Intelligent-Tiering."

2. S3 Glacier Retrieval Times: The AWS Documentation specifies the retrieval times for its archive classes. "For S3 Glacier Deep Archive

you can retrieve objects within 12 hours (Standard retrieval)." This clearly conflicts with the millisecond retrieval requirement.

Source: AWS Documentation

Amazon S3 User Guide

"Using Amazon S3 storage classes

" section "Archive retrieval options."

3. Amazon EFS Use Case: Amazon EFS is described as providing "a simple

scalable

fully managed elastic NFS file system for use with AWS Cloud services and on-premises resources." Its primary use case is for shared file system access from compute instances

not as a cost-effective replacement for object storage.

Source: AWS Documentation

Amazon Elastic File System User Guide

"What is Amazon Elastic File System?"

4. Cache-Control Header Functionality: The Amazon CloudFront Developer Guide explains that the Cache-Control max-age directive "lets you specify how long (in seconds) that you want an object to remain in the cache before CloudFront gets the object again from the origin server." This confirms its role in managing cache duration

not underlying storage costs.

Source: AWS Documentation

Amazon CloudFront Developer Guide

"Managing how long content stays in the cache (expiration)

" section "Using headers to control cache duration."

Scroll to Top