Migrating Kubernetes Workloads and NFS Storage to AWS
Short answer
BE Transfer the information that is in the NFS share to an Amazon Elastic File System (Amazon EFS) volume. Upload the container images to Amazon Elastic Container Registry (Amazon ECR). Create an Amazon Elastic Kubernetes Service (Amazon EKS) cluster to run the applications. Configure each node of the cluster to mount the Amazon Elastic File System (Amazon EFS) volume at the required path for the container images.
Question
Key Takeaways
This question tests your ability to map on-premises infrastructure components to their AWS equivalents, with the common trap being the selection of EBS due to its familiarity as primary AWS storage.
Migrating stateful Kubernetes workloads and shared file storage from on-premises environments to AWS requires selecting managed services that support multi-node access and high availability. The developer community consistently confirms that pairing Amazon EFS for shared storage with Amazon EKS for orchestration, alongside Amazon ECR for container images, is the architecturally correct solution.
Common mistake: Candidates frequently select options involving Amazon EBS because they overlook its fundamental limitation: EBS is block-level storage designed for single-instance attachment, making it incapable of providing the concurrent multi-node access required by distributed Kubernetes pods.
Expert Analysis
Why the Answer Is Correct
Amazon EKS delivers a fully managed, highly available Kubernetes control plane that seamlessly replaces on-premises cluster management overhead. Amazon EFS functions as a fully managed NFS-compatible file system that natively supports concurrent read/write operations across multiple EC2 instances and Availability Zones, perfectly replicating the existing shared storage architecture. Uploading container images to Amazon ECR ensures secure, centralized image registry management that integrates directly with EKS node groups. Together, these three services provide a drop-in replacement that satisfies all stated architectural requirements.
Why the Other Options Are Wrong
Amazon EBS (Options A, C, and D) provides block storage that can only be attached to a single EC2 instance at a time, fundamentally breaking the shared storage model required by the containerized workload. Option C incorrectly proposes Amazon ECS, which contradicts the explicit requirement to maintain Kubernetes clusters. Even with advanced configurations, EBS lacks the seamless, cloud-native multi-attach capabilities that EFS provides out-of-the-box for distributed container orchestration. Selecting EBS would force the implementation of complex third-party clustering solutions, defeating the purpose of a rapid AWS migration.
Community Comment Notes
The voting community overwhelmingly selects BE, highlighting EFS as the definitive replacement for traditional NFS shares. Comment [1] accurately points to AWS documentation confirming EFS's compatibility with on-premises NFS workloads and reinforces the necessity of EKS. Comments [3] and [4] emphasize that EFS's inherent multi-node mounting capability is the deciding factor over block storage alternatives. This consensus demonstrates that recognizing strict service boundaries is essential for passing the Developer Associate exam.
Official Reference
- https://docs.aws.amazon.com/eks/latest/userguide/what-is-eks.html
- https://docs.aws.amazon.com/efs/latest/ug/aws-services-integrations.html
- https://docs.aws.amazon.com/AmazonECR/latest/userguide/what-is-ecr.html
These links open the official vendor documentation in a new tab.
Exam Strategy
Always map legacy infrastructure components directly to their AWS managed equivalents before considering custom implementations. Remember that Kubernetes workloads inherently require multi-node shared storage, making EFS the standard choice over single-instance EBS volumes.
Community Votes
100% of anonymous learners picked answer BE. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 5 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 5
-
KarBiswa 👍 4https://docs.aws.amazon.com/efs/latest/ug/efs-onpremises.html for NFS to EFS mounting and the question itself demands EKS.
-
hungnv6_rikkei 👍 2Amazon Elastic File System (Amazon EFS) volume and Amazon Elastic Kubernetes Service (Amazon EKS)
-
CrescentShared 👍 3EBS cannot be multi mounted.
-
monishvster 👍 3EFS is the key here
-
65703c1 👍 2BE is the correct answer.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DVA-C02 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DVA-C02 Practice Test →