A company hosts a web application on a single Amazon EC2 instance that stores user-uploaded documents on an Amazon EBS volume. For better scalability and availability, the company added a second EC2 instance and EBS volume in another Availability Zone and placed both instances behind an Application Load Balancer. After this change, users report that each page refresh shows one subset of their documents or the other, but never all documents at once. What should a solutions architect propose so users see all of their documents at once?
Choose an answer
Tap an option to check your answer.
Correct answer: Copy the data from both EBS volumes to Amazon EFS. Modify the application to save new documents to Amazon EFS..
Why this is the answer
The problem arises because user documents are split across two separate EBS volumes, and EBS volumes are tied to a single Availability Zone. When a user's request is routed to one instance, they only see documents on that instance's attached EBS volume. Amazon EFS (Elastic File System) is a shared, scalable file system that can be mounted by multiple EC2 instances across different Availability Zones. By migrating the documents to EFS and configuring the application to use
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