Managing ElastiCache Read-Replica Node Promotion | Promoting ElastiCache Read-Replica Node to Primary | AWS Database Specialty Exam

Manually Promoting an ElastiCache Read-Replica Node to a Primary Node | AWS Certified Database Specialty Exam

Question

A database specialist would like to manually promote a read-replica node in an ElastiCache (Cluster Mode Disabled) cluster to a primary node.

What step must the specialist perform before they can promote the node to a primary?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer: B.

Option A is incorrect because Multi-AZ with Automatic Failover must first be disabled on an ElastiCache (Cluster Mode Disabled) cluster to promote a read replica node to a primary node manually.

Option B is CORRECT because Multi-AZ with Automatic Failover must first be disabled on an ElastiCache (Cluster Mode Disabled) cluster to promote a read replica node to a primary node manually.

Option C is incorrect because creating a manual backup is not required.

Instead, Multi-AZ with Automatic Failover must first be disabled on an ElastiCache (Cluster Mode Disabled) cluster to promote a read replica node to a primary node manually.

Option D is incorrect because it is not possible to stop an ElastiCache cluster.

Reference:

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

To promote a read-replica node to a primary node in an Amazon ElastiCache cluster mode disabled cluster, the database specialist must perform the following steps:

  1. Disable Multi-AZ with Automatic Failover: The read-replica node cannot be promoted to the primary node if Multi-AZ with Automatic Failover is enabled. To disable Multi-AZ with Automatic Failover, the specialist should go to the ElastiCache console, select the cluster, and then select the "Modify" option. In the "Additional Redis Settings" section, the specialist can uncheck the "Multi-AZ with Automatic Failover" option and then click "Save Changes."

  2. Ensure that the read-replica node is in a healthy state: Before promoting the read-replica node to a primary node, the specialist must ensure that the node is in a healthy state. They can do this by checking the node's status in the ElastiCache console.

  3. Promote the read-replica node to a primary node: Once the read-replica node is in a healthy state and Multi-AZ with Automatic Failover is disabled, the specialist can promote the node to a primary node. To do this, they can go to the ElastiCache console, select the read-replica node, and then select the "Promote" option. The specialist must confirm the action and then wait for the node to be promoted.

Note: Creating a manual backup or stopping the cluster is not necessary to promote a read-replica node to a primary node in an ElastiCache cluster mode disabled cluster.