Exam SAA-C03 All QuestionsBrowse all questions from this exam
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?

    Correct Answer: C

    To ensure users see all of their documents at once, the best solution is to copy the data from both EBS volumes to Amazon EFS and modify the application to save new documents to Amazon EFS. Amazon Elastic File System (EFS) provides scalable, shared file storage that can be accessed by multiple EC2 instances across different Availability Zones. This will prevent the issue where users see different subsets of documents depending on which instance they are connected to, as both instances will have access to the same file system.

Discussion
D2wOption: C

Concurrent or at the same time key word for EFS

mikey2000

Ebs doesnt support cross az only reside in one Az but Efs does, that why it's c

pbpally

And just for clarification to others, you can have COPIES of the same EBS volume in one AZ and in another via EBS Snapshots, but don't confuse that with the idea of having some sort of global capability that has concurrent copying mechanisms.

williamsmith95Option: C

C is correct answer.

Ishu_Option: C

using Amazon EFS to provide a shared storage solution ensures that both EC2 instances can access the same documents, which resolves the issue of users seeing different subsets of documents depending on which instance they are connected to.

TheFivePipsOption: C

EBS volumes must be in the same AZ as the instances they are attached to. So you cannot share an EBS across AZs. Unless you plan to have two separate volumes in each AZ, the simpliest solution is to use EFS as a shared file system that can be used across both AZs

sidharthwader

Correct EBS can be used for one Az if you need the a solution which could be accessed across a AZ then go for File storage which is a regional service

wyejayOption: C

Copy the data from both EBS volumes to Amazon EFS. Modify the application to save new documents to Amazon EFS: Amazon Elastic File System (EFS) provides a simple, scalable, elastic file storage for use with AWS Cloud services and on-premises resources. It is designed to scale on demand to petabytes without disrupting applications, growing and shrinking automatically as files are added and removed. By moving the documents to EFS, both EC2 instances can access all the documents at the same time, resolving the issue.

aquarian_ngc

Correct Answer is C

ChymKuBoyOption: C

C for sure

adamslee

EBS can exist only one AZ. so C

Muavia

C is Correct whereas the purpose of Amazon EFS is to provide a scalable, shared, and fully managed file storage solution that seamlessly integrates with AWS services and meets the performance, availability, and durability requirements of modern applications.

TilTilOption: C

The alternative is to use Aurora or DynamoDB with master-slave replication, otherwise EFS is the most logical.

ldruizsanOption: C

If the idea is to keep documents in different places, then the only solution here is a file sharing system, EFS in this case

awsgeek75Option: C

ABD are not even possible without further deails C is EFS which is shared volume.

A_jaaOption: C

Answer-c

Ruffyit

https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#efs-regional-ec2

Hayden001

Proposed = new service = EFS

Ruffyit

Keyword "stores user-uploaded documents". Two EC2 instances behind Application Load Balancer. See https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#efs-regional-ec2 . In the diagram, Per Amazon EC2 in a different Availability zone, and Amazon Elastic File System support this case.