A company has an Amazon RDS for MySQL DB instance with read replicas. The primary DB instance fails. What is the correct procedure to promote a read replica to become the new primary?
Trap 1: Modify the read replica to be a Multi-AZ deployment and failover…
Modifying to Multi-AZ does not promote the replica; it creates a standby in another AZ.
Trap 2: RDS automatically fails over to the read replica within 5 minutes.
RDS does not automatically fail over to a read replica; you must manually promote.
Trap 3: Delete the primary and the read replica will automatically become…
Deleting the primary does not promote the replica; the replica remains a replica.
- A
Modify the read replica to be a Multi-AZ deployment and failover will occur.
Why wrong: Modifying to Multi-AZ does not promote the replica; it creates a standby in another AZ.
- B
RDS automatically fails over to the read replica within 5 minutes.
Why wrong: RDS does not automatically fail over to a read replica; you must manually promote.
- C
Manually promote the read replica to a standalone DB instance.
This is the correct procedure to make the read replica the new primary.
- D
Delete the primary and the read replica will automatically become the primary.
Why wrong: Deleting the primary does not promote the replica; the replica remains a replica.