Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 5 discussion

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?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
D2w
Highly Voted 2 years, 1 month ago
Selected Answer: C
Concurrent or at the same time key word for EFS
upvoted 48 times
...
mikey2000
Highly Voted 2 years ago
Ebs doesnt support cross az only reside in one Az but Efs does, that why it's c
upvoted 35 times
pbpally
1 year, 6 months ago
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.
upvoted 10 times
...
...
Guru4Cloud
Most Recent 1 month, 4 weeks ago
Selected Answer: C
The answer is C. Copy the data from both EBS volumes to Amazon EFS. Modify the application to save new documents to Amazon EFS. The current architecture is using two separate EBS volumes, one for each EC2 instance. This means that each instance only has a subset of the documents. When a user refreshes the website, the Application Load Balancer will randomly direct them to one of the two instances. If the user's documents are not on the instance that they are directed to, they will not be able to see them.
upvoted 5 times
...
Selected Answer: C
To ensure that users see all of their documents at once, the solutions architect should propose Option C: Copy the data from both EBS volumes to Amazon EFS. Modify the application to save new documents to Amazon EFS. Option C involves copying the data from both EBS volumes to Amazon Elastic File System (EFS), and modifying the application to save new documents to EFS. Amazon EFS is a fully managed, scalable file storage service that allows you to store and access files from multiple EC2 instances concurrently. By moving the data to EFS and modifying the application to save new documents to EFS, the application will be able to access all of the documents from a single, centralized location, ensuring that users see all of their documents at once. Overall, Option C is the most effective solution for ensuring that users see all of their documents at once.
upvoted 4 times
Buruguduystunstugudunstuy
1 year, 11 months ago
***WRONG*** Option A involves copying the data so both EBS volumes contain all the documents. This option would not solve the issue, as the data is still stored on two separate EBS volumes, and the application would still need to read from both volumes to retrieve all of the documents. Option B involves configuring the Application Load Balancer to direct a user to the server with the documents. This option would not solve the issue, as the user may not always be directed to the server that has the documents they are looking for. Option D involves configuring the Application Load Balancer to send the request to both servers and return each document from the correct server. This option would not be an efficient solution, as it would require the application to send requests to both servers and receive and process the responses from both servers, which could increase the load on the application.
upvoted 3 times
...
...
PhucVuu
2 months ago
Selected Answer: 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.
upvoted 10 times
...
IMTechguy
2 months ago
Option A is not a good solution because copying data to both volumes would not ensure consistency of the data. Option B would require the Load Balancer to have knowledge of which documents are stored on which server, which would be difficult to maintain. Option C is a viable solution, but may require modifying the application to use Amazon EFS instead of EBS. Option D is a good solution because it would distribute the requests to both servers and return the correct document from the correct server. This can be achieved by configuring session stickiness on the Load Balancer so that each user's requests are directed to the same server for consistency. Therefore, the correct answer is D.
upvoted 3 times
Anthony_Rodrigues
1 month ago
Sending requests to both servers can increase the response time since it would require checking two servers instead of one. Session stickiness only works if the user has data in only one of the servers; otherwise, it would continue missing data. Option C is not the best option, but is the one that fits better.
upvoted 1 times
...
...
PaulGa
3 months, 1 week ago
Ans C. Altho' A could do it, it would require a manual operation; the clue is "better scalability and availability" - EFS does that automatically
upvoted 1 times
...
aquarian_ngc
4 months, 1 week ago
Correct Answer is C
upvoted 2 times
...
williamsmith95
4 months, 4 weeks ago
Selected Answer: C
C is correct answer.
upvoted 3 times
...
ChymKuBoy
5 months, 2 weeks ago
Selected Answer: C
C for sure
upvoted 2 times
...
Ishu_
5 months, 3 weeks ago
Selected Answer: 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.
upvoted 3 times
...
Muavia
7 months, 1 week ago
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.
upvoted 1 times
...
TilTil
8 months, 1 week ago
Selected Answer: C
The alternative is to use Aurora or DynamoDB with master-slave replication, otherwise EFS is the most logical.
upvoted 1 times
...
TheFivePips
9 months, 1 week ago
Selected Answer: 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
upvoted 3 times
sidharthwader
9 months, 1 week ago
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
upvoted 1 times
...
...
ldruizsan
9 months, 1 week ago
Selected Answer: 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
upvoted 1 times
...
awsgeek75
10 months, 1 week ago
Selected Answer: C
ABD are not even possible without further deails C is EFS which is shared volume.
upvoted 1 times
...
A_jaa
10 months, 1 week ago
Selected Answer: C
Answer-c
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...