AWS Certified Developer – Associate (DVA-C02) — Question 8
A company is migrating legacy internal applications to AWS. Leadership wants to rewrite the internal employee directory to use native AWS services. A developer needs to create a solution for storing employee contact details and high-resolution photos for use with the new application.
Which solution will enable the search and retrieval of each employee's individual details and high-resolution photos using AWS APIs?
Answer options
- A. Encode each employee's contact information and photos using Base64. Store the information in an Amazon DynamoDB table using a sort key.
- B. Store each employee's contact information in an Amazon DynamoDB table along with the object keys for the photos stored in Amazon S3.
- C. Use Amazon Cognito user pools to implement the employee directory in a fully managed software-as-a-service (SaaS) method.
- D. Store employee contact information in an Amazon RDS DB instance with the photos stored in Amazon Elastic File System (Amazon EFS).
Correct answer: B
Explanation
Option B is correct because it effectively combines employee contact details in Amazon DynamoDB with the references to their high-resolution photos stored in Amazon S3, enabling efficient retrieval and search through AWS APIs. Option A is incorrect as Base64 encoding is not necessary and does not leverage S3 for photo storage. Option C does not directly store contact details or photos, and Option D complicates the storage by using Amazon RDS and Amazon EFS, which is not optimal for this use case.