Skip to Content

DVA-C02: How to Store and Cache PHI Data Securely with AWS Services

Learn how to create an application that will store personal health information (PHI) securely with encryption at all times. Discover how to use AWS services to cache frequently accessed data and improve the performance of the application.

Table of Contents

Question

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?

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.

Answer

A. Create an Amazon ElastiCache for Redis instance. Enable encryption of data in transit and at rest. Store frequently accessed data in the cache.

Explanation

The correct answer is A. Create an Amazon ElastiCache for Redis instance. Enable encryption of data in transit and at rest. Store frequently accessed data in the cache.

This solution will meet the requirements because it will provide a fast, scalable, and secure caching layer for the application. Amazon ElastiCache is a service that provides in-memory data stores for applications. Amazon ElastiCache supports two open-source engines: Redis and Memcached. Redis is a key-value store that supports advanced data structures, such as lists, sets, sorted sets, hashes, and bitmaps. Redis also supports transactions, replication, and persistence. Memcached is a simple key-value store that supports basic data types, such as strings, numbers, and binary data.

The developer can create an Amazon ElastiCache for Redis instance and enable encryption of data in transit and at rest. Encryption of data in transit means that the data is encrypted when it is sent or received by the Redis instance. Encryption of data at rest means that the data is encrypted when it is stored on disk by the Redis instance. The developer can store frequently accessed data in the cache and use the Redis commands to sort or rank the cached datasets.

The other options are not optimal because:

B. Creating an Amazon ElastiCache for Memcached instance and enabling encryption of data in transit and at rest will not meet the requirements, as Memcached does not support encryption of data at rest or sorting or ranking of cached datasets.

C. Creating an Amazon RDS for MySQL read replica and connecting to it by using SSL will not meet the requirements, as a read replica is not a caching layer but a replication mechanism that provides high availability and scalability for the database. A read replica will also incur additional costs and maintenance overhead.

D. Creating an Amazon DynamoDB table and a DynamoDB Accelerator (DAX) cluster for the table will not meet the requirements, as DynamoDB is not a relational database but a NoSQL database that stores data in key-value or document format. DynamoDB also has different pricing and performance characteristics than RDS for MySQL. DAX is a caching service that works with DynamoDB to provide faster response times for read-intensive workloads, but it does not support encryption of data at rest or sorting or ranking of cached datasets.

The latest AWS Certified Developer – Associate DVA-C02 certification actual real practice exam question and answer (Q&A) dumps are available free, which are helpful for you to pass the AWS Certified Developer – Associate DVA-C02 exam and earn AWS Certified Developer – Associate DVA-C02 certification.

AWS Certified Developer - Associate DVA-C02 Exam Questions and Answers