AWS Certified Developer – Associate — Question 20
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?
Answer options
- 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.
Correct answer: B
Explanation
The correct answer is B because Amazon S3 is designed for scalable storage and allows immediate access to files from any instance, which is crucial for an Auto Scaling group. Option A is incorrect as EBS volumes are not shared between instances; they are tied to a single instance. Option C is also not suitable since instance storage is ephemeral and cannot be shared across instances. Option D does not provide immediate availability across the Auto Scaling group and relies on synchronization, which is not ideal for the requirement.