Question

Difficulty: MediumAWS Storage Services

A company is migrating a containerized application to AWS. The application runs on multiple Amazon Elastic Container Service (Amazon ECS) tasks hosted on AWS Fargate. These tasks must concurrently share access to a common directory containing data files that are frequently updated. The storage solution must scale automatically as files are added or deleted, and must support standard Linux file system permissions. Which AWS storage service should the company select to meet these requirements?

  1. Amazon Elastic File System (Amazon EFS)Answer
  2. B
    Amazon Elastic Block Store (Amazon EBS)
  3. C
    Amazon Simple Storage Service (Amazon S3)
  4. D
    Amazon EC2 Instance Store

Answer

Amazon Elastic File System (Amazon EFS)
The correct answer is Amazon Elastic File System (Amazon EFS) because it is a fully managed, serverless file storage service that supports the Network File System (NFSv4) protocol. It allows concurrent read and write access from multiple AWS Fargate tasks and supports standard Linux file system permissions (POSIX), scaling automatically as files are added or removed.

Step-by-Step Solution

1
Analyze the requirements: concurrent shared access, automatic scaling, and support for standard Linux (POSIX) file system permissions.
Identify that the solution must be a shared file system (file storage) rather than block or object storage.
Block storage is typically restricted to a single instance, and object storage does not natively support standard POSIX file system permissions.
2
Evaluate the available AWS storage services against these requirements.
Select Amazon EFS because it offers elastic, serverless file storage that supports POSIX permissions and can be mounted concurrently by multiple Fargate tasks.
This matches all criteria: concurrent access, auto-scaling, and POSIX compliance.

Key Concept

AWS Shared File Storage vs Block and Object Storage
Estimated Time:1m 30s
Rate this question