A company is deploying a new application to Amazon EKS with AWS Fargate. The application needs persistent storage that is highly available, fault tolerant, and shared among multiple containers. Which solution meets these requirements with the LEAST operational overhead?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon Elastic File System (Amazon EFS) file system. Register the file system in a StorageClass object on the EKS cluster. Use the same file system for all containers..
Why this is the answer
Amazon EFS provides a scalable, highly available, and shared file system that can be mounted by multiple Fargate containers simultaneously, making it ideal for persistent storage in EKS with Fargate. Registering it as a StorageClass allows dynamic provisioning, minimizing operational overhead. The option suggesting EBS volumes with Multi-Attach is incorrect because Fargate does not directly support EBS Multi-Attach for shared storage across multiple pods, and EBS is zonal, not inherently shared across multiple containers in different pods without complex solutions. The option suggesting a single EBS volume for all containers is incorrect because EBS volumes are typically attached to a single EC2 instance (or Fargate task in a limited context) and are not designed for shared access across multiple independent containers or pods. The option involving multiple EFS file systems and an AWS Lambda function for synchronization is overly complex and introduces significant operational overhead, defeating the purpose of a simple, shared storage solution. EFS is inherently highly available and shared across Availability Zones within a region.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed