What should a solutions architect propose to ensure users see all of their documents at once?
Copy the data so both EBS volumes contain all the documents.
Configure the Application Load Balancer to direct a user to the server with the documents.
Copy the data from both EBS volumes to Amazon Elastic File System (Amazon EFS). Modify the application to save new documents to Amazon Elastic File System (Amazon EFS).
Configure the Application Load Balancer to send the request to both servers. Return each document from the correct server.
Explanations:
Copying the data to both EBS volumes does not address the issue of synchronization and potential data inconsistency. If one server is updated, the other will not have the latest documents unless synchronized, which isn’t automated in this scenario.
Directing users to the server with the documents does not solve the problem of users seeing a consistent view of all documents. Each server will still only serve its own subset of documents.
Using Amazon EFS allows both EC2 instances to access the same file system, ensuring that all documents are available to users regardless of which instance they hit. This addresses the scalability and availability issue effectively.
Configuring the load balancer to send requests to both servers does not guarantee that users will see all documents. Each server will still serve its own subset of documents, leading to the same issue as before.