A company is migrating a containerized application from on-premises Kubernetes to Amazon EKS. The application uses persistent volumes for shared configuration files that must be accessible by multiple pods across different Availability Zones. The company wants a fully managed storage solution that supports ReadWriteMany (RWX) access. Which storage option should be used?
Amazon EFS is a fully managed, elastic file system that supports the ReadWriteMany access mode and can be mounted by multiple pods across different Availability Zones. The EFS CSI driver integrates with Amazon EKS, allowing dynamic provisioning of persistent volumes. This meets the requirements for shared storage across AZs.
Why this answer
Amazon EFS with the EFS CSI driver is the correct choice because it is a fully managed, scalable file system that supports ReadWriteMany access and can be mounted by multiple pods across Availability Zones. It integrates natively with Amazon EKS, enabling dynamic provisioning and shared storage. The other options either do not support RWX, are not designed for Linux containers, or lack POSIX compliance.
Exam trap
The trap here is assuming that Amazon EBS can be used for shared storage across pods, but EBS volumes are single-AZ and cannot be attached to multiple instances simultaneously in read-write mode.