AWS Certified Developer – Associate — Question 216
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 storing employee contact details in Amazon DynamoDB along with the object keys for photos in Amazon S3 allows for efficient search and retrieval using AWS APIs. Option A is incorrect as Base64 encoding may lead to increased data size and inefficiency. Option C does not directly address the storage of employee details and photos, and Option D involves more complexity and cost by using Amazon RDS and EFS instead of the more suitable combination of DynamoDB and S3.