Q29 — AWS SAA-C03 Ch.10

Question 29 of 100 | ← Chapter 10

Q629. A company runs multiple Amazon EC2 Linux instances in a VPC across two Availability Zones. The instances host applications that use a hierarchical directory structure. The applications need to read and write rapidly and concurrently to shared storage.What should a solutions architect do to meet these requirements?

Correct Answer: B. Create an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system from each EC2 instance.

Explanation

To meet the requirements of rapid and concurrent shared storage access for multiple EC2 instances hosting applications with a hierarchical directory structure, the most suitable solution would be:B. Create an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system from each EC2 instance.Option B provides a scalable and highly available shared storage solution for the given requirements.Here's how it addresses the needs:\1. Amazon Elastic File System (Amazon EFS): Amazon EFS is a fully managed, scalable file storage service that provides concurrent access to multiple EC2 instances. It is designed to support high- performance workloads and is well-suited for scenarios that require rapid and concurrent access to shared storage.\2. Hierarchical directory structure: Amazon EFS supports a hierarchical directory structure, allowing you to organize your data in directories and subdirectories as needed by your applications. \3. Mounting EFS file system: You can mount the EFS file system from each EC2 instance, allowing all instances to access and write to the shared storage concurrently. This ensures that your applications can read from and write to the shared storage rapidly and concurrently.Option A is not the best choice:A. Using an Amazon S3 bucket would not be suitable for the given requirements. While S3 is a highly durable and scalable object storage service, it is not designed for concurrent access like a file system. It does not provide the same level of performance and file system semantics required for rapid and concurrent access to shared storage.Option C and Option D are not the best choices either:C. Creating a file system on a Provisioned IOPS SSD (io2) Amazon EBS volume and attaching it to all the EC2 instances would not provide concurrent access to shared storage. Each EC2 instance would have its own separate EBS volume, resulting in data silos and potential data consistency issues. D. Creating file systems on separate Amazon EBS volumes attached to each EC2 instance and synchronizing those volumes across instances would also not provide concurrent access to shared storage. It would require manual synchronization mechanisms and might introduce complexities and performance limitations.Therefore, the most suitable solution for rapid and concurrent shared storage access for multiple EC2 instances with a hierarchical directory structure is to create an Amazon EFS file system and mount it from each EC2 instance (option B).