exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 31 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 31
Topic #: 1
[All AWS Certified Developer Associate Questions]

A Developer is migrating an on-premises application to AWS. The application currently takes user uploads and saves them to a local directory on the server. All uploads must be saved and made immediately available to all instances in an Auto Scaling group.
Which approach will meet these requirements?

  • A. Use Amazon EBS and configure the application AMI to use a snapshot of the same EBS instance on boot.
  • B. Use Amazon S3 and rearchitect the application so all uploads are placed in S3.
  • C. Use instance storage and share it between instances launched from the same Amazon Machine Image (AMI).
  • D. Use Amazon EBS and file synchronization software to achieve eventual consistency among the Auto Scaling group.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
RicardoD
Highly Voted 3 years, 6 months ago
B is the answer Best approach is to have everything in S3, so any instance spun into the ASG can have access to the uploaded data
upvoted 23 times
...
yaizkazani
Highly Voted 3 years, 5 months ago
EFS is the only true answer !
upvoted 22 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: B
A) Eliminated - While EBS can be used for persistent storage, it is not designed to be shared between multiple instances easily
upvoted 2 times
sumanshu
4 months, 1 week ago
C) Eliminated- Instance storage (also known as ephemeral storage) is local to each instance and is not shared between instances. When an EC2 instance in an Auto Scaling group is terminated and replaced, any data in instance storage is lost
upvoted 1 times
sumanshu
4 months, 1 week ago
D) Eliminated - While EBS is suitable for persistent storage, synchronizing EBS volumes between multiple instances can be complex and would require additional file synchronization software
upvoted 1 times
...
...
...
JonasKahnwald
5 months, 2 weeks ago
Selected Answer: B
Amazon S3 is designed for high availability and durability, and it allows multiple instances to access the same data simultaneously. By rearchitecting the application to upload files directly to S3, you ensure that all instances in the Auto Scaling group can access the uploads immediately.
upvoted 1 times
...
Akbar263
1 year, 4 months ago
Although EFS would best option but since its not here S3 is the most correct among the rest
upvoted 1 times
...
sara_exam_topics
1 year, 6 months ago
Selected Answer: B
Using Amazon EBS with file synchronization software would require additional complexity and may not provide the immediate consistency required for uploads to be available to all instances in real-time. It could lead to synchronization delays and potential issues in an Auto Scaling group.
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: B
B is the right answer, be careful that the EC2 instances have a role with the right policy to write and read content from the specific bucket
upvoted 1 times
...
_charissi
1 year, 11 months ago
Selected Answer: B
S3 seems logical here
upvoted 1 times
...
imvb88
1 year, 11 months ago
Selected Answer: B
Of course B is obvious. But why are others wrong? A - need to reboot instance? -> out C - instance storage cannot shared between instances D - only achieve eventual consistency while the requirement is "immediately available"
upvoted 3 times
...
taliakoren
1 year, 11 months ago
Selected Answer: D
Amazon Elastic Block Store (Amazon EBS)
upvoted 2 times
...
MrTee
2 years ago
Selected Answer: B
the best approach to meet the requirements of the migration would be to use Amazon S3 and rearchitect the application so that all uploads are placed in S3
upvoted 1 times
...
RuTech
2 years ago
Selected Answer: B
I am going with B
upvoted 1 times
...
OtavioC
2 years ago
Selected Answer: B
A lot of effort on D, B is scalable and more secure for future deployments
upvoted 1 times
...
Yahya_Badawy
2 years ago
I guess D is the answer with EBS multi-attach: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html Volume can be shared ASAP to all EC2 instances in the ASG.
upvoted 1 times
...
qiaoli
2 years, 1 month ago
Selected Answer: B
The best solution should be EFS. But there is no EFS in the option. B is the next best. This is my thoughts With S3, there are efforts to modify the code, for new files, S3 has strong consistence. But for update/delete files, S3 has eventually consistence only. For D, data sync application could not make sure strong consistence. And there are a lot efforts for configuration. Advantage is that, there is no need to modify the code.
upvoted 1 times
...
dp8719823
2 years, 1 month ago
Selected Answer: B
B. Use Amazon S3 and rearchitect the application so all uploads are placed in S3. Storing user uploads in a local directory on the server is not a scalable or reliable solution, especially in a distributed environment with an Auto Scaling group. Amazon S3 provides a highly scalable and durable object storage service that is designed for storing and retrieving any amount of data from anywhere. By rearchitecting the application to use S3, all uploads can be saved to S3 and made immediately available to all instances in the Auto Scaling group. This approach provides scalability, durability, and availability, which are all important considerations when migrating to the cloud.
upvoted 1 times
...
alamamkota123
2 years, 3 months ago
Selected Answer: B
The eventual consistency rules out D.
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago