Q35 — AWS SAA-C03 Ch.17
Question 35 of 89 | ← Chapter 17
Q1335. A company hosts a website on Amazon EC2 instances that run Amazon Linux. The instances are behind an Application Load Balancer (ALB) and are part of an Auto Scaling group. Each instance uses Amazon EBS volumes to store product manuals.New instances often have outdated data.The new instances occasionally take up to 30 minutes to receive updates from an external source. The company must ensure that all instances have up-to-date product manuals. The company needs a solution that can adapt quickly to increased demand. The solution must not require modifications for the application code.Which solution will meet these requirements?
- A. Store the product manuals on instance store volumes that are attached to each EC2 instance.
- B. Store the product manuals in an Amazon S3 bucket. Configure the EC2 instances to download updates from the S3 bucket.
- C. Store the product manuals in an Amazon EFS volume. Mount the EFS volume on the EC2 instances. ✓
- D. Store the product manuals in an Amazon S3 bucket. Use the S3 Standard-Infrequent Access(S3 Standard-IA) storage class. Configure the EC2 instances to download updates from the S3 bucket.
Correct Answer: C. Store the product manuals in an Amazon EFS volume. Mount the EFS volume on the EC2 instances.
Explanation
Let's analyze each option to determine the best solution for ensuring that all Amazon EC2 instances have up - to - date product manuals, can adapt quickly to increased demand, and does not require application code modifications:Option A: Store the product manuals on instance store volumes that are attached to each EC2 instance Instance store volumes are ephemeral storage. This means that the data stored on them is lost when the instance is stopped, terminated, or fails. Since new instances are launched as part of the Auto Scaling group, any data stored on instance store volumes of previous instances will not be available to new instances. As a result, new instances will not have access to the up - to - date product manuals, and this option does not meet the requirement of having consistent and up - to - date data across all instances. So, this option is incorrect.Option B: Store the product manuals in an Amazon S3 bucket. Configure the EC2 instances to download updates from the S3 bucketWhile storing data in an S3 bucket provides durability and availability, each EC2 instance needs to download the product manuals from S3 whenever there is an update. In scenarios where there are a large number of instances or frequent updates, this can lead to a significant amount of network traffic and may cause delays in getting the updated data to all instances. Additionally, if multiple instances try to download the data simultaneously during a high - demand period, it could put a strain on the network bandwidth and potentially slow down the update process. So, this option may not be the most efficient for quick adaptation to increased demand.Option C: Store the product manuals in an Amazon EFS volume. Mount the EFS volume on the EC2 instancesAmazon EFS (Elastic File System) is a fully managed, scalable, and shared file system that can be mounted on multiple EC2 instances simultaneously. When product manuals are stored in an EFS volume, all EC2 instances that have the EFS volume mounted can access the same set of data in real - time. This means that any updates made to the product manuals in the EFS volume are immediately available to all instances. EFS is designed to scale automatically to meet the storage demands of the application, so it can quickly adapt to increased demand without requiring significant configuration changes. Also, since the application can access the data through the mounted file system, no application code modifications are needed. This option meets all the requirements.Option D: Store the product manuals in an Amazon S3 bucket. Use the S3 Standard - Infrequent Access (S3 Standard - IA) storage class. Configure the EC2 instances to download updates from the S3 bucket The S3 Standard - IA storage class is designed for data that is accessed less frequently but requires rapid access when needed. However, similar to Option B, using S3 (even with the IA storage class) requires each EC2 instance to download the data, which can lead to network congestion and delays during high - demand periods. The main focus of this option on the storage class does not address the issue of quickly and efficiently distributing the updated data to all instances. So, this option is not the best choice. Therefore, the solution that will meet the requirements is to store the product manuals in an Amazon EFS volume and mount the EFS volume on the EC2 instances. The answer is C.