Q86 — AWS SAA-C03 Ch.11

Question 86 of 100 | ← Chapter 11

Q786. A company is running a photo hosting service in the us-east-1 Region. The service enables users across multiple countries to upload and view photos. Some photos are heavily viewed for months, and others are viewed for less than a week. The application allows uploads of up to 20 MB for each photo. The service uses the photo metadata to determine which photos to display to each user.Which solution provides the appropriate user access MOST cost-effectively?

Correct Answer: B. Store the photos in the Amazon S3 Intelligent-Tiering storage class. Store the photo metadata and its S3 location in DynamoDB.

Explanation

To provide appropriate user access to a photo hosting service in a cost-effective manner, the most suitable solution is:B. Store the photos in the Amazon S3 Intelligent-Tiering storage class. Store the photo metadata and its S3 location in DynamoDB.Amazon S3 Intelligent-Tiering is a storage class that automatically optimizes costs by moving objects between two access tiers: frequent access and infrequent access. This storage class is well-suited for scenarios where the access patterns of objects may change over time, such as heavily viewed photos and those viewed for a shorter duration. It ensures that frequently accessed photos remain in the frequent access tier, while less frequently accessed photos are automatically moved to the infrequent access tier, reducing costs.Storing the photo metadata and its S3 location in DynamoDB allows for efficient retrieval and management of the metadata. DynamoDB provides fast and scalable access to the metadata, allowing the application to determine which photos to display to each user based on their preferences.Here's why the other options are not the most cost-effective choices:A. Storing photos in Amazon DynamoDB with DynamoDB Accelerator (DAX): DynamoDB is a NoSQL database service and is not designed for storing large binary objects like photos. Using DynamoDB for photo storage would be inefficient and costly. DynamoDB Accelerator (DAX) is a caching service for DynamoDB but does not address the storage or retrieval of the actual photo files.C. Storing photos in the Amazon S3 Standard storage class with S3 Lifecycle policy: While using the S3 Lifecycle policy to move older photos to the S3 Standard-Infrequent Access (S3 Standard-IA) storage class can help reduce costs, it may not provide optimal cost savings for frequently accessed photos. Also, using object tags for metadata management may not be as efficient as using a dedicated database service like DynamoDB.D. Storing photos in the Amazon S3 Glacier storage class with S3 Lifecycle policy: Storing photos in the S3 Glacier storage class is intended for long-term archival and retrieval and is not suitable for frequently accessed photos. Additionally, using Amazon OpenSearch Service for storing photo metadata may introduce additional complexity and costs without providing significant advantages over using DynamoDB.Therefore, the most cost-effective solution to provide appropriate user access to a photo hosting service is:B. Store the photos in the Amazon S3 Intelligent-Tiering storage class. Store the photo metadata and its S3 location in DynamoDB.