Q93 — AWS SAA-C03 Ch.15
Question 93 of 100 | ← Chapter 15
Q1193. A company runs an application on Amazon EC2 instances that have instance store volumes attached. The application uses Amazon Elastic File System (Amazon EFS) to store files that are shared across a cluster of Linux servers. The shared files are at least 1 GB in size.The company accesses the files often for the first 7 days after creation. The files must remain readily available after the first 7 days.The company wants to optimize costs for the application.Which solution will meet these requirements?
- A. Configure an AWS Storage Gateway Amazon S3 File Gateway to cache frequently accessed files locally. Store older files in Amazon S3.
- B. Move the files from Amazon EFS, and store the the files locally on each EC2 instance.
- C. Configure a lifecycle policy to move the files to the EFS Infrequent Access (lA) storage class after 7 days. ✓
- D. Deploy AWS DataSync to automatically move files older than 7 days to Amazon S3 Glacier Deep Archive.
Correct Answer: C. Configure a lifecycle policy to move the files to the EFS Infrequent Access (lA) storage class after 7 days.
Explanation
To optimize costs for the application while ensuring that frequently accessed files (at least 1 GB in size) are readily available for the first 7 days and remain available afterward, the best solution is:C. Configure a lifecycle policy to move the files to the EFS Infrequent Access (IA) storage class after 7 days.Analysis of Options:A. Configure an AWS Storage Gateway Amazon S3 File Gateway to cache frequently accessed files locally. Store older files in Amazon S3.Limitation: While this solution could work for caching frequently accessed files, it introduces additional complexity by requiring the use of AWS Storage Gateway and managing files in both Amazon S3 and the local cache. It also doesn't directly leverage the existing Amazon EFS setup, which is already being used to store shared files across the cluster of Linux servers.B. Move the files from Amazon EFS, and store the files locally on each EC2 instance. Limitation: Storing the files locally on each EC2 instance would eliminate the shared storage capability provided by Amazon EFS. This would make it difficult to share files across the cluster of Linux servers and could lead to data inconsistency and management challenges. C. Configure a lifecycle policy to move the files to the EFS Infrequent Access (IA) storage class after 7 days.Advantage: Amazon EFS offers the Infrequent Access (IA) storage class, which is designed for files that are accessed less frequently but still need to be readily available. By configuring a lifecycle policy to move files to the IA storage class after 7 days, the company can reduce storage costs while ensuring that files remain available. This solution leverages the existing Amazon EFS setup and provides a cost-effective way to manage file storage based on access patterns.D. Deploy AWS DataSync to automatically move files older than 7 days to Amazon S3 Glacier Deep Archive.Limitation: While Amazon S3 Glacier Deep Archive offers very low-cost storage, it is designed for long-term data archiving and has retrieval times that range from minutes to hours. This makes it unsuitable for files that need to remain readily available after the first 7 days, as the retrieval latency would be too high for frequent access.Conclusion:C. Configure a lifecycle policy to move the files to the EFS Infrequent Access (IA) storage class after 7 days. is the best solution to meet the company's requirements. It optimizes costs by leveraging the EFS IA storage class for files that are accessed less frequently after the initial 7-day period while ensuring that files remain readily available.