A solar installer's scheduling application connects to an Amazon RDS for MySQL Multi-AZ DB instance. During a planned failover test, the database failed over in under two minutes, but the application kept timing out for 40 minutes until its servers were restarted. Investigation shows the application resolves the database endpoint name once at startup and then reuses the IP address. What should a CloudOps engineer recommend so that the application recovers automatically from future failovers?
Choose one answer.
Show the answer and explanation
Answer: D
Explanation
RDS Multi-AZ failover works by changing the DNS record behind the DB endpoint to the standby's address. Applications must connect by endpoint name and must not cache DNS results longer than the record's TTL, or they keep reaching the failed address. Long client-side DNS caches are a common reason failovers look longer than they are.