AWS Certified DevOps Engineer – Professional — Question 41

A company has an application that is using a MySQL-compatible Amazon Aurora Multi-AZ DB cluster as the database. A cross-Region read replica has been created for disaster recovery purposes. A DevOps engineer wants to automate the promotion of the replica so it becomes the primary database instance in the event of a failure.
Which solution will accomplish this?

Answer options

Correct answer: D

Explanation

Option D is correct because it automates the promotion of the read replica and updates the endpoint in a centralized location, allowing the application to adjust seamlessly. Option A relies on Route 53 and SNS notifications, which adds unnecessary complexity and latency. Option B does not directly automate the process of promotion upon failure, and option C involves modifying the Cloud Formation template, which is not the most efficient method for handling failover.