nerdexam
Amazon

DVA-C02 · Question #456

A developer is working on an ecommerce application that stores data in an Amazon RDS for MySQL cluster. The developer needs to implement a caching layer for the application to retrieve information abo

The correct answer is B. Create an Amazon ElastiCache for Redis cluster. Update the application code to use the. Amazon ElastiCache for Redis acts as a caching layer in front of RDS MySQL to serve frequently accessed product data with sub-millisecond latency.

Submitted by wei.xz· Mar 5, 2026Development with AWS Services

Question

A developer is working on an ecommerce application that stores data in an Amazon RDS for MySQL cluster. The developer needs to implement a caching layer for the application to retrieve information about the most viewed products. Which solution will meet these requirements?

Options

  • AEdit the RDS for MySQL cluster by adding a cache node. Configure the cache endpoint instead of
  • BCreate an Amazon ElastiCache for Redis cluster. Update the application code to use the
  • CCreate an Amazon DynamoDB Accelerator (DAX) cluster in front of the RDS for MySQL cluster.
  • DConfigure the RDS for MySQL cluster to add a standby instance in a different Availability Zone.

How the community answered

(47 responses)
  • A
    13% (6)
  • B
    74% (35)
  • C
    4% (2)
  • D
    9% (4)

Why each option

Amazon ElastiCache for Redis acts as a caching layer in front of RDS MySQL to serve frequently accessed product data with sub-millisecond latency.

AEdit the RDS for MySQL cluster by adding a cache node. Configure the cache endpoint instead of

Amazon RDS does not support adding cache nodes directly to the cluster; caching for RDS must be implemented externally using a service like ElastiCache.

BCreate an Amazon ElastiCache for Redis cluster. Update the application code to use theCorrect

ElastiCache for Redis is a managed in-memory data store that integrates with any database, including RDS for MySQL. The application code is updated to check the Redis cache before querying RDS, serving popular product data from memory and significantly reducing database load and response time.

CCreate an Amazon DynamoDB Accelerator (DAX) cluster in front of the RDS for MySQL cluster.

DynamoDB Accelerator (DAX) is an in-memory cache exclusively designed for DynamoDB; it cannot be placed in front of an RDS for MySQL cluster.

DConfigure the RDS for MySQL cluster to add a standby instance in a different Availability Zone.

Adding a standby RDS instance in another Availability Zone provides high availability and failover capability but does not provide a caching layer or improve read performance for frequently accessed data.

Concept tested: ElastiCache for Redis as caching layer in front of RDS MySQL

Source: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/WhatIs.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice