AWS Certified Solutions Architect – Associate (SAA-C03) — Question 20
A company is hosting a web application on AWS using a single Amazon EC2 instance that stores user-uploaded documents in an Amazon EBS volume. For better scalability and availability, the company duplicated the architecture and created a second EC2 instance and EBS volume in another Availability Zone, placing both behind an Application Load Balancer. After completing this change, users reported that, each time they refreshed the website, they could see one subset of their documents or the other, but never all of the documents at the same time.
What should a solutions architect propose to ensure users see all of their documents at once?
Answer options
- A. Copy the data so both EBS volumes contain all the documents
- B. Configure the Application Load Balancer to direct a user to the server with the documents
- C. Copy the data from both EBS volumes to Amazon EFS. Modify the application to save new documents to Amazon EFS
- D. Configure the Application Load Balancer to send the request to both servers. Return each document from the correct server
Correct answer: C
Explanation
The correct answer is C because moving the documents to Amazon EFS allows both EC2 instances to access the same document storage simultaneously, ensuring all documents are visible to users at once. Option A would require constant synchronization and is not efficient. Option B does not resolve the issue of users not seeing all documents, and Option D would still lead to inconsistencies since each server holds a different subset of documents.