how will AWS ensure that a switch from DB to a standby replica will not affect access to the application?