A company is developing a hybrid web application on Amazon EC2. The application has two distinct storage requirements. First, it needs a storage solution to host static user profile images that must be highly durable, scalable, and directly accessible via public web URLs. Second, it needs a persistent, low-latency block storage volume for database logs that is dedicated to a single EC2 instance and must retain data when the instance is stopped. Which two AWS storage services should the company select to meet these requirements? (Select TWO)
- Amazon Simple Storage Service (Amazon S3) to host the static user profile imagesAnswer
- Amazon Elastic Block Store (Amazon EBS) to store the persistent database logsAnswer
- CAmazon Elastic File System (Amazon EFS) to store the low-latency database logs
- DAmazon EC2 Instance Store to store the database logs that must persist when stopped
- EAWS Storage Gateway to host the static user profile images for web access
Answer
Amazon Simple Storage Service (Amazon S3) to host the static user profile images, and Amazon Elastic Block Store (Amazon EBS) to store the persistent database logs
The correct options are the ones recommending Amazon Simple Storage Service (Amazon S3) and Amazon Elastic Block Store (Amazon EBS). Amazon S3 is the ideal solution for storing and retrieving static files like user profile images due to its high durability, scalability, and ability to serve objects over public URLs. Amazon EBS is the correct choice for the database logs because it provides low-latency, persistent block storage volumes that are dedicated to a single EC2 instance and retain data even if the instance is stopped.
Step-by-Step Solution
Key Concept
Selecting appropriate AWS storage services (Amazon S3 for object storage and Amazon EBS for persistent block storage) based on workload requirements.