Course menuSOA-C03

Exams / SOA-C03 / Multi-AZ and fault tolerance / Question 1

SOA-C03 practice question: Multi-AZ and fault tolerance

Reliability and Business Continuity A free question from our original SOA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.

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.

  1. A. Convert the DB instance to a Single-AZ deployment with automated backups, so that the endpoint IP address never changes.
  2. B. Create a read replica in another Availability Zone and point the application at the replica's IP address during failover tests.
  3. C. Add an Elastic IP address to the DB instance so that the same address moves to the standby during each failover.
  4. D. Make the application honor DNS TTLs and re-resolve the DB endpoint name when it reconnects.
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.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.