Skip to Content

DVA-C02: How to Cache and Encrypt Personal Health Information on AWS

Learn how to create an application that will store personal health information (PHI) securely and efficiently on AWS. Discover the best solution for caching and encrypting frequently accessed data while adding the ability to sort or rank the cached datasets.

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:

  • Option 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. Memcached only supports encryption of data in transit by using Transport Layer Security (TLS). Memcached does not support encryption of data at rest or any advanced data structures or operations that can be used to sort or rank the cached datasets.
  • Option C: Creating an Amazon RDS for MySQL read replica and connecting to it by using SSL will not increase the performance of the application, as it will still involve reading from a relational database. A read replica is a copy of the primary RDS instance that can be used to offload read traffic from the primary instance. The developer can create a read replica and connect to it by using SSL to encrypt the data in transit. However, this solution will not increase the performance of the application, as it will still involve reading from a relational database, which may have higher latency and lower throughput than an in-memory data store.
  • Option D: Creating an Amazon DynamoDB table and a DynamoDB Accelerator (DAX) cluster for the table will not meet the requirements, as DynamoDB does not support storing personal health information (PHI). Amazon DynamoDB is a service that provides a fully managed NoSQL database for applications. DynamoDB Accelerator (DAX) is a service that provides a caching layer for DynamoDB tables. The developer can create a DynamoDB table and a DAX cluster for the table and store frequently accessed data in the DynamoDB table. However, this solution will not meet the requirements, as DynamoDB does not support storing personal health information (PHI), which is considered sensitive data that requires special compliance and security measures.

Therefore, option A is the best solution for providing a fast, scalable, and secure caching layer for the application.

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