Q43 — AWS SAA-C03 Ch.14
Question 43 of 100 | ← Chapter 14
Q1043. A company is testing an application that runs on an Amazon EC2 Linux instance. A single 500 GB Amazon Elastic Block Store (Amazon EBS) General Purpose SSO (gp2) volume is attached to the EC2 instance. The company will deploy the application on multiple EC2 instances in an Auto Scaling group. All instances require access to the data that is stored in the EBS volume. The company needs a highly available and resilient solution that does not introduce significant changes to the application's code.Which solution will meet these requirements?
- A. Provision an EC2 instance that uses NFS server software. Attach a single 500 GB gp2 EBS volume to the instance.
- B. Provision an Amazon FSx for Windows File Server file system. Configure the file system as an SMB file store within a single Availability Zone.
- C. Provision an EC2 instance with two 250 GB Provisioned IOPS SSD EBS volumes.
- D. Provision an Amazon Elastic File System (Amazon EFS) file system. Configure the file system to use General Purpose performance mode. ✓
Correct Answer: D. Provision an Amazon Elastic File System (Amazon EFS) file system. Configure the file system to use General Purpose performance mode.
Explanation
To provide multiple EC2 instances in an Auto Scaling group with access to a shared data storage solution that is highly available and resilient, the best option is:D. Provision an Amazon Elastic File System (Amazon EFS) file system. Configure the file system to use General Purpose performance mode.Explanation:\1. Amazon EFS: - EFS is a fully managed, scalable, and elastic file storage service that is designed for use with Amazon EC2. It provides a shared file system that can be mounted on multiple EC2 instances simultaneously, making it suitable for applications running on an Auto Scaling group.\2. High Availability and Resilience: - EFS operates across multiple Availability Zones, providing built-in redundancy and high availability. This ensures that the data remains accessible even if one Availability Zone experiences an issue.\3. Minimal Code Changes: - EFS uses standard file system semantics, which means that applications can access it using familiar file system APIs. This minimizes the need for significant changes to the application code.Evaluation of Other Options:A. Provision an EC2 instance that uses NFS server software. Attach a single 500 GB gp2 EBS volume to the instance: - While this could work, it introduces additional management overhead and a single point of failure since only one EC2 instance would be serving the NFS. If that instance goes down, access to the data would be lost.B. Provision an Amazon FSx for Windows File Server file system. Configure the file system as an SMB file store within a single Availability Zone: - FSx is not necessary if the application does not require Windows-specific features. Additionally, configuring it within a single Availability Zone does not provide the high availability that EFS offers.C. Provision an EC2 instance with two 250 GB Provisioned IOPS SSD EBS volumes: - This option does not provide shared access to data across multiple instances. EBS volumes can only be attached to a single EC2 instance at a time, which does not meet the requirement for multiple instances accessing the same data.Conclusion:Option D is the most suitable solution for providing shared access to data across multiple EC2 instances in an Auto Scaling group, ensuring high availability and ease of integration with minimal code changes.