SAP-C02 Question 634
Single answerA company needs a shared file system for its web applications running on Amazon EC2 instances across multiple Availability Zones within a region. The system must provide high availability, durability, and support POSIX-compliant file access. The company also requires the ability to scale the storage capacity based on demand without needing to provision it in advance. Which AWS storage service should the company use?
- A
Amazon Elastic File System (Amazon EFS)
- B
Amazon Elastic Block Store (Amazon EBS)
- C
Amazon FSx for Windows File Server
- D
AWS Storage Gateway - Volume Gateway
Show answer and explanation
Correct answer: A
Explanation
The company requires a scalable, POSIX-compliant file system with high availability and durability to be shared across multiple EC2 instances in different Availability Zones. Amazon EFS meets all these requirements and can automatically scale storage based on demand. Other options, such as Amazon EBS, Amazon FSx for Windows File Server, and AWS Storage Gateway - Volume Gateway, do not meet the specific requirements for this scenario.
- A. Correct.
Amazon EFS is a managed, scalable, elastic file storage service that is highly available and durable. It supports POSIX-compliant file systems and is ideal for use cases where EC2 instances across multiple Availability Zones need shared access to the same file system.
- B. Incorrect.
Amazon EBS is block storage for individual EC2 instances. It does not support shared access across multiple instances or multiple Availability Zones unless you use additional solutions, which makes it unsuitable for this use case.
- C. Incorrect.
Amazon FSx for Windows File Server is a fully managed file storage service designed for Windows-based applications. It supports SMB protocol but is not POSIX-compliant, which eliminates it as a suitable option for this use case.
- D. Incorrect.
AWS Storage Gateway - Volume Gateway provides block storage for on-premises applications and is primarily intended for hybrid cloud use cases. It does not offer POSIX-compliant shared file system capabilities for EC2 instances.