Topic 1 Question 566
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?
Create an Amazon S3 bucket. Allow access from all the EC2 instances in the VPC.
Create an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system from each EC2 instance.
Create a file system on a Provisioned IOPS SSD (io2) Amazon Elastic Block Store (Amazon EBS) volume. Attach the EBS volume to all the EC2 instances.
Create file systems on Amazon Elastic Block Store (Amazon EBS) volumes that are attached to each EC2 instance. Synchronize the EBS volumes across the different EC2 instances.
ユーザの投票
コメント(12)
Correct B.
How is Amazon EFS different than Amazon S3? Amazon EFS provides shared access to data using a traditional file sharing permissions model and hierarchical directory structure via the NFSv4 protocol. Applications that access data using a standard file system interface provided through the operating system can use Amazon EFS to take advantage of the scalability and reliability of file storage in the cloud without writing any new code or adjusting applications.
Amazon S3 is an object storage platform that uses a simple API for storing and accessing data. Applications that do not require a file system structure and are designed to work with object storage can use Amazon S3 as a massively scalable, durable, low-cost object storage solution.
👍 9Josantru2023/07/31- 正解だと思う選択肢: B
The key reasons:
EFS provides a scalable, high performance NFS file system that can be concurrently accessed from multiple EC2 instances. It supports the hierarchical directory structure needed by the applications. EFS is elastic, growing and shrinking automatically as needed. It can be accessed from instances across AZs, meeting the shared storage requirement. S3 object storage (option A) lacks the file system semantics needed by the apps. EBS volumes (options C and D) are attached to a single instance and would require replication and syncing to share across instances. EFS is purpose-built for this use case of a shared file system across Linux instances and aligns best with the performance, concurrency, and availability needs.
👍 3Guru4Cloud2023/08/21 - 正解だと思う選択肢: B
C and D involve using Amazon EBS volumes, which are block storage. While they can be attached to EC2 instances, they might not provide the same level of shared concurrent access as Amazon EFS. Additionally, synchronizing EBS volumes across different EC2 instances (as in option D) can be complex and error-prone.
Therefore, for a scenario where multiple EC2 instances need to rapidly and concurrently access shared storage with a hierarchical directory structure, Amazon EFS is the best solution.
👍 2Bennyboy7892023/08/12
シャッフルモード