DVA-C02 exam dumps

DVA-C02 practice question 85 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 85

Select 2

A development team is building a photo-sharing application. The application will allow users to upload photos, which need to be stored durably and retrieved quickly. Additionally, metadata about each photo, such as upload timestamps and user information, must be searchable. Which combination of AWS cloud storage options is the most appropriate for this use case?

  1. A

    Amazon S3 for storing photos and Amazon DynamoDB for storing metadata

  2. B

    Amazon RDS for storing both photos and metadata

  3. C

    Amazon EFS for storing photos and Amazon ElastiCache for storing metadata

  4. D

    Amazon S3 for storing photos and Amazon Aurora for storing metadata

  5. E

    Amazon S3 Glacier for storing photos and Amazon DynamoDB for storing metadata

Show answer and explanation

Correct answers: A, D

Explanation

For a photo-sharing application, storing photos in Amazon S3 is the best choice due to its durability, scalability, and ability to store large objects. For metadata, Amazon DynamoDB is well-suited when low-latency queries are required, while Amazon Aurora can be used for structured metadata with complex query requirements. Glacier is unsuitable for this use case due to its archival nature, and neither RDS nor EFS are optimized for this kind of workload. Therefore, the correct answers are Amazon S3 for photos combined with either DynamoDB or Aurora for metadata.

  • A. Correct.

    Amazon S3 is ideal for storing photos as it is a durable, scalable object storage service. Amazon DynamoDB is a highly available NoSQL database that works well for storing and querying metadata such as timestamps and user information.

  • B. Incorrect.

    Amazon RDS is a relational database service that might be overkill for storing both photos and metadata. It is not optimized for storing large binary objects like photos.

  • C. Incorrect.

    Amazon EFS is a file storage service designed for shared file systems but is not optimized for object storage like photos. ElastiCache is an in-memory caching service, which is not suitable for durable metadata storage.

  • D. Correct.

    Amazon S3 is suitable for storing photos, while Amazon Aurora (a relational database) can efficiently handle structured metadata with complex queries or relationships.

  • E. Incorrect.

    Amazon S3 Glacier is designed for archival storage and is not suitable for quick retrieval of photos in a user-facing application. DynamoDB, while suitable for metadata, does not compensate for the slow retrieval of Glacier.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam