Topic 1 Question 5
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?
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 EFS. Modify the application to save new documents to Amazon EFS
Configure the Application Load Balancer to send the request to both servers. Return each document from the correct server
ユーザの投票
コメント(17)
- 正解だと思う選択肢: C
Concurrent or at the same time key word for EFS
👍 22D2w2022/10/10 Ebs doesnt support cross az only reside in one Az but Efs does, that why it's c
👍 15mikey20002022/11/15- 正解だと思う選択肢: C
Keyword: second EC2 instance and EBS volume. They could see one subset of their documents or the other, but never all of the documents at the same time.
EBS: attached to one instance (special EBS io1, io2 can attached to multiple instances but not much) EFS: can attached to multiple instances
A: Incorrect - EBS volumes don't have function to copy data from running EBS volume to running EBS volume. B: Incorrect - We can use sticky session to forward same user to the same server but when user lose the session the user might be forward to another server. C: Correct - Because 2 instance now point to one EFS data storage, user will see both data. D: Incorrect - We only use Traffic Mirroring to sent request to both servers. Application Load Balancer don't support send request to both servers because it's design it balance workload between server. And also ALB cannot combine document from both servers and return.
👍 8PhucVuu2023/04/03
シャッフルモード