AWS Certified Developer – Associate (DVA-C02) — Question 34
A developer is creating an application that will store personal health information (PHI). The PHI needs to be encrypted at all times. An encrypted Amazon RDS for MySQL DB instance is storing the data. The developer wants to increase the performance of the application by caching frequently accessed data while adding the ability to sort or rank the cached datasets.
Which solution will meet these requirements?
Answer options
- A. Create an Amazon ElastiCache for Redis instance. Enable encryption of data in transit and at rest. Store frequently accessed data in the cache.
- B. Create an Amazon ElastiCache for Memcached instance. Enable encryption of data in transit and at rest. Store frequently accessed data in the cache.
- C. Create an Amazon RDS for MySQL read replica. Connect to the read replica by using SSL. Configure the read replica to store frequently accessed data.
- D. Create an Amazon DynamoDB table and a DynamoDB Accelerator (DAX) cluster for the table. Store frequently accessed data in the DynamoDB table.
Correct answer: A
Explanation
Option A is correct because Amazon ElastiCache for Redis supports data encryption in transit and at rest, and it is well-suited for caching and ranking frequently accessed datasets. Option B, while also capable of encryption, does not offer the same sorting and ranking capabilities. Option C does not provide caching for frequently accessed data, as a read replica is primarily for read scaling. Option D, although it offers caching, does not meet the requirement of maintaining encrypted PHI at all times as effectively as Option A.